fabric/Jenkinsfile
2019-04-24 00:54:15 +02:00

19 lines
434 B
Groovy

pipeline {
agent any
stages {
stage ('Build') {
when {
branch 'master'
}
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
}
}
}
}