Re: Job success or failure message

2013-08-01 Thread Steffen Breitbach
> You could use a script that will do that for you and let Jenkins run the
> script only.

I just tried it: individual build steps (e.g. n times "Execute shell")
will do exactly the same by the way.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Job success or failure message

2013-08-01 Thread Steffen Breitbach
Hi Tânia!

On Thu, 2013-08-01 at 04:31 -0700, Tânia Magalhães wrote:
> Is there way to configure the job so it will stop if any of the steps
> fail?

You could use a script that will do that for you and let Jenkins run the
script only.

> How can I configure it so this job test won't run if JOB_A fails? 

Use a post build action "Build other projects" with "Trigger only if
build succeeds". This is Jenkins core functionality.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Job success or failure message

2013-08-01 Thread Tânia Magalhães
Hi!

Lets say that I have a job (JOB_A) with a lot of build steps.
For example:

Step1:
rmdir /s /q C:\whatever

Step2:
"svn checkout"

Step3:
c:\whatever\script1.py

Step4:
c:\whatever\script2.py

...

Is there way to configure the job so it will stop if any of the steps fail? 
I mean, I don't need to run the Step2 and the following ones, if Step1 
fails, for example. If it helps, I can setup a job for each build step and 
then configure the main job (JOB_A) as a multi-job project.

After this problem becomes solved another one will come up.
JOB_A will be a preparation job. After that I will run one or more other 
jobs that will be the real job tests.
How can I configure it so this job test won't run if JOB_A fails?

Thanks!!!
Tânia

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.