yarn/Jenkinsfile

16 lines
229 B
Groovy

node {
stage 'Checkout'
checkout scm
stage 'Build'
sh "rm -rf build/libs/"
sh "chmod +x gradlew"
sh "./gradlew build publish --refresh-dependencies"
stage "Archive artifacts"
archive 'build/libs/*'
}