diff --git a/first-class-pipeline/pipeline/ProjectInitializer.jenkins b/first-class-pipeline/pipeline/ProjectInitializer.jenkins new file mode 100644 index 00000000..93cda1b9 --- /dev/null +++ b/first-class-pipeline/pipeline/ProjectInitializer.jenkins @@ -0,0 +1,6 @@ +pipeline { + agent any + parameters { + string(name: "Service Name") + } +} \ No newline at end of file diff --git a/first-class-pipeline/pipeline/README.md b/first-class-pipeline/pipeline/README.md new file mode 100644 index 00000000..3c53d4f7 --- /dev/null +++ b/first-class-pipeline/pipeline/README.md @@ -0,0 +1,5 @@ +# Builtin Pipelines + +## ProjectInitializer.jenkins + +Using to generate project specific pipeline based on `first-class-pipeline` shared library. diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index 9031d809..ba528725 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -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: [