A way to run Zephyr from a pipeline.

          [JENKINS-32801] Pipeline build step for Zephyr for Jira

          Jesse Glick added a comment -

          Presumably you mean to make ZfjReporter a SimpleBuildStep?

          Jesse Glick added a comment - Presumably you mean to make ZfjReporter a SimpleBuildStep ?

          I think so, It is enough

          Ivan Fernandez Calvo added a comment - I think so, It is enough

          Ivan Fernandez Calvo added a comment - - edited

          I add compatibility with Pipeline plugin, now you can run a step of Zephyr fro jita test management plugin.

          node {
          git url: 'file:////Users/inifc/Documents/workspace/statusCheck'
          def mvnHome = tool 'maven3'
          sh "${mvnHome}/bin/mvn clean package"
          step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
          step([$class: 'ZfjReporter',serverAddress: 'http://127.0.0.1:9090',projectKey:'PRJ',versionKey:'1',cycleKey:'CreateNewCycle',cycleDuration:'30 days',cyclePrefix:''])
          }

          https://github.com/jenkinsci/zephyr-for-jira-test-management-plugin/pull/2

          Ivan Fernandez Calvo added a comment - - edited I add compatibility with Pipeline plugin, now you can run a step of Zephyr fro jita test management plugin. node { git url: 'file:////Users/inifc/Documents/workspace/statusCheck' def mvnHome = tool 'maven3' sh "${mvnHome}/bin/mvn clean package" step( [$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'] ) step( [$class: 'ZfjReporter',serverAddress: 'http://127.0.0.1:9090',projectKey:'PRJ',versionKey:'1',cycleKey:'CreateNewCycle',cycleDuration:'30 days',cyclePrefix:''] ) } https://github.com/jenkinsci/zephyr-for-jira-test-management-plugin/pull/2

          Oleg Leonenko added a comment -

          Hello ifernandezcalvo

          Do we have any update for this issue?

          Can we use this plugin for now?

          Oleg Leonenko added a comment - Hello ifernandezcalvo Do we have any update for this issue? Can we use this plugin for now?

          olegwitcher it depends now on the maintainer of the plugin, my PR is no longer valid.

          Ivan Fernandez Calvo added a comment - olegwitcher it depends now on the maintainer of the plugin, my PR is no longer valid.

          Oleg Leonenko added a comment -

          Thank you , ifernandezcalvo .

           

          Oleg Leonenko added a comment - Thank you , ifernandezcalvo .  

            Unassigned Unassigned
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: