Re: Remote Jenkins build trigger with authentication, message should be “Started by User XYZ”

46 views
Skip to first unread message

Pritesh Saharey

unread,
Dec 30, 2015, 9:37:56 AM12/30/15
to jenkin...@googlegroups.com
 
Hi All,

When I trigger my Jenkins job remotely using URL I use authentication to trigger build like this:
 
wget --auth-no-challenge --http-user=user --http-password=apiToken http://jenkins.yourcompany.com/job/your_job/build?token=TOKEN
 
Build gets triggered without any issue but the message on build console comes as “Started by remote host 10.BBB.YYY.XX” instead the message should as “Started by User XYZ” as it comes when user triggers build through Jenkins UI.
Is there any way I can achieve this in remote trigger of build with authentication through URL, the users are LDAP configured.

Thanks,
Jhoom

Baptiste Mathus

unread,
Dec 30, 2015, 9:46:11 AM12/30/15
to jenkin...@googlegroups.com
Hi, wrong ML. Please use the users one, and don't repost the same content. Thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/151f352ce0c-239a-f072%40webprd-a04.mail.aol.com.

For more options, visit https://groups.google.com/d/optout.



--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
Reply all
Reply to author
Forward
0 new messages