Jenkins crashes when I try to add scriptler as a post-build action

39 views
Skip to first unread message

Guy Matz

unread,
May 10, 2016, 11:33:33 AM5/10/16
to jenkins...@googlegroups.com
Hi!  I'm getting a Stack trace when trying to a a scriptler script as a post-build action.  

The section of stacktrace below - from the link above - looks important, but my untrained eye may be missing something:

Caused by: java.lang.IllegalArgumentException: Failed to instantiate interface hudson.tasks.BuildStep from {"backupJobName":"","builderId":"","scriptlerScriptId":"triggerYumReindex.groovy","propagateParams":true,"defineParams":{"parameters":{"name":"SIDECAR_ENV","value":"ci"}},"stapler-class":"org.jenkinsci.plugins.scriptler.builder.ScriptlerBuilder","$class":"org.jenkinsci.plugins.scriptler.builder.ScriptlerBuilder"}
Any help would be greatly appreciated.

Regards,
Guy

Cuong Tran

unread,
May 11, 2016, 12:55:18 AM5/11/16
to Jenkins Users
I don't think you can add a scriptler script as a post-build action.  You must have done it via "Use Publisher from another project".

Guy Matz

unread,
May 11, 2016, 12:01:46 PM5/11/16
to jenkins...@googlegroups.com
Right, but i can add a scriptler script as one of the tasks of the "Execute a set of scripts" Post-Build . . .  from there is where I'm getting this error

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d2c81a30-865a-40c8-87fb-99c071f21133%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages