Jenkins test

This commit is contained in:
Sebastien 2018-03-01 13:10:44 +01:00
parent 7d7cdaffdf
commit b12383b97a

4
Jenkinsfile vendored
View File

@ -11,8 +11,6 @@ node {
}
}
git url: 'https://github.com/BrokenFire/BrokenDiscordBot.git', branch: 'env.BRANCH_NAME'
}
stage('Gradle Buil'){
build job: 'Bot Discord Gradle', wait: true
@ -29,7 +27,7 @@ node {
* Second, the 'latest' tag.
* Pushing multiple tags is cheap, as all the layers are reused. */
script {
if (${env.BRANCH} == 'master') {
if (env.BRANCH_NAME == 'master') {
app.push()
} else {
app.push("devel")