Trigger builds of Geyser-Fabric and GeyserAndroid after a build success (#1815)

* Trigger builds of Geyser-Fabric and GeyserAndroid after a build success

* Enable GeyserAndroid and fix paths

* Only build for master

* Disable propagation of build results

* Don't wait for sequential builds
This commit is contained in:
rtm516 2021-01-07 12:21:35 +00:00 committed by GitHub
parent 92c86cf15b
commit bbbb7034f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
Jenkinsfile vendored
View file

@ -69,5 +69,13 @@ pipeline {
discordSend description: "**Build:** [${currentBuild.id}](${env.BUILD_URL})\n**Status:** [${currentBuild.currentResult}](${env.BUILD_URL})\n${changes}\n\n[**Artifacts on Jenkins**](https://ci.opencollab.dev/job/GeyserMC/job/Geyser)", footer: 'Open Collaboration Jenkins', link: env.BUILD_URL, successful: currentBuild.resultIsBetterOrEqualTo('SUCCESS'), title: "${env.JOB_NAME} #${currentBuild.id}", webhookURL: DISCORD_WEBHOOK
}
}
success {
script {
if (env.BRANCH_NAME == 'master') {
build propagate: false, wait: false, job: 'GeyserMC/Geyser-Fabric/java-1.16'
build propagate: false, wait: false, job: 'GeyserMC/GeyserAndroid/master'
}
}
}
}
}