Skip to content

Commit 98062b7

Browse files
committed
[Build] Simplify build agent modifications and whitespace clean-up
1 parent 7d7570f commit 98062b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
def runOnNativeBuildAgent(String platform, Closure body) {
1919
def final nativeBuildStageName = 'Build SWT-native binaries'
20+
def agentLabel = 'native.builder-' + platform
2021
def dockerImage = null
2122
switch (platform) {
2223
case 'gtk.linux.x86_64':
@@ -38,7 +39,7 @@ def runOnNativeBuildAgent(String platform, Closure body) {
3839
} else {
3940
// See the Definition of the RelEng Jenkins instance in
4041
// https://github.com/eclipse-cbi/jiro/tree/master/instances/eclipse.platform.releng
41-
node('native.builder-' + platform) { stage(nativeBuildStageName) { body() } }
42+
node(agentLabel) { stage(nativeBuildStageName) { body() } }
4243
}
4344
}
4445

@@ -232,7 +233,7 @@ pipeline {
232233
sh build.sh clean
233234
sh build.sh -gtk4 checklibs install-pi-only
234235
elif [[ ${PLATFORM} == cocoa.macosx.* ]]; then
235-
sh build.sh install
236+
sh build.sh install
236237
else
237238
echo "Unexpected build platform ${PLATFORM}"
238239
exit 1

0 commit comments

Comments
 (0)