15 lines
196 B
Text
15 lines
196 B
Text
|
node {
|
||
|
stage 'Checkout'
|
||
|
|
||
|
checkout scm
|
||
|
|
||
|
stage 'Build'
|
||
|
|
||
|
sh "rm -rf build/libs/"
|
||
|
sh "chmod +x gradlew"
|
||
|
sh "./gradlew build"
|
||
|
|
||
|
stage "Archive artifacts"
|
||
|
|
||
|
sh "./gradlew upload"
|
||
|
}
|