Closed dcoraboeuf closed 9 years ago
At trigger time, the project has no longer any notion of a class which was associated to it when it was generated in the first place.
This information must be saved and retrieved. The configuration of the project seed cannot be used because its own path is subject to the configuration of the project.
Upon generation, the configuration of the project can be saved in a seed/<project>.yaml
project and retrieved from there.
This has also the big benefit of storing a snapshot of the project configuration at the time it was generated, making it isolated from any global change.
The project configuration is saved in the Jenkins configuration and reused upon branch/pipeline generation and upon an trigger event.
If the project configuration must be actualised, the project seed must be regenerated.
Given the following configuration:
If the project
p
uses themy-class
class, then firing the following event:raises the following error:
The
p-master-ci
build should have been fired instead.