Wrong Jenkinsfile

This commit is contained in:
Sebastien 2018-03-01 12:35:15 +01:00
parent 73ca3a2e86
commit c7ff7b7ebd

4
Jenkinsfile vendored
View File

@ -2,7 +2,7 @@ node {
def app def app
stage('Clone') { // for display purposes stage('Clone') { // for display purposes
// Get some code from a GitHub repository // Get some code from a GitHub repository
git 'https://github.com/BrokenFire/BrokenDiscordBot.git' git url: 'https://github.com/BrokenFire/BrokenDiscordBot.git', branch: 'devel'
} }
stage('Gradle Buil'){ stage('Gradle Buil'){
build job: 'Bot Discord Gradle', wait: true build job: 'Bot Discord Gradle', wait: true
@ -18,7 +18,7 @@ node {
* First, the incremental build number from Jenkins * First, the incremental build number from Jenkins
* Second, the 'latest' tag. * Second, the 'latest' tag.
* Pushing multiple tags is cheap, as all the layers are reused. */ * Pushing multiple tags is cheap, as all the layers are reused. */
app.push() app.push("devel")
} }
stage('Cleaning'){ stage('Cleaning'){