citadel.nodes.build module¶
-
class
citadel.nodes.build.Build(yml, path)[source]¶ Synopsis: Placeholder for the build stage. Requirements: None Platform: Any Usage
1 2 3
build: maven: lifecycle: clean install
This module is simply part of the convention to run citadel by stages. Other supported stages are: publish, deploy and test. These are used to control their execution at specific moments since, at some points of your lifecycle you may wish to simply run the build and publish stages, or just the deploy, without having to run the whole thing.
Stages get used when invoking the CLI of citadel itself:
1
citadel-generate -i build,publish,test
Would ignore the build and publish phases, and compute whatever there is left in the citadel.yml file (likely the deploy).
If you just want to run the build, you could:
1
citadel-generate -i publish,deploy,test