From 57b5004ec86b06a98d2ff67d52d910601f5bddef Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Fri, 6 Nov 2020 10:39:13 +0000 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f2949fe..846b105 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,10 +2,6 @@ def gv pipeline { agent any - parameters { - choice(name: 'VERSION', choices: ['1.1.0', '1.2.0', '1.3.0'], description: '') - booleanParam(name: 'executeTests', defaultValue: true, description: '') - } stages { stage("init") { steps { @@ -22,11 +18,6 @@ pipeline { } } stage("test") { - when { - expression { - params.executeTests - } - } steps { script { gv.testApp() @@ -36,10 +27,7 @@ pipeline { stage("deploy") { steps { script { - env.ENV = input message: "Select the environment to deploy to", ok: "Done", parameters: [choice(name: 'ONE', choices: ['dev', 'staging', 'prod'], description: '')] - gv.deployApp() - echo "Deploying to ${ENV}" } } }