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

PCT does not handle custom plugin groupIds when pulling plugin data from UC

XMLWordPrintable

      When I run PCT for a plugin with old Pipeline plugin dependency (e.g. job-restrictions plugin), I hit the following issue:

      [ERROR] Failed to execute goal on project job-restrictions: Could not resolve dependencies for project com.synopsys.arc.jenkinsci.plugins:job-restrictions:hpi:0.6: The following artifacts could not be resolved: org.jenkins-ci.plugins:workflow-step-api:jar:2.14, org.jenkins-ci.plugins:workflow-api:jar:2.24: Could not find artifact org.jenkins-ci.plugins:workflow-step-api:jar:2.14 in repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/) -> [Help 1]
      

      It happens, because the group ID has been changed to "org.jenkins-ci.plugins.workflow". PCT should be ideally able to handle it somehow.

      Steps to reproduce:

      1. Run docker run --rm -v maven-repo:/root/.m2 -v $(pwd)/out:/pct/out -e ARTIFACT_ID=job-restrictions -e VERSION=job-restrictions-0.6 -i jenkins/pct
      2. Wait

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: