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

Add support for multimodule plugins (like BO) to CWP

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Evergreen - Milestone 1

      Description

      It seems CWP is not able to properly deal with multimodule plugins like BO

      [ERROR] Failed to execute goal on project jenkins-core-it: Could not resolve dependencies for project org.jenkins-ci.main:jenkins-core-it:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.jenkins-ci.plugins:blueocean-git-pipeline:jar:1.5.0, org.jenkins-ci.plugins:blueocean-bitbucket-pipeline:jar:1.5.0, org.jenkins-ci.plugins:blueocean-autofavorite:jar:1.5.0: Could not find artifact org.jenkins-ci.plugins:blueocean-git-pipeline:jar:1.5.0
      

      I have not tested, but probably the same problem could happen with workflow plugins

        Attachments

          Issue Links

            Activity

            Hide
            rarabaolaza Raul Arabaolaza added a comment -

            This is the config file I am using:

            bundle:
              groupId: "org.jenkins-ci.main"
              artifactId: "jenkins-core-it"
              vendor: "Jenkins project"
              title: "Jenkins Integration Tests WAR"
              description: "Jenkins WAR for integration tests"
            war:
              groupId: "org.jenkins-ci.main"
              artifactId: "jenkins-war"
              source:
                version: "2.107.2"
            plugins:
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "ssh-slaves"
                source:
                  version: "1.25"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "command-launcher"
                source:
                  version: "1.2"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "windows-slaves"
                source:
                  version: "1.3.1"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "credentials"
                source:
                  version: "2.1.10"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "ssh-credentials"
                source:
                  version: "1.12"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "blueocean-git-pipeline"
                source:
                  version: "1.5.0"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "blueocean-bitbucket-pipeline"
                source:
                  version: "1.5.0"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "blueocean-bitbucket-pipeline"
                source:
                  version: "1.5.0"
              - groupId: "org.jenkins-ci.plugins"
                artifactId: "blueocean-autofavorite"
                source:
                  version: "1.5.0"
            
            Show
            rarabaolaza Raul Arabaolaza added a comment - This is the config file I am using: bundle: groupId: "org.jenkins-ci.main" artifactId: "jenkins-core-it" vendor: "Jenkins project" title: "Jenkins Integration Tests WAR" description: "Jenkins WAR for integration tests" war: groupId: "org.jenkins-ci.main" artifactId: "jenkins-war" source: version: "2.107.2" plugins: - groupId: "org.jenkins-ci.plugins" artifactId: "ssh-slaves" source: version: "1.25" - groupId: "org.jenkins-ci.plugins" artifactId: "command-launcher" source: version: "1.2" - groupId: "org.jenkins-ci.plugins" artifactId: "windows-slaves" source: version: "1.3.1" - groupId: "org.jenkins-ci.plugins" artifactId: "credentials" source: version: "2.1.10" - groupId: "org.jenkins-ci.plugins" artifactId: "ssh-credentials" source: version: "1.12" - groupId: "org.jenkins-ci.plugins" artifactId: "blueocean-git-pipeline" source: version: "1.5.0" - groupId: "org.jenkins-ci.plugins" artifactId: "blueocean-bitbucket-pipeline" source: version: "1.5.0" - groupId: "org.jenkins-ci.plugins" artifactId: "blueocean-bitbucket-pipeline" source: version: "1.5.0" - groupId: "org.jenkins-ci.plugins" artifactId: "blueocean-autofavorite" source: version: "1.5.0"
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Raul Arabaolaza You are using wrong groupId. The correct one for BO plugins is "io.jenkins.blueocean"

            Show
            oleg_nenashev Oleg Nenashev added a comment - Raul Arabaolaza You are using wrong groupId. The correct one for BO plugins is "io.jenkins.blueocean"
            Hide
            rarabaolaza Raul Arabaolaza added a comment -

            Oleg Nenashev is absolutely right, my failure here

            Show
            rarabaolaza Raul Arabaolaza added a comment - Oleg Nenashev is absolutely right, my failure here

              People

              Assignee:
              rarabaolaza Raul Arabaolaza
              Reporter:
              rarabaolaza Raul Arabaolaza
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: