A way to run Zephyr from a pipeline.

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

          Ivan Fernandez Calvo created issue -
          Manuel Recena Soto made changes -
          Component/s Original: workflow-plugin [ 18820 ]

          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
          Ivan Fernandez Calvo made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Ivan Fernandez Calvo [ ifernandezcalvo ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ivan Fernandez Calvo made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Ivan Fernandez Calvo made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Ivan Fernandez Calvo made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ivan Fernandez Calvo made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 13811 ]

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

              Created:
              Updated: