diff --git a/Jenkinsfile b/Jenkinsfile index 177a116..99d3602 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,18 +27,18 @@ node('haimaxy-jnlp') { } stage('YAML') { echo "5. Change YAML File Stage" - def userInput = input( - id: 'userInput', - message: 'Choose a deploy environment', - parameters: [ - [ - $class: 'ChoiceParameterDefinition', - choices: "Dev\nQA\nProd", - name: 'Env' - ] - ] - ) - echo "This is a deploy step to ${userInput.Env}" + //def userInput = input( + // id: 'userInput', + // message: 'Choose a deploy environment', + // parameters: [ + // [ + // $class: 'ChoiceParameterDefinition', + // choices: "Dev\nQA\nProd", + // name: 'Env' + // ] + // ] + //) + //echo "This is a deploy step to ${userInput.Env}" sh "sed -i 's//${build_tag}/' k8s.yaml" sh "sed -i 's//${env.BRANCH_NAME}/' k8s.yaml" }