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
mentioned above? I thought they would be available via shell environment variable, but it seems it
is not.
ps: I do not want to use Jenkins UI to setup the first Jenkins Job execution
from the second.
--
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/56D5A63C.2080408%40linux.vnet.ibm.com.
For more options, visit https://groups.google.com/d/optout.