Skip to content

Commit d6c1feb

Browse files
authored
Update Jenkinsfile
1 parent dfdaa69 commit d6c1feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ pipeline {
1313
stage("Run on Slaves") {
1414
parallel {
1515
stage("Run on Slave1") {
16-
agent { label 'slave1' } // Linux slave
16+
agent { label 'server1' } // Linux slave
1717
steps {
1818
echo "Running on slave1"
1919
sh "java -cp target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App"
2020
}
2121
}
2222
stage("Run on Slave2") {
23-
agent { label 'slave2' } // Linux slave
23+
agent { label 'server2' } // Linux slave
2424
steps {
2525
echo "Running on slave2"
2626
sh "java -cp target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App"

0 commit comments

Comments
 (0)