batch file - Jenkins How to get the result of a bat command -
i have problem: in pipeline, need know if file exists. here code :
if(...){ bat 'if exist <insert file name here> ( rem file exists ) else ( rem file doesn't exist )' }
i know if can return bat command in if(...) : return true:do... or false:do...
if want implement directly in pipeline script, use code following question:
Comments
Post a Comment