mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 11:53:29 +01:00
publish this
This commit is contained in:
parent
16c7a67a13
commit
539fdc2be4
1 changed files with 12 additions and 0 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -19,5 +19,17 @@ pipeline {
|
||||||
archiveArtifacts 'build/libs/**.jar'
|
archiveArtifacts 'build/libs/**.jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Publish') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh './gradlew publish --no-daemon'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
local_maven = '/var/www/maven'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue