Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Component/s: buildtriggerbadge-plugin
-
Labels:None
-
Similar Issues:
Description
I have ScriptTrigger installed under the XTrigger umbrella plugin for a few triggers.
For ScriptTrigger triggered plugin if I access this URL:
http://<jenkins>/job/jobname/jobnum/api/xml?xpath=//cause&wrapper=causes
I get this:
<causes>
<cause _class="org.jenkinsci.lib.xtrigger.XTriggerCause">
<shortDescription>
[ScriptTrigger] and stuff printed by ScriptTrigger script.
</shortDescription>
</cause>
</causes>
I will have a look at adding support.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
I have ScriptTrigger installed under the XTrigger umbrella plugin for a few triggers. For ScriptTrigger triggered plugin if I access this URL: http://<jenkins>/job/jobname/jobnum/api/xml?xpath=//cause&wrapper=causes I get this: <causes> <cause _class="org.jenkinsci.lib.xtrigger.XTriggerCause"> <shortDescription> [ScriptTrigger] and stuff printed by ScriptTrigger script. </shortDescription> </cause> </causes> I will have a look at adding support. I get angry jenkins and "Oops!" and stackdump. The ScriptTrigger jobs are outputting incorrect xml for build cause. Oops! Stack trace java.io.IOException: Failed to do XPath/wrapper handling. Turn on FINER logging to view XML. at hudson.model.Api.doXml(Api.java:161) . . . . at java.lang.Thread.run(Thread.java:745) Caused by: org.dom4j.DocumentException: Error on line 11 of document : An invalid XML character (Unicode: 0xc) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0xc) was found in the element content of the document. |
I have ScriptTrigger installed under the XTrigger umbrella plugin for a few triggers. For ScriptTrigger triggered plugin if I access this URL: http://<jenkins>/job/jobname/jobnum/api/xml?xpath=//cause&wrapper=causes I get this: <causes> <cause _class="org.jenkinsci.lib.xtrigger.XTriggerCause"> <shortDescription> [ScriptTrigger] and stuff printed by ScriptTrigger script. </shortDescription> </cause> </causes> I will have a look at adding support. |
Attachment | xtrigger-scripttrigger.png [ 34370 ] | |
Attachment | scripttrigger.png [ 34371 ] | |
Attachment | xtrigger-fstrigger.png [ 34372 ] | |
Attachment | xtrigger-buildresulttrigger.png [ 34373 ] | |
Attachment | xtrigger-ivytrigger.png [ 34374 ] | |
Attachment | ivytrigger.png [ 34375 ] | |
Attachment | buildresulttrigger.png [ 34376 ] | |
Attachment | fstrigger.png [ 34377 ] | |
Attachment | xtrigger-scripttrigger2.png [ 34378 ] | |
Attachment | scripttrigger2.png [ 34379 ] | |
Attachment | xtrigger.png [ 34380 ] |
Resolution | Done [ 10000 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |