mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-03 21:16:55 +00:00
Only publish if its the master branch
This commit is contained in:
Vendored
+10
@@ -8,6 +8,16 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("publish") {
|
||||
when {
|
||||
branch "master"
|
||||
}
|
||||
steps {
|
||||
withGradle {
|
||||
sh "./gradlew publish --no-daemon"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
||||
Reference in New Issue
Block a user