We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ecb710 commit 93d9ef5Copy full SHA for 93d9ef5
dev/jenkins/build-mpich.sh
@@ -39,6 +39,14 @@ log()
39
print ${(%)DATE_FMT_NICE} "build-mpich.sh:" ${*}
40
}
41
42
+# Detect concurrent builds. Jenkins puts an "@2" in the WORKSPACE.
43
+if [[ $WORKSPACE =~ "@" ]] {
44
+ # Do not run concurrently, there is no point
45
+ log "Detected concurrent build!"
46
+ print
47
+ return
48
+}
49
+
50
# Load any prior exit status codes
51
if [[ -f status-old.txt ]] {
52
read STATUS_OLD < status-old.txt
0 commit comments