Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51243

Use JiraTestReporter plugin in Jenkins pipeline(Groovy) type of job.

      We are using pipeline type of jobs in jenkins so can we use JiraTestResultReporter plugin for pipeline type jobs?

      Is pipeline supported for JiraTestResultReporter plugin? If yes how can we use it in our pipeline job.

          [JENKINS-51243] Use JiraTestReporter plugin in Jenkins pipeline(Groovy) type of job.

          Aashish Rajguru created issue -

          manus added a comment -

          We have the same need, tried some hacky stuff (failed), and asked about it on the #jenkins IRC channel, but it seems to not currently be possible to use this plugin in a declarative pipeline project.

          Indeed, the documentation only mentions Freestyle, Multi-configuration, or Maven as the explicitly-supported project types. Even so, when attempting to use it as documented I seem to run into JENKINS-49819, so I'm completely blocked from using this plugin at all.

          Really hoping to get some insight from the plugin's maintainers! (maplesteve, catalinluta, andreituicu) Thanks in advance!

          manus added a comment - We have the same need, tried some hacky stuff (failed), and asked about it  on the #jenkins IRC channel, but it seems to not currently be possible to use this plugin in a declarative pipeline project. Indeed, the documentation only mentions Freestyle, Multi-configuration, or Maven as the explicitly-supported project types. Even so, when attempting to use it as documented I seem to run into JENKINS-49819 , so I'm completely blocked from using this plugin at all. Really hoping to get some insight from the plugin's maintainers! ( maplesteve , catalinluta , andreituicu ) Thanks in advance!
          manus made changes -
          Labels Original: jenkins pipeline New: jenkins pipeline plugin plugins

          Catalin Luta added a comment -

          Hey manus, aashish89. Sorry for the long pause. We've had a rough patch at work and couldn't look after the plugin for a while. For the record, we do use it as a part of a pipeline project, but a bit hackish.

          We have some time next week to investigate and get back to you with some info.

          Catalin Luta added a comment - Hey manus , aashish89 . Sorry for the long pause. We've had a rough patch at work and couldn't look after the plugin for a while. For the record, we do use it as a part of a pipeline project, but a bit hackish. We have some time next week to investigate and get back to you with some info.

          Catalin Luta added a comment - - edited

          manus, aashish89, we've looked a bit at the pipeline integration and found a bug in our code that is preventing the plug-in to run accordingly. We'll get back to you with an ETA while we continue our investigation. In the meantime, manus, let's please jump on JENKINS-49819.

          Catalin Luta added a comment - - edited manus , aashish89 , we've looked a bit at the pipeline integration and found a bug in our code that is preventing the plug-in to run accordingly. We'll get back to you with an ETA while we continue our investigation. In the meantime, manus , let's please jump on JENKINS-49819 .

          manus added a comment -

          Thanks for the update! Please let me know if there's anything I can provide to help troubleshoot this. Until then, I'll see if I can help out with JENKINS-49819.

          manus added a comment - Thanks for the update! Please let me know if there's anything I can provide to help troubleshoot this. Until then, I'll see if I can help out with JENKINS-49819 .

          Hey Catalin thanks for the update. Please revert back as soon as you are able to get the pipeline code working.

          Thanks.

          Aashish Rajguru added a comment - Hey Catalin thanks for the update. Please revert back as soon as you are able to get the pipeline code working. Thanks.

          Hey Catalin, till when can we get the pipeline issue resolved?

          Aashish Rajguru added a comment - Hey Catalin, till when can we get the pipeline issue resolved?

          Code changed in jenkins
          User: Andrei Tuicu
          Path:
          src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraTestAction.java
          src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraTestDataPublisher.java
          src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraUtils.java
          src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JobConfigMapping.java
          http://jenkins-ci.org/commit/JiraTestResultReporter-plugin/e256166c8c7f95fc92e481ff40616285892b3d23
          Log:
          JENKINS-51243 - Use JiraTestReporter plugin in Jenkins pipeline(Groovy) type of job

          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrei Tuicu Path: src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraTestAction.java src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraTestDataPublisher.java src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraUtils.java src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JobConfigMapping.java http://jenkins-ci.org/commit/JiraTestResultReporter-plugin/e256166c8c7f95fc92e481ff40616285892b3d23 Log: JENKINS-51243 - Use JiraTestReporter plugin in Jenkins pipeline(Groovy) type of job * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.

          Catalin Luta added a comment -

          aashish89, manus, as you probably saw, andreituicu pushed a potential fix to the repo. We don't have time right now to test it thoroughly, but we have put some time aside for the release on the 5th of June. If you have time and know your way around snapshot builds, you can give it a go and test it out. Let us know if you find anything!

          Catalin Luta added a comment - aashish89 , manus , as you probably saw, andreituicu pushed a potential fix to the repo. We don't have time right now to test it thoroughly, but we have put some time aside for the release on the 5th of June. If you have time and know your way around snapshot builds, you can give it a go and test it out. Let us know if you find anything!

            catalinluta Catalin Luta
            aashish89 Aashish Rajguru
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: