Skip to content

Commit ec4081f

Browse files
committed
fix jenkins scripts
1 parent 9517718 commit ec4081f

11 files changed

Lines changed: 89 additions & 89 deletions

src/jenkins/branches

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ pipeline {
66
timestamps()
77
timeout(time: 140, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openjdk-11+28'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean verify spotbugs:spotbugs checkstyle:checkstyle pmd:pmd pmd:cpd javadoc:javadoc -U -P without-library-and-huge-tests --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', sourceDirectory: 'src', tools: [
23-
java()]
24-
step([$class: 'Mailer',
25-
notifyEveryUnstableBuild: true,
26-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', sourceDirectory: 'src', tools: [
22+
java()]
23+
step([$class: 'Mailer',
24+
notifyEveryUnstableBuild: true,
25+
recipients: "rbri@rbri.de"])
26+
}
2727
}
2828
}
2929
}

src/jenkins/huge-tests-a-c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 35, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-a-c --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-d-g

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 30, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-d-g --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-element-closes-element

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 35, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-closes --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-encoding

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 35, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-encoding-tests --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-h-l

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 50, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-h-l --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-m-o

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 35, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-m-o --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-p-r

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 25, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-p-r --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-s

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 100, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-s --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

src/jenkins/huge-tests-s2

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ pipeline {
66
timestamps()
77
timeout(time: 100, unit: 'MINUTES')
88
}
9-
tools {
10-
jdk 'openlogic-openjdk-17.0.17+10'
11-
}
129
stages {
1310
stage('Build') {
1411
steps {
12+
sh 'java -version'
1513
sh 'mvn clean test -P only-huge-tests-s2 --show-version -Dgpg.skip -Djava.awt.headless=true'
1614
}
1715
}
1816
}
1917
post {
2018
always {
21-
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
22-
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
23-
step([$class: 'Mailer',
24-
notifyEveryUnstableBuild: true,
25-
recipients: "rbri@rbri.de"])
19+
node('') {
20+
junit allowEmptyResults: true, testResults: 'target/surefire-reports/**/*.xml'
21+
recordIssues enabledForFailure: true, sourceCodeEncoding: 'UTF-8', tools: [java()]
22+
step([$class: 'Mailer',
23+
notifyEveryUnstableBuild: true,
24+
recipients: "rbri@rbri.de"])
25+
}
2626
}
2727
}
2828
}

0 commit comments

Comments
 (0)