Skip to content

Commit 1dbaffe

Browse files
committed
Update Jenkinsfile
1 parent 8ae0e0b commit 1dbaffe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Jenkinsfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ try {
1212
parallel check: {
1313
stage('Check') {
1414
timeout(time: 45, unit: 'MINUTES') {
15-
node('ubuntu1804') {
15+
node('linux') {
1616
checkout scm
1717
try {
1818
withEnv(["JAVA_HOME=${tool 'jdk8'}"]) {
@@ -33,7 +33,7 @@ try {
3333
jdk9: {
3434
stage('JDK 9') {
3535
timeout(time: 45, unit: 'MINUTES') {
36-
node {
36+
node('linux') {
3737
checkout scm
3838
try {
3939
withEnv(["JAVA_HOME=${tool 'jdk9'}"]) {
@@ -51,7 +51,7 @@ try {
5151
jdk10: {
5252
stage('JDK 10') {
5353
timeout(time: 45, unit: 'MINUTES') {
54-
node {
54+
node('linux') {
5555
checkout scm
5656
try {
5757
withEnv(["JAVA_HOME=${tool 'jdk10'}"]) {
@@ -69,7 +69,7 @@ try {
6969
jdk11: {
7070
stage('JDK 11') {
7171
timeout(time: 45, unit: 'MINUTES') {
72-
node('ubuntu1804') {
72+
node('linux') {
7373
checkout scm
7474
try {
7575
withEnv(["JAVA_HOME=${tool 'jdk11'}"]) {
@@ -87,7 +87,7 @@ try {
8787
jdk12: {
8888
stage('JDK 12') {
8989
timeout(time: 45, unit: 'MINUTES') {
90-
node('ubuntu1804') {
90+
node('linux') {
9191
checkout scm
9292
try {
9393
withEnv(["JAVA_HOME=${tool 'openjdk12'}"]) {
@@ -106,7 +106,7 @@ try {
106106
if (currentBuild.result == 'SUCCESS') {
107107
parallel artifacts: {
108108
stage('Deploy Artifacts') {
109-
node {
109+
node('linux') {
110110
checkout scm
111111
try {
112112
withCredentials([file(credentialsId: 'spring-signing-secring.gpg', variable: 'SIGNING_KEYRING_FILE')]) {
@@ -130,7 +130,7 @@ try {
130130
},
131131
docs: {
132132
stage('Deploy Docs') {
133-
node {
133+
node('linux') {
134134
checkout scm
135135
try {
136136
withCredentials([file(credentialsId: 'docs.spring.io-jenkins_private_ssh_key', variable: 'DEPLOY_SSH_KEY')]) {

0 commit comments

Comments
 (0)