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

Add support for multimodule plugins (like BO) to CWP

    • Evergreen - Milestone 1

      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

          [JENKINS-51298] Add support for multimodule plugins (like BO) to CWP

          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"
          

          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"

          Oleg Nenashev added a comment -

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

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

          oleg_nenashev is absolutely right, my failure here

          Raul Arabaolaza added a comment - oleg_nenashev is absolutely right, my failure here

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

              Created:
              Updated:
              Resolved: