jenkinsfile: check gcc version

This commit is contained in:
Nils Andreas Svee committed 2022-11-27 15:18:19 +01:00
1 parent 3d9573a50c
commit b4eb1b5479
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -34,7 +34,7 @@ pipeline {
stage('Download GCC toolchain') {
when {
expression {
def res = sh(script: "${GCC_TARGET}-gcc", returnStatus: true)
def res = sh(script: "${GCC_TARGET}-gcc -v", returnStatus: true)
if (res > 0) {
return false