diff --git a/create_job.sh b/create_job.sh index 5de4ce98e0f07e8dd7d365280f9c200565a67411..cc1b6b91798aea1047edbe4dff50d070f0308331 100644 --- a/create_job.sh +++ b/create_job.sh @@ -7,6 +7,7 @@ # BUILD_ENV=$1 +OP=$2 cat <<EOT >> simplejob.yml apiVersion: batch/v1 @@ -26,7 +27,7 @@ spec: volumeMounts: - name: sharedbin mountPath: /srv - command: ["/usr/local/bin/deploy-build-env.sh", "$BUILD_ENV"] + command: ["/usr/local/bin/deploy-build-env.sh", "$BUILD_ENV", "$OP"] volumes: - name: sharedbin persistentVolumeClaim: