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