On Wednesday, 30 October 2013 21:18:45 UTC+5:30, Srinivasa TN wrote: > > On Wednesday, 30 October 2013 18:32:03 UTC+5:30, maciej wrote: >> >> Srinivasa TN (2013-10-30 13:34): >> >> Hi All, >> I am using Jenkins 1.514 and scripttrigger plugin 0.31 on RHEL 6.3. I >> have written bash script in the plugin configuration to trigger the build >> whenever exit status is XXX. I have put "set -x" in the script. But where >> is the output going? Is there any log file I can check to find what is >> happening? >> >> >> If you want a log file then use: >> echo "some stuff" >> my.log >> >> After build you can archive "my.log" as build artifact. >> >> If you don't want a log file then just use echo it whoulsd be visible in >> the standard build log. >> > I don't want a log file but just wanted to know what is happening. I have > scheduled the job every two hour, so the script in plugin executes every > two hours and upon required exit status, the job should proceed.. but > nothing is happening. So I wanted to check are the steps in script are > being executed or not. > > It was my foolishness.. At the front page of job configuration itself I can see an link to scripttrigger.log. But it stores the log for only one run, how can I make it to have the logs of all the runs?
Regards, Seenu. -- 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-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.