mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-11 03:30:19 +00:00
Only publish if its the master branch
This commit is contained in:
parent
85eff9a26d
commit
804e0af63c
1 changed files with 10 additions and 0 deletions
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 {
|
||||||
|
|
Loading…
Reference in a new issue