Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-524

If a file is excluded from build, then promotion is not possible anymore

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not a Bug
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.4
    • Component/s: Gradle
    • Labels:
      None
    • Environment:

      Jenkins LTS

      Description

      Hi,

      We encountered a problem when we start to use exclusion pattern in maven artifact deploy using Gradle integration (Gradle-Artifactory Integration -> Use Maven compatible patterns -> Exclude patterns). Indeed if we specify an exclusion pattern we are able to avoid to deploy some files generated by the build process. However we noticed that even if the file is not deployed it is still shown as part of the build in Artifactory build info.
      Then if we try to promote the build, it fails saying that the exclude artifact is not found. It is indeed not deployed (as wanted) but it looks like it needs it for promotion as it is still present in build info.

      Can you look into that please,
      Thanks,
      Regards,

      Guillaume

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eyalbe Eyal Ben Moshe (Inactive)
                Reporter:
                eguibib Guillaume Bibens
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: