jenkinsfile: check gcc version
This commit is contained in:
1 parent
3d9573a50c
commit
b4eb1b5479
1 file changed
+1
-1
Vendored
+1
-1
@@ -34,7 +34,7 @@ pipeline {
|
|||||||
stage('Download GCC toolchain') {
|
stage('Download GCC toolchain') {
|
||||||
when {
|
when {
|
||||||
expression {
|
expression {
|
||||||
def res = sh(script: "${GCC_TARGET}-gcc", returnStatus: true)
|
def res = sh(script: "${GCC_TARGET}-gcc -v", returnStatus: true)
|
||||||
|
|
||||||
if (res > 0) {
|
if (res > 0) {
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in new issue
Block a user