Only one site in our roadmap.
- https://do.pingcap.net (in development)
/jobs
store Jenkins CI job DSL files./pipelines
store Jenkins CI pipeline scripts./libraries
store Jenkins CI shared libraries.
- using
<org>/<repo>/<branch-special>/<pipeline-name>.groovy
structure. - using dir soft link to reduce duplicate pipeline files for branch special, for an example:
- soft link
release-6/
totrunk/
- soft link
release-6.2/
torelease-6/
- create dir
release-6.1/
because special steps. - when step in release 7.x, soft link
release-7/
totrunk/
- when new step should added in release 7.x
- detach the soft link
release-6/
totrunk
- create copy
trunk/
torelease-6/
- update files in
release-7/
ortrunk
(real path).
- detach the soft link
- soft link
- Do not use light checkout: avoid soft link in git.
/jenkins/jobs
store migrated or migrating Jenkins CI job DSL files for server ci.pingcap.net, ci2.pingcap.net and cd.pingcap.net./jenkins/pipelines
store Jenkins CI pipeline scripts for server ci.pingcap.net, ci2.pingcap.net and cd.pingcap.net.