>From your comments it looks like you want to perform some different actions 
for the developer commits and the nightly builds.

If this is the case.
You want to look at the Conditional BuildStep Plugin if you want to perform 
a different action based on how the build is started. 
this will allow the developer commits to perform the ANT buildsteps, but 
the nightly scheduled jobs to skip it or perform some other action..

You can use the build Cause condition to determine what started the job.

https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin 

Note, if using a matrix project this does not work correctly at the moment, 
as cause is always upstream from the parent job.
Issue https://issues.jenkins-ci.org/browse/JENKINS-14438

Chris

On Monday, July 16, 2012 9:08:03 AM UTC+1, Varghese Renny wrote:
>
> Thanks for reply..
> See i don't want to trigger another build after completion of one build 
> job.
> My purpose is like
> 1 job i have..
> It should check like build is triggered due to commit by some 
> developers..if it is , it should do some set of ant task.
> Next i have to run whole build over project by scheduling it at night.
> For that now what i am doing is by night i change build task manually for 
> scheduled builds at night..
> Is there any way like for commit, it should do these set of task and for 
> scheduling this much of task  to configure in single project job?..i have 
> heard about conditional plugin..Is it using for this kind of purpose or 
> something different?
>
>
> Thanks in Advance,
> Varghese
>

Reply via email to