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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -