Is it planned to support Jenkins pipeline through XRay Jenkins plugin?
Also, is the source code for the XRay Jenkins plugin available somewhere? It would be convenient in order to configure the plugin (e.g. XrayInstance/ServerConfiguration; for the moment we have to inspect the .class files...) from Jenkins Groovy initialization (init.groovy.d)
Currently it does not have support for pipeline, but we have plans to include this in the next release of the Jenkins plugin.
We have this Improvement already reported in our backlog, here.
Regarding the source code, we're sorry but it is not available.
Xpand Add-ons Team
can we have a groovy script for Jira-Xray server configuration for Jenkins xray plugin . As of now we configure the jiraurl,username and pwd in Jenkins/configure page UI. Since xray plugin source code is not available , can you provide a groovy script to automate the configuration part.
please check the following documentation
In this Documentation you will find some script examples.
But most importantly, I recommend you to use the Jenkins Snippet Generator. This generator will allow you to automatically generate your step script using the interface.
You will find an example on how to automatically generate your script at the end of the documentation page.
Would be nice to get the response of the pipeline execution as result of the pipeline in order to get the created issue/s.
def result = [$class: 'XrayImportBuilder',
And then get the json result like you can see in the log execution:
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG