问题
If I have created a bluemix toolchain through UI, how can I export that. I see there's an option to create a toolchain from a template described in yml files. But how can I get these yml files for an existing toolchain created using UI. Thanks
回答1:
In it's current form and shape, there isn't a import-export option for the toolchains.
The existing toolchain templates have a repository where the file representation is stored (YAML, JSON and others).
Clone a toolchain from this github repository to create your own toolchain and make the relevant changes.
For the pipelines that you created using the UI, you can see the YAML contents by adding "/yaml" to the URL.
For example, If your pipeline URL is:
https://console.bluemix.net/devops/pipelines/pipelineIDENTIFIER?env_id=ibm:yp:us-south
then the YAML can be seen by using the URL below:
https://console.bluemix.net/devops/pipelines/pipelineIDENTIFIER/yaml?env_id=ibm:yp:us-south
Amend the repo with this YAML file (for the pipeline) and you now have a repo that can be used to create your toolchain.
In summary, not a straight-forward way to import-export however it can be done with some effort.
来源:https://stackoverflow.com/questions/47532786/bluemix-toolchain-export-import