Hi,
IIUC what you're talking about us actually called a "Cause" in Jenkins.
Seems like
https://wiki.jenkins-ci.org/display/JENKINS/Build+Cause+Run+Condition was
designed to do what you want, but that plugin seems abandoned and is said
to only implement the user cause.

-- Baptiste
Le 18 avr. 2016 3:39 AM, "zhangkm" <[email protected]> a écrit :

> Hello,
>    As we know, we can select build triggers in jenkins, such as Poll SCM,
> Build periodically, Build after other projects are built, etc. In my build
> job, I use SVN as CVS and I select Build periodically and  Poll SCM as
> build
> trigger.
> <http://jenkins-ci.361315.n4.nabble.com/file/n4807513/build-trigger.png>
>    Now I want to know which build trigger to kick off the build job, so I
> can execute different bat file or   pass different parameters depend on
> different trigger. For example, if  Build periodically trigger the build, I
> will pass the parameter 'buildall=true', else I will pass the parameter
> 'buildall=false'.
>    Please tell me how to make it come true, or any other way to solve this
> problem?
>
>
>
> --
> View this message in context:
> http://jenkins-ci.361315.n4.nabble.com/How-to-distinguish-which-build-trigger-to-kick-off-the-build-tp4807513.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
>
> --
> 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/1460941620431-4807513.post%40n4.nabble.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANWgJS4u%3Dt-HYpbGx1LfCzGkibW4Bxik11baiE-1gQey13-PFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to