Using Conditional step
As should be the syntax for a conditional step to tell the following:
condition: IF EXIST %PRO%\Exxxxx command: .set env HelloWorldEnvironment "Dia = %date:~0,2%" .set env HelloWorldEnvironment "Mes = %date:~3,2%" .set env HelloWorldEnvironment "Anio = %date:~6,4%" .set env HelloWorldEnvironment "NombreCarpeta = %Dia%-%Mes%-%Anio%" mkdir %RES%\%NombreCarpeta%-Exxxxx command else: .set env HelloWorldEnvironment "ExisteCarpeta = false" |
One answer
As should be the syntax for a conditional step to tell the following: Hi, You might give something like this a try in the 'Conditional' text field. `IF EXIST %PRO%\Exxxxx. (exit 0.) else (exit 1.)` It's important to have the statement within the backticks (`OS command`). Brent Ulbricht RTC Build Lead |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.