Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-25442

Support missing artifacts for Artifact Downloader task

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 9.4.0
    • Artifacts
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Sometimes artifacts are not generated in builds, which is fine in some business cases. (some of the artifacts may be defined, others are not, depending on the release)

      I still like to setup the deployment task 'Download Artifact' and just have it exit without failure if the artifact is missing. 

      It would be great if we can check a box on the Download Artifact task configuration that says 'Fail on missing/empty artifact' (or the opposite)

      The standard code is really close to having this feature.

      The Artifact Downloader task is defined in 

      com.atlassian.bamboo.plugins.artifact.ArtifactDownloaderTask.

      This class has a property of 

      final boolean failOnMissing = true;

      which is always set to true.

      If this is a configurable setting, that would help tremendously in our business case

      Attachments

        Issue Links

          Activity

            People

              851f15845f55 Mateusz Szmal
              643322c6ad3d Pieter Wouter Hartog
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: