feat(pipeline): add ProjectInitializer pipeline and update README for builtin pipelines

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-10 02:01:34 +08:00
parent 1335c9ec8d
commit fd3e1545b3
3 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,6 @@
pipeline {
agent any
parameters {
string(name: "Service Name")
}
}

View File

@ -0,0 +1,5 @@
# Builtin Pipelines
## ProjectInitializer.jenkins
Using to generate project specific pipeline based on `first-class-pipeline` shared library.

View File

@ -379,11 +379,7 @@ def generateComponentStages(component, configurations) {
privileged: true,
ttyEnabled: true,
command: 'sleep',
args: 'infinity',
volumeMounts: [
// We need to mount the docker socket to the container to build the image when using dind as image builder
volumeMount(mountPath: '/var/run/docker.sock', name: 'docker-sock'),
]
args: 'infinity'
)
],
volumes: [