Skip to content

Commit ad1414f

Browse files
committed
Added parameters
1 parent 5dadf1d commit ad1414f

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,21 @@ pipeline {
3030
disableConcurrentBuilds()
3131
}
3232

33+
parameters {
34+
choice(name: 'nodeLabel', choices: ['ubuntu', 'arm', 'Windows'])
35+
choice(name: 'jdkVersion', choices: ['jdk_11_latest', 'jdk_17_latest', 'jdk_21_latest', 'jdk_25_latest', 'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_25_latest_windows'])
36+
booleanParam(name: 'deployEnabled', defaultValue: true)
37+
booleanParam(name: 'sonarEnabled', defaultValue: true)
38+
booleanParam(name: 'testsEnabled', defaultValue: true)
39+
}
40+
3341
triggers {
3442
cron('@weekly')
3543
pollSCM('@daily')
3644
}
3745

3846
stages {
39-
stage('Initialization') {
47+
stage('Initialization') {
4048
steps {
4149
echo "running on ${env.NODE_NAME}"
4250
echo 'Building branch ' + env.BRANCH_NAME
@@ -82,7 +90,6 @@ pipeline {
8290
}
8391
}
8492

85-
8693
stage('Build JDK 25 Linux') {
8794
tools {
8895
jdk "jdk_25_latest"
@@ -131,6 +138,7 @@ pipeline {
131138
}
132139
}
133140

141+
/*
134142
stage ('Build Installers') {
135143
options {
136144
timeout(time: 2, unit: 'HOURS')
@@ -235,6 +243,7 @@ pipeline {
235243
}
236244
}
237245
}
246+
*/
238247
}
239248

240249
post {

0 commit comments

Comments
 (0)