Execute shell withoout -xe in jenkins job

603 views
Skip to first unread message

VinodKumar

unread,
Jul 1, 2013, 3:36:57 AM7/1/13
to jenkins...@googlegroups.com
Hi All,
I am using execute shell option in jenkins.
My problem is jenkins is using "/bin/sh -xe" to run the scripts
thi "-xe" is causing failure for some options which are running fine without
it.
is there any option where I can avoid -xe option in jenkins?/

Thanks & Regards
Vinod



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Execute-shell-withoout-xe-in-jenkins-job-tp4671266.html
Sent from the Jenkins users mailing list archive at Nabble.com.

Richard Bywater

unread,
Jul 1, 2013, 3:44:59 AM7/1/13
to jenkins...@googlegroups.com
Given what the xe flags do I'd be very suprised if that was the issue - are you sure it's not more to do with the user account which the job is executing under?

Otherwise if you provide more details about what error/s you are seeing then we may be able to assist.

Richard.
--
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 jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Sami Tikka

unread,
Jul 8, 2013, 1:48:52 AM7/8/13
to jenkins...@googlegroups.com

VinodKumar

unread,
Jul 10, 2013, 8:44:52 AM7/10/13
to jenkins...@googlegroups.com
Thanks Sami!!
that was helpfull



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Execute-shell-withoout-xe-in-jenkins-job-tp4671266p4672390.html

VinodKumar

unread,
Jul 10, 2013, 8:47:12 AM7/10/13
to jenkins...@googlegroups.com
Thanks for your reply Richard,
my problem was actually that it shows up ppk files used in ssh or scp
commands,
plus It was not a good view of console if it prints each line of script in
cosole.

Thanks & Regards



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Execute-shell-withoout-xe-in-jenkins-job-tp4671266p4672391.html

Sami Tikka

unread,
Jul 10, 2013, 11:39:04 AM7/10/13
to jenkins...@googlegroups.com
If you're worries about something semi-secret being visible in the console, perhaps https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin is something you could check.

-- Sami
Reply all
Reply to author
Forward
0 new messages