|
@@ -1,19 +0,0 @@
|
|
-pipeline {
|
|
|
|
- agent any
|
|
|
|
- stages {
|
|
|
|
-
|
|
|
|
- stage ('Build') {
|
|
|
|
- when {
|
|
|
|
- expression { env.BRANCH_NAME == '3.x' || env.BRANCH_NAME == '3.x-unstable' }
|
|
|
|
- }
|
|
|
|
- steps {
|
|
|
|
- sh "rm -rf build/libs/"
|
|
|
|
- sh "chmod +x gradlew"
|
|
|
|
- sh "./gradlew clean --stacktrace"
|
|
|
|
- sh "./gradlew build publish --refresh-dependencies --stacktrace"
|
|
|
|
-
|
|
|
|
- archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|