add waraning about export to docs
This commit is contained in:
parent
2dc5e3518c
commit
684fe6ea75
|
|
@ -16,6 +16,4 @@ Various samples of plugins' configuration can be found in [demos](../demos) fold
|
|||
|
||||
## Export existing configuration
|
||||
|
||||
To be able to do that you need to install the plugin manually on your working Jenkins instance and use export function under http://[your_jenkins_url]/configuration-as-code/. Please note that, at this time, the produced yaml output might not be usable as-is
|
||||
as input for Configuration-as-Code. A strict roundtrip between export and configure is under consideration but might require some
|
||||
changes in jenkins-core and few plugins.
|
||||
To be able to do that you need to install the plugin manually on your working Jenkins instance and use export function under http://[your_jenkins_url]/configuration-as-code/. Please note that export is not intended to offer a directly usable jenkins.yaml configuration. It can be used for inspiration writting your own, but be aware that export can be partial, or fail for some components.
|
||||
|
|
@ -30,7 +30,7 @@ The devops team would like more traceability around changes, by completely move
|
|||
|
||||
From that point on they all have full traceability of all the changes made, and they are able to roll it back easily by reverting commits. They can review the changes simply by looking at the git diffs on commits.
|
||||
|
||||
**Getting there and adopting Jenkins Configuration as Code** is also quite easy for the devops team. They will need to install the plug-in, and go the the Configuration as Code menu in Manage Jenkins, and use the export function to create the initial YAML files that represent their current global configuration and plug-in's installed.
|
||||
**Getting there and adopting Jenkins Configuration as Code** is also quite easy for the devops team. They will need to install the plug-in, and go the the Configuration as Code menu in Manage Jenkins, and use the export function to create the initial YAML files that represent their current global configuration and plug-in's installed. Export is not intended to offer a directly usable jenkins.yaml configuration. It can be used for inspiration writting your own, but be aware that export can be partial, or fail for some components.
|
||||
|
||||
When the files are in git, they can point to the file in the repository in the Configuration as Code menu, and click reload so Jenkins updates it's configuration accordingly.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue