mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-03-04 06:34:40 +01:00
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:
parent
73341320ac
commit
f116772c76
2 changed files with 14 additions and 1 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -8,6 +8,15 @@ pipeline {
|
||||||
jdk "jdk-17.0.1"
|
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 {
|
stages {
|
||||||
|
|
||||||
stage('Setup') {
|
stage('Setup') {
|
||||||
|
@ -22,6 +31,10 @@ pipeline {
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
|
||||||
|
environment {
|
||||||
|
RELEASE="${params.RELEASE}"
|
||||||
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
// build_secrets is parsed in SubprojectExtension#loadSecrets
|
// build_secrets is parsed in SubprojectExtension#loadSecrets
|
||||||
|
|
|
@ -8,7 +8,7 @@ mod_homepage = https://github.com/Engine-Room/Flywheel
|
||||||
# Flywheel metadata
|
# Flywheel metadata
|
||||||
flywheel_id=flywheel
|
flywheel_id=flywheel
|
||||||
flywheel_name=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.
|
flywheel_description=An overhauled entity and block entity rendering API.
|
||||||
# Vanillin metadata
|
# Vanillin metadata
|
||||||
vanillin_id=vanillin
|
vanillin_id=vanillin
|
||||||
|
|
Loading…
Add table
Reference in a new issue