lith 3 years ago
parent
commit
5aa8cec551
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Publish/DevOps/jenkins-bash/release.jenkins.pipeline

+ 10 - 0
Publish/DevOps/jenkins-bash/release.jenkins.pipeline

@@ -12,6 +12,16 @@ pipeline {
         NUGET_PATH = "/root/docker-data/dev/jenkins/jenkins_home/workspace/.nuget"
     }
     stages {
+        stage('(x.0)confirm') { 
+            agent any 
+            steps {
+                timeout(10) {
+                    script { 
+                        inputData = input message: "Are you sure to build and release?", ok: 'Proceed?', parameters: [string(defaultValue: '', description: 'text comment', name: 'comment')], submitterParameter: 'APPROVER' 
+                    } 
+                }
+            } 
+        }
         stage('(x.1)svn-update') { 
             agent any 
             steps {