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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/516a81b1-911a-4fb1-8370-60c1c619903a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to