Support missing artifacts for Artifact Downloader task

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 9.4.0
    • Component/s: Artifacts
    • None

      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

            Assignee:
            Mateusz Szmal
            Reporter:
            Pieter Wouter Hartog
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: