if else如果條件為真,則if執行該陳述句,但如果條件為假,則不執行else該陳述句,我有此陳述句
steps{
script{
echo '*Stage3 - Trying to build python program and export the Artifact*'
pyInstallerOutput = bat(returnStdout: true, script: '@python -m PyInstaller -v').trim()
if(!("$pyInstallerOutput".contains('No module named'))){
echo " PyInstaller Version: $pyInstallerOutput is up and running. good! building artifact"
directoryName = bat(returnStdout: true,script: '@echo
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/516125.html
標籤:詹金斯时髦的管道
