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

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

      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

          [JENKINS-48742] PCT does not handle custom plugin groupIds when pulling plugin data from UC

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-48734 [ 187440 ]

          Maybe something similar to how the PCT handles splits could do the job, we can create some metadata map of old coordinates to new ones

          Raul Arabaolaza added a comment - Maybe something similar to how the PCT handles splits could do the job, we can create some metadata map of old coordinates to new ones
          Oleg Nenashev made changes -
          Assignee Original: Frédéric Camblor [ fcamblor ]

          Oleg Nenashev added a comment -

          It impacts the following recommended plugins:

          • git
          • github
          • junit
          • mailer

          The following plugins are not impacted:

          • ssh-slaves
          • matrix-auth

          Sounds like a blocking problem

          Oleg Nenashev added a comment - It impacts the following recommended plugins: git github junit mailer The following plugins are not impacted: ssh-slaves matrix-auth Sounds like a blocking problem
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/plugin-compat-tester/pull/58 (Web Link)" [ 19700 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

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

              Created:
              Updated:
              Resolved: