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

Update the version of the workflow-step-api artifact on JCenter or MavenCentral

    Details

    • Similar Issues:

      Description

      Currently it looks like there are:

      I'd like to have a recent version (e.g. 2.7) of the workflow-step-api artifact on either of those repositories, are they are the only one I can use with Gradlle.

      I am catching a `org.jenkinsci.plugins.workflow.steps.FlowInterruptedException` in a Jenkins file and I cannot import it without the corresponding artifact, hence my build fail.

      Regards

        Attachments

          Activity

          Hide
          lucasc Lucas Cimon added a comment - - edited

          I found a workaround for my build.gradle :

          apply plugin: 'groovy'
          
          repositories {
              maven {
                  name = 'repo.jenkins-ci.org'
                  url = 'http://repo.jenkins-ci.org/public/'
              }
          }
          
          dependencies {
              compile group: 'org.jenkins-ci.plugins.workflow', name: 'workflow-step-api', version: '2.7', ext: 'jar'
          }
          
          Show
          lucasc Lucas Cimon added a comment - - edited I found a workaround for my build.gradle : apply plugin: 'groovy' repositories { maven { name = 'repo.jenkins-ci.org' url = 'http: //repo.jenkins-ci.org/ public /' } } dependencies { compile group: 'org.jenkins-ci.plugins.workflow' , name: 'workflow-step-api' , version: '2.7' , ext: 'jar' }
          Hide
          lucasc Lucas Cimon added a comment -

          A workaround was sufficient for me

          Show
          lucasc Lucas Cimon added a comment - A workaround was sufficient for me

            People

            • Assignee:
              Unassigned
              Reporter:
              lucasc Lucas Cimon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: