Only publish if its the master branch

This commit is contained in:
Telesphoreo 2022-04-07 01:55:59 -05:00
parent 85eff9a26d
commit 804e0af63c

10
Jenkinsfile vendored
View File

@ -8,6 +8,16 @@ pipeline {
} }
} }
} }
stage("publish") {
when {
branch "master"
}
steps {
withGradle {
sh "./gradlew publish --no-daemon"
}
}
}
} }
post { post {
always { always {