diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index bbd1f88..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,40 +0,0 @@ -pipeline { - agent none - stages { - stage('Select micro services') { - input { - message "Select all micro services to deploy" - ok "All selected!" - parameters { - choice(name: 'MS1', choices: ['1.1.0', '1.2.0', '1.3.0'], description: 'input ms') - choice(name: 'MS2', choices: ['1.1.0', '1.2.0', '1.3.0'], description: 'input ms') - choice(name: 'MS3', choices: ['1.1.0', '1.2.0', '1.3.0'], description: 'input ms') - } - } - steps { - script { - echo "Hello, ${MS1}. Hello, ${MS2}. Hello, ${MS3}." - MS1_TO_DEPLOY = MS1 - MS2_TO_DEPLOY = MS2 - env.MS3_TO_DEPLOY = MS3 - } - } - } - stage('Select single service') { - input { - message "Select single micro services to deploy?" - parameters { - choice(name: 'MS5', choices: ['1.1.0', '1.2.0', '1.3.0'], description: 'second param with single option') - } - } - steps { - script { - echo "Hello, ${MS5}." - env.MS5_TO_DEPLOY = MS5 - echo "${MS1_TO_DEPLOY}" - echo "${MS5_TO_DEPLOY}" - } - } - } - } -}