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.
- is duplicated by
-
BAM-2387 Conditional cleaning of working directory before building
- Closed
-
BAM-15103 Clean working directory before each build option
- Closed
-
BAM-20207 Clean working directory before job starts
- Closed
- supersedes
-
BAM-17967 Clean entire work directories
- Closed
-
BAM-6328 Clean working directory only after each successful build
- Reviewing
- was cloned as
-
BAM-20207 Clean working directory before job starts
- Closed
- mentioned in
-
Page Loading...
Clean working directory before each successful build
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.
- is duplicated by
-
BAM-2387 Conditional cleaning of working directory before building
- Closed
-
BAM-15103 Clean working directory before each build option
- Closed
-
BAM-20207 Clean working directory before job starts
- Closed
- supersedes
-
BAM-17967 Clean entire work directories
- Closed
-
BAM-6328 Clean working directory only after each successful build
- Reviewing
- was cloned as
-
BAM-20207 Clean working directory before job starts
- Closed
- mentioned in
-
Page Loading...