Quantcast

combine periodic build and "Build after other projects are built"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

combine periodic build and "Build after other projects are built"

david gang
Hi all,

I have a job which i want to run on 2 specific days in a week.
On the other hand it has to be run after another job is run (which is
run every day).
I want somehow to combine the periodic build with the option to run
this project just after the other project was run at the same day.

How do i achieve this?

Thanks,
David
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: combine periodic build and "Build after other projects are built"

cjo9900
You can set multiple triggers on a project, 

So just set both the "Build after other projects are built"  and the "Build periodically" on the project.

Chris,

On Thursday, August 23, 2012 10:02:46 AM UTC+1, David Gang wrote:
Hi all,

I have a job which i want to run on 2 specific days in a week.
On the other hand it has to be run after another job is run (which is
run every day).
I want somehow to combine the periodic build with the option to run
this project just after the other project was run at the same day.

How do i achieve this?

Thanks,
David
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: combine periodic build and "Build after other projects are built"

david gang
Thanks for your reply.
So, when i combine the two condiions (time and trigger), both have to be true in order that the job will run.

Thanks
David

On Thursday, August 23, 2012 1:27:33 PM UTC+3, cjo wrote:
You can set multiple triggers on a project, 

So just set both the "Build after other projects are built"  and the "Build periodically" on the project.

Chris,

On Thursday, August 23, 2012 10:02:46 AM UTC+1, David Gang wrote:
Hi all,

I have a job which i want to run on 2 specific days in a week.
On the other hand it has to be run after another job is run (which is
run every day).
I want somehow to combine the periodic build with the option to run
this project just after the other project was run at the same day.

How do i achieve this?

Thanks,
David
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: combine periodic build and "Build after other projects are built"

cjo9900
No both triggers are independent, so will trigger every two days AND when the upstream project finishes.

I don't think there is any way at the moment of doing the other case, which is trigger the project at a certain point only if the upstream project has run since the previous one.

I think there have been previous requests/solutions for this in the mailing list but I don't think there is a plugin that does this.

Chris



On Thursday, August 23, 2012 8:28:47 PM UTC+1, David Gang wrote:
Thanks for your reply.
So, when i combine the two condiions (time and trigger), both have to be true in order that the job will run.

Thanks
David

On Thursday, August 23, 2012 1:27:33 PM UTC+3, cjo wrote:
You can set multiple triggers on a project, 

So just set both the "Build after other projects are built"  and the "Build periodically" on the project.

Chris,

On Thursday, August 23, 2012 10:02:46 AM UTC+1, David Gang wrote:
Hi all,

I have a job which i want to run on 2 specific days in a week.
On the other hand it has to be run after another job is run (which is
run every day).
I want somehow to combine the periodic build with the option to run
this project just after the other project was run at the same day.

How do i achieve this?

Thanks,
David
Loading...