I’m trying to set up a job with an incremental SCM trigger and a clean 
workspace nightly trigger.

>From what I can see, the right way to do this is to set up both triggers 
(SCM and Build Periodically), and then set “Delete workspace before build 
starts” so that it checks the parameter BUILD_CAUSE_TIMERTRIGGER.  At least 
that is what seemed to be the right thing to do.  Well it doesn’t seem to 
work.  I can check that BUILD_CAUSE_TRIGGER is being set in the environment 
(at least by the end of the build, which is when the variables are 
captured).  Does The delete workspace command not see that?

This has got to be a fairly common task, so I guess there is something I'm 
just missing.

-r

-- 
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/bce7a5d4-3ef0-4d07-a983-d45a0952dae9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to