mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +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') {
|
stage('Publish') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew publish --no-daemon'
|
sh './gradlew publish --no-daemon'
|
||||||
}
|
}
|
||||||
|
@ -29,4 +32,4 @@ pipeline {
|
||||||
environment {
|
environment {
|
||||||
local_maven = '/var/www/maven'
|
local_maven = '/var/www/maven'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue