diff --git a/first-class-pipeline/vars/pipelineCall.groovy b/first-class-pipeline/vars/pipelineCall.groovy index ea545448..0db3d709 100644 --- a/first-class-pipeline/vars/pipelineCall.groovy +++ b/first-class-pipeline/vars/pipelineCall.groovy @@ -71,8 +71,28 @@ def call(Map configurations) { stage("Dependencies Resolving") { agent { - docker { - image env.BUILD_AGENT_IMAGE + kubernetes { + defaultContainer 'dep-resolver' + yaml """ +apiVersion: v1 +kind: Pod +metadata: + labels: + freeleaps-devops-system/stage: dependencies-resolving +spec: + containers: + - name: dep-resolver + image: ${env.BUILD_AGENT_IMAGE} + command: + - cat + tty: true + volumeMounts: + - name: workspace + mountPath: /workspace + volumes: + - name: workspace + emptyDir: {} +""" } } steps {