Why don't you have your script execute some HTTP action with CURL which might trigger Jenkins?
W On Tuesday, March 1, 2016 at 9:35:30 AM UTC-5, Alan Evangelista wrote: > I want to execute a Jenkins job run from a script, which is itself cloned > from a git repo and called > in a shell build step by another Jenkins job. I need a Jenkins user and > Jenkins user API token to run > a Jenkins job via its HTTP API. Is it possible to access the Jenkins user > and user API token in the > script > -- 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/f7682c27-2254-488d-8ca5-635844640a95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
