Status: Open (View Workflow)
Environment:Jenkins on premise - ver. 2.175,
Checked with Jenkins stabe 2.164.2 - same issue
RH 7.6 server
Latest version of all plugins [groovy, pipeline, declarative pipeline etc]
When running declarative pipeline with two maps and using function something got mixed.
The output is:
Now if in the mention pipeline i will remove the 'dir' function from the void function
and just print:
everything looks fine....
found that it's work well if running the 'if statement' inside the dir func..
NOT WORKING IF TAKING THE PRINTLN OUTSIDE 'DIR()'