batch file - IF statement in Jenkins windows boolean parameter -
on jenkins installed on windows 7, choose :
this build parameterized
add boolean parameter named win7
then in windows batch command want if win7 parameter selected.
how boolean converted? tried following no success
if %win7%=="true" ( )
also :
echo %win7%
is printing true
if "%win7%"=="true" ( ... )
quotes part of compared string.and required when there space within compared values.
Comments
Post a Comment