This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch it_runs
in repository https://gitbox.apache.org/repos/asf/maven.git

commit e301874ecfa6985eea1839d6fd780b2da3ffe7ed
Author: olivier lamy <ol...@apache.org>
AuthorDate: Mon Jun 1 20:26:45 2020 +1000

    it git branch to run as a parameter
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile.its | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile.its b/Jenkinsfile.its
index d1a6823..cb09738 100644
--- a/Jenkinsfile.its
+++ b/Jenkinsfile.its
@@ -5,6 +5,10 @@ pipeline {
     buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '5'))
     timeout(time: 180, unit: 'MINUTES')
   }
+  parameters {
+    string( defaultValue: 'master', description: 'Core Its branch (default 
master)',
+            name: 'ITS_BRANCH' )
+  }
   stages {
     stage("Build Maven Core") {
       steps {
@@ -18,7 +22,7 @@ pipeline {
     }
     stage( "Run Maven Integration Testing" ) {
       steps {
-        git url: "https://github.com/apache/maven-integration-testing.git";, 
branch: "master"
+        git url: "https://github.com/apache/maven-integration-testing.git";, 
branch: "${ITS_BRANCH}"
 //        unstash name: 'apache-maven-bin.zip'
 //        unstash name: 'wrapperDistroDir'
 //        unstash name: 'mavenWrapper'

Reply via email to