See Authenticating Scripted Clients
<https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients>
page on the wiki.
On 4/2/2015 12:22 PM, Murthy Gandikota wrote:
Hi All
I am trying to run a shell script in a project as root. Without
security enabled it runs fine.
With security using Jenkins database -- no fancy LDAP or
anything--- enabled, the script fails thus:
$ /bin/sh -xe /tmp/hudson8715135757129650687.sh
+ echo root
root
+ chmod a+x ./myscript.sh
+ ./myscript.sh
--2015-04-01 23:35:54--
_http://ci.westechdev.org:8080/job//backup-jenkins-jobs/config.xml_
Resolving ci.mycom.org... 192.168.100.1
Connecting to ci.westechdev.org|192.168.100.1|:8080... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-04-01 23:35:54 ERROR 403: Forbidden.
Can anyone help?
Thanks
murthy
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/77fc4aec-b6ab-4828-9a83-01def2d05263%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/77fc4aec-b6ab-4828-9a83-01def2d05263%40googlegroups.com?utm_medium=email&utm_source=footer>.
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/551D84F8.9000107%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.