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

Downstream pipelines are not triggered when the artifact has type docker-info

      Our standard is to build a SpringBoot fatjar containing one micro service, and then a docker image of it.

      We use the [dockerfile-maven-plugin|https://github.com/spotify/dockerfile-maven] for the last part, and in particular its docker-info jars to record maven dependencies between images.

      But these dependencies are not seen by the plugin, and thus dependent builds are not triggered.

      The bad thing is :

      • the docker-info jar, when produced, is recorded with type=docker-info and classifier=docker-info
      • when consumed as a dependency, it is with type=jar and classifier=docker-info (even if forcing the type in the POM)

          [JENKINS-59500] Downstream pipelines are not triggered when the artifact has type docker-info

          benoit guerin created issue -
          benoit guerin made changes -
          Link New: This issue relates to JENKINS-50475 [ JENKINS-50475 ]
          benoit guerin made changes -
          Link New: This issue relates to JENKINS-50205 [ JENKINS-50205 ]
          benoit guerin made changes -
          Link New: This issue relates to JENKINS-50099 [ JENKINS-50099 ]
          benoit guerin made changes -
          Attachment New: downstream-spy.log [ 48846 ]
          Attachment New: upstream-spy.log [ 48847 ]

          benoit guerin added a comment -

          Attached are extracts of spy logs from upstream project (producing the docker-info jar) and downstream project (consuming it)

          benoit guerin added a comment - Attached are extracts of spy logs from upstream project (producing the docker-info jar) and downstream project (consuming it)

          benoit guerin added a comment -

          I think we should consider that two Maven artefacts having same groupId, artifactId, version and same type or null classifier or same classifier, are the sames

          benoit guerin added a comment - I think we should consider that two Maven artefacts having same groupId, artifactId, version and same type or null classifier or same classifier, are the sames
          benoit guerin made changes -
          Remote Link New: This issue links to "PR #226 (Web Link)" [ 23711 ]
          benoit guerin made changes -
          Assignee Original: Alvaro Lobato [ alobato ] New: benoit guerin [ falcon ]
          benoit guerin made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            falcon benoit guerin
            falcon benoit guerin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: