mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-25 20:58:34 +01:00
Update Jenkinsfile
only publish on master
This commit is contained in:
parent
c3a02a7f38
commit
cb58b9757e
1 changed files with 4 additions and 1 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -20,6 +20,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Publish') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh './gradlew publish --no-daemon'
|
||||
}
|
||||
|
@ -29,4 +32,4 @@ pipeline {
|
|||
environment {
|
||||
local_maven = '/var/www/maven'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue