mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 09:07:37 +00:00
Only publish if its the master branch
This commit is contained in:
parent
85eff9a26d
commit
804e0af63c
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -8,6 +8,16 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("publish") {
|
||||
when {
|
||||
branch "master"
|
||||
}
|
||||
steps {
|
||||
withGradle {
|
||||
sh "./gradlew publish --no-daemon"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
Loading…
Reference in New Issue
Block a user