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

Build with artifact definition passes even when no artifacts get attached

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • Artifacts
    • None
    • 4
    • 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

      I have a build plan with artifact definition(s). Build passes even when no artifacts get attached to the build from (any of) artifact definition(s).

      19-Apr-2015 16:53:44	Running post build plugin 'Artifact Copier'
      19-Apr-2015 16:53:44	Publishing an artifact: foo
      19-Apr-2015 16:53:44	Finished publishing of artifact Shared artifact: [foo], pattern: [foo] in 0s
      19-Apr-2015 16:53:44	Running post build plugin 'Post Command Agent Runner'
      19-Apr-2015 16:53:44	Running post build plugin 'npm Cache Cleanup'
      19-Apr-2015 16:53:44	Running post build plugin 'NCover Results Collector'
      19-Apr-2015 16:53:44	Running post build plugin 'Clover Results Collector'
      19-Apr-2015 16:53:44	Finalising the build...
      19-Apr-2015 16:53:44	Stopping timer.
      19-Apr-2015 16:53:44	Build FOO-137 completed.
      19-Apr-2015 16:53:45	Running on server: post build plugin 'Clover Delta Calculator'
      19-Apr-2015 16:53:46	Running on server: post build plugin 'Build Hanging Detection Configuration'
      19-Apr-2015 16:53:46	Running on server: post build plugin 'deploymentResultProcessor'
      19-Apr-2015 16:53:46	Running on server: post build plugin 'NCover Results Collector'
      19-Apr-2015 16:53:46	Running on server: post build plugin 'Maven Dependencies Postprocessor'
      19-Apr-2015 16:53:46	All post build plugins have finished
      19-Apr-2015 16:53:46	Generating build results summary...
      19-Apr-2015 16:53:46	Saving build results to disk...
      19-Apr-2015 16:53:46	Indexing build results...
      19-Apr-2015 16:53:46	Finished building FOO-137.
      

      "Produced artifacts" paragraph on stage Artifacts tab for this build says

      There have been no artifacts set up for this job.

      Imagine a user configuring artifact definition for a build plan, verifying it works for couple of builds, and then after some time realising that it has stopped working, that no artifacts were available for past n builds, while all those past builds have been labeled as successful.

      At least allow from artifact definition one to choose what number of artifacts must come out of artifact definition. "Any"/-1 can be default value.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              b684ee06-d749-44b0-a2aa-8336e74fddca Deleted Account (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: