Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
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
Dieser Commit ist enthalten in:
Ursprung
92c86cf15b
Commit
bbbb7034f6
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren