Let me out!

- Add release parameter to jenkinsfile
- Add timeout to prevent locking up ci for ages if a build freezes
This commit is contained in:
Jozufozu 2025-03-01 21:55:49 -08:00
parent 73341320ac
commit f116772c76
2 changed files with 14 additions and 1 deletions

13
Jenkinsfile vendored
View file

@ -8,6 +8,15 @@ pipeline {
jdk "jdk-17.0.1"
}
options {
// Sometimes builds freeze, but this doesn't have to be super aggressive.
timeout(time: 30, unit: 'MINUTES')
}
parameters {
booleanParam(name: 'RELEASE', defaultValue: false, description: 'Publish artifacts without a build number.')
}
stages {
stage('Setup') {
@ -22,6 +31,10 @@ pipeline {
stage('Build') {
environment {
RELEASE="${params.RELEASE}"
}
steps {
withCredentials([
// build_secrets is parsed in SubprojectExtension#loadSecrets

View file

@ -8,7 +8,7 @@ mod_homepage = https://github.com/Engine-Room/Flywheel
# Flywheel metadata
flywheel_id=flywheel
flywheel_name=Flywheel
flywheel_version=1.0.1-beta
flywheel_version=1.0.1
flywheel_description=An overhauled entity and block entity rendering API.
# Vanillin metadata
vanillin_id=vanillin