jenkinsfile: correct gcc conditional
This commit is contained in:
1 parent
b4eb1b5479
commit
518e003185
1 file changed
+2
-2
Vendored
+2
-2
@@ -37,9 +37,9 @@ pipeline {
|
|||||||
def res = sh(script: "${GCC_TARGET}-gcc -v", returnStatus: true)
|
def res = sh(script: "${GCC_TARGET}-gcc -v", returnStatus: true)
|
||||||
|
|
||||||
if (res > 0) {
|
if (res > 0) {
|
||||||
return false
|
|
||||||
} else {
|
|
||||||
return true
|
return true
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user