Jenkins ScriptTrigger plugin stopped working by default

66 views
Skip to first unread message

EldadAK

unread,
Apr 13, 2013, 4:17:30 AM4/13/13
to jenkins...@googlegroups.com

I have a strange behavior by my Jenkins and the ScriptTrigger plugin.

I have Jenkins 1.510 with the latest version of this plugin. I have the trigger setup with a simple shell script:

#!/bin/bash
echo test
exit 0

The trigger is set to start the build if exit code is 0.

After I restart Jenkins (or just reload configuration), the trigger log shows:

...
The expected script execution code is 0
[ERROR] - SEVERE - Polling error null

No error is in any of the other logs I looked.

No comes the puzzle - if I trigger the job manually, it will make the plugin for this job only start working properly until the next restart...

Has anyone seen this? Does anyone have an idea?

Grégory Boissinot

unread,
Apr 14, 2013, 5:03:39 AM4/14/13
to jenkins...@googlegroups.com
Please raise a new issue for the script-trigger component


--
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.
 
 

Eldad A.K.

unread,
Apr 14, 2013, 5:54:11 AM4/14/13
to jenkins...@googlegroups.com


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/v-pUMig3PCs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

Grégory Boissinot

unread,
Apr 14, 2013, 8:19:28 AM4/14/13
to jenkins...@googlegroups.com
I don't think so.

EldadAK

unread,
Apr 18, 2013, 2:46:33 PM4/18/13
to jenkins...@googlegroups.com

The problem was found to be related to the dependency to xtrigger lib version. I downloaded the sources, updated xtrigger.lib.version to be 0.19 and locally built the plugin (and installed it on my Jenkins). This solved the problem.

Thanks for the help of Gregory Boissinot (the author of the plugin), who helped me find this. He will release a formal release for this plugin soon.

Note - the current version is 0.22.

Reply all
Reply to author
Forward
0 new messages