Hi, File exists does not seem to do ant-style expansion, if I look at the docs. Either specify the correct relative path, or use Files Match.
Björn Am Dienstag, 5. September 2017 11:45:43 UTC+2 schrieb Ana MB: > > Ok.... the problem is with the "File exists" Condition, because I've put > "Always" and I get the message "HI WORLD": > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD SUCCESS > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 53.709 s > > [INFO] Finished at: 2017-09-05T11:32:57+02:00 > > [INFO] Final Memory: 17M/56M > > [INFO] > ------------------------------------------------------------------------ > > Run condition [Always] enabling perform for step [Execute shell] > > [workspace] $ /bin/sh -xe /tmp/jenkins4771372472076695799.sh > > + echo HI WORLD > > HI WORLD > > Finished: SUCCESS > > > What could be happening with this condition "File exists"? > > Thanks so much!!! > > > El martes, 5 de septiembre de 2017, 10:13:56 (UTC+2), Ana MB escribió: >> >> Hi guys! >> >> I'm using Conditional Steps Plugin in Jenkins and I want to execute >> commands in the Shell, but it seems not to work. I show you my case: >> >> >> <https://lh3.googleusercontent.com/-C_pX1ZVTgTY/Wa5cR7n4VlI/AAAAAAAAALM/8Sf2GQUbOy0G1oAXqYrGPVoY5UWQQZJsgCLcBGAs/s1600/Screenshot_18.jpg> >> I try to execute a simply "ECHO HI WORLD", and the console returns the >> following: >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] BUILD SUCCESS >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 58.289 s >> >> [INFO] Finished at: 2017-09-05T09:59:49+02:00 >> >> [INFO] Final Memory: 17M/56M >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [File exists] check if file exists >> [/Researches/PruebaMail/test-output/test_resultados_miniprueba.csv] >> >> Run condition [File exists] preventing perform for step [Execute shell] >> >> Finished: SUCCESS >> >> >> And nothing happens, "HI WORLD" doesn't appear anywhere... why?? >> >> I'm turning crazy... >> >> Thanks so much for your time... >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e586ee7b-5da1-4cfe-89a6-a4df5d9b48d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.