Skip to content

Commit b07013c

Browse files
committed
build: catch2 is installed with using conan instead of FetchContent
1 parent 5da1720 commit b07013c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,12 @@ def linux_wheels(pythonVersions, testPackages, params, wheelStashes, sharedPipCa
331331
archiveArtifacts artifacts: 'dist/*.whl'
332332
} finally{
333333
sh "${tool(name: 'Default', type: 'git')} clean -dfx"
334-
sh "docker rmi \$(docker images -q ${dockerImageName})"
334+
sh(
335+
label:'untagging image',
336+
script: """if [[ ! -z $(docker images -q ${dockerImageName}) ]]; then
337+
docker rmi ${dockerImageName}
338+
fi
339+
""")
335340
}
336341
}
337342
}

0 commit comments

Comments
 (0)