Skip to content

Commit f88c9c4

Browse files
committed
fixup! jenkins: add script for linux-containered
1 parent b7d95e5 commit f88c9c4

File tree

1 file changed

+23
-26
lines changed

1 file changed

+23
-26
lines changed

jenkins/scripts/node-test-commit-linux-containered.sh

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
11
#!/bin/bash -ex
22

3-
# run node-test-commit-pre.sh
4-
# run node-test-commit-diagnostics.sh
5-
6-
setupEnvironment
7-
8-
if [[ "$label" =~ _openssl102_ ]]; then
9-
runOpenSSL102
10-
elif [[ "$label" =~ _openssl110_ ]]; then
11-
runOpenSSL110
12-
elif [[ "$label" =~ _openssl111_ ]]; then
13-
runOpenSSL111
14-
elif [[ "$label" =~ _fips20_ ]]; then
15-
runFips20
16-
elif [[ "$label" =~ _debug_ ]]; then
17-
runDebug
18-
elif [[ "$label" =~ _zlib_ ]]; then
19-
runZlib
20-
elif [[ "$label" =~ _withoutintl_ ]]; then
21-
runWithoutIntl
22-
elif [[ "$label" =~ _withoutssl_ ]]; then
23-
runWithoutSsl
24-
elif [[ "$label" =~ _shared_ ]]; then
25-
runShared
26-
fi
27-
283
function setupEnvironment {
294
FLAKY_TESTS_MODE=run
305
if test $IGNORE_FLAKY_TESTS = "true"; then
@@ -291,4 +266,26 @@ function runShared {
291266
runCiWithConfig "--shared"
292267
}
293268

294-
# run node-test-commit-diagnostics.sh
269+
### MAIN ###
270+
271+
setupEnvironment
272+
273+
if [[ "$label" =~ _openssl102_ ]]; then
274+
runOpenSSL102
275+
elif [[ "$label" =~ _openssl110_ ]]; then
276+
runOpenSSL110
277+
elif [[ "$label" =~ _openssl111_ ]]; then
278+
runOpenSSL111
279+
elif [[ "$label" =~ _fips20_ ]]; then
280+
runFips20
281+
elif [[ "$label" =~ _debug_ ]]; then
282+
runDebug
283+
elif [[ "$label" =~ _zlib_ ]]; then
284+
runZlib
285+
elif [[ "$label" =~ _withoutintl_ ]]; then
286+
runWithoutIntl
287+
elif [[ "$label" =~ _withoutssl_ ]]; then
288+
runWithoutSsl
289+
elif [[ "$label" =~ _shared_ ]]; then
290+
runShared
291+
fi

0 commit comments

Comments
 (0)