0

I write if conditions in jenkins build script,

it is working but in jenkins console output it is showing like below.

if Yes == Yes 

if No == No 

But as per the rule it will show the variable name after the if

My build script:

if %Update_Build_Info%==No 
tukan
  • 13,399
  • 1
  • 15
  • 39
G.kalyan
  • 31
  • 4
  • 2
    variables are expanded before command repetition. Get a big can of coffee and read [this](https://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts) – Stephan Feb 16 '21 at 11:14

0 Answers0