diff --git a/Jenkinsfile b/Jenkinsfile index e0ca064..b3daced 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,18 +1,21 @@ -node { - checkout scm +pipeline { + agent any stages { + stage("checkout") { + steps { + checkout scm + } + } stage("1.11.2") { steps { sh './gradlew :1.11.2:setupCiWorkspace :1.11.2:clean :1.11.2:build' archive '1.11.2/build/libs/*jar' - } } stage("1.12.2") { steps { sh './gradlew :1.12.2:setupCiWorkspace :1.12.2:clean :1.12.2:build' archive '1.12.2/build/libs/*jar' - } } }