Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-317

Build doesn't fail if no artifacts are found.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Environment:

      Bamboo 5.9.7

      Description

      When my bamboo plan builds, it creates a tarball as its last step. I then use an artifactory generic deploy final task to store the tarball in artifactory.

      If I don't get the Edit Published Artifacts correct in the artifactory plugin, when the deploy task runs you'll see a line like:

      For pattern: /opt/bamboo-agent-home/xml-data/build-dir/GCC-BUIL-BUIL/gmpbinaries-6.1.0.tar.gz 0 artifacts were found

      Well, if 0 artifacts were found, that's a bad thing. However, the build is still marked as successful. This is incredibly misleading because subsequent builds will fail because the artifact never was placed in artifactory.

      Can some sort of option be added to the artifactory deploy task such that it will fail the build if no matching artifacts are found?

        Attachments

          Activity

            People

            • Assignee:
              eyalbe Eyal Ben Moshe (Inactive)
              Reporter:
              davidspencerward David Ward
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: