I have this if else
statement if the condition is true the if
statement executed but if the condition is false the else
statement not executed
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