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

Custom build: force clean build

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • 5.5
    • Custom builds
    • None
    • 0
    • 1
    • 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.

      As described in Answers here ...
      https://answers.atlassian.com/questions/53869/is-there-any-way-to-manually-clear-a-workspace-in-bamboo

      ... there is a desire to sometimes run a clean build. I need that today, but it's a rare occurence. The suggestion is either:
      1) Change the Checkout Source task to "Force Clean Build" ... but then I have to go into the same configuration later and uncheck it. I'm trying to do this just once.
      2) Create a plan variable for cleaning the source tree. The suggestion works pretty good, but requires both:

      the user to be using git (as opposed to SubVersion)
      the user to do all that work in Ant or in a script to look for the variable and run that conditionally.

      The "Run custom..." already asks the user a question about the checkout. It asks for a revision number (see attachment). To me, doing a clean build is a Custom Build thing to do, and it's something related to the checkout, right next to the existing question. This customizable build option should come out-of-the-box as a feature with Bamboo.

      This way, I can reset my build to take into account dependency-changes that aren't fully declared, forcing everything to be remade. This will allow my developers' builds to go green faster, without any custom work – no build-engineer or admin involved.

              Unassigned Unassigned
              0b0a6607a9a8 Tyler Mace
              Votes:
              9 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: