state folder is not automatically created (Bug #45)


Added by Olivier Sannier about 6 years ago. Updated about 6 years ago.


Status:Closed Start date:01/04/2012
Priority:Normal Due date:
Assignee:Ruben Willems % Done:

0%

Category:- Spent time: -
Target version:1.7
Affected version:1.6

Description

Hello,

One can specify a state folder with this construct:

<state type="state" directory="c:\some\dir" />

This directory might not exist on first run of the given project and contrary to artifactDirectory and workingDirectory, it is not created automatically.
This leads to an error at the end of a build because CCNet cannot save the state of the build.

It would be nice if that directory was created automatically like the others are.


Associated revisions

Revision 710a9ddb
Added by Olivier Sannier about 6 years ago

Must ensure state folder exists whenever it is read, not when it is set, so that it is also created after being streamed out of the config file. (Issue #45, http://www.cruisecontrolnet.org/issues/45)

Revision 9619aae8
Added by Olivier Sannier about 6 years ago

Must ensure state folder exists whenever it is read, not when it is set, so that it is also created after being streamed out of the config file. (Issue #45, http://www.cruisecontrolnet.org/issues/45)

Revision 759dc994
Added by Olivier Sannier about 6 years ago

Must ensure state folder exists whenever it is read, not when it is set, so that it is also created after being streamed out of the config file. (Issue #45, http://www.cruisecontrolnet.org/issues/45)

History

Updated by Daniel Hommel about 6 years ago

Apparently the current pull request to fix this issue causes FileStateManager test to fail.

Updated by Ruben Willems about 6 years ago

  • Assignee set to Ruben Willems
  • Status changed from New to Resolved

Updated by Ruben Willems about 6 years ago

  • Target version set to 1.7

Updated by Ruben Willems about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF