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

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

      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

          [JENKINS-41441] Update the version of the workflow-step-api artifact on JCenter or MavenCentral

          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'
          }
          

          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' }

          Lucas Cimon added a comment -

          A workaround was sufficient for me

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

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

              Created:
              Updated:
              Resolved: