IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-11714

Clean working directory before each successful build

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • 6.0.0
    • Builds
    • 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.

      Problem

      Presently Bamboo allows cleaning of directory after each succesfull build. It will be a great idea to clean before builds as well. This has the added advantage of providing the following:

      * debugging - as generated files could be easily inspected without resorting to artifacts
      * ensuring behaviour for aborted builds
      * takes care of possible nasty linking interference cases when a new build produces less files or a different set of objects than the previous one
      * generally when certain tools get confused about already existing files (or folders with the same name, etc.)
      

      Solution

      Use "Clean working directory task" to clean working directory in a Job. If this task is a first task in a Job it will be run before artifact dependencies are downloaded.

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Bamboo Data Center'
            1. Bamboo Data Center
            2. BAM-11714

            Clean working directory before each successful build

              • Icon: Suggestion Suggestion
              • Resolution: Done
              • 6.0.0
              • Builds
              • 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.

                Problem

                Presently Bamboo allows cleaning of directory after each succesfull build. It will be a great idea to clean before builds as well. This has the added advantage of providing the following:

                * debugging - as generated files could be easily inspected without resorting to artifacts
                * ensuring behaviour for aborted builds
                * takes care of possible nasty linking interference cases when a new build produces less files or a different set of objects than the previous one
                * generally when certain tools get confused about already existing files (or folders with the same name, etc.)
                

                Solution

                Use "Clean working directory task" to clean working directory in a Job. If this task is a first task in a Job it will be run before artifact dependencies are downloaded.

                        mgardias Marcin Gardias
                        smaiyaki Sultan Maiyaki (Inactive)
                        Votes:
                        38 Vote for this issue
                        Watchers:
                        32 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            mgardias Marcin Gardias
                            smaiyaki Sultan Maiyaki (Inactive)
                            Votes:
                            38 Vote for this issue
                            Watchers:
                            32 Start watching this issue

                              Created:
                              Updated:
                              Resolved: