diff --git a/Jenkinsfile b/Jenkinsfile index 8b97633..931a67c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ kind: Pod spec: containers: - - name: python-3.9-slim-buster-build + - name: python-39-slim-buster-build image: python:3.9-slim-buster command: - cat @@ -88,7 +88,7 @@ stage('Chechout Repo cockoo') { steps { - container('python-3.9-slim-buster-build') { + container('python-39-slim-buster-build') { withCredentials([usernamePassword(credentialsId: 'H000146', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_PASS')]) { @@ -109,7 +109,7 @@ stage('Setup Python') { steps { - container('python-3.9-slim-buster-build') { + container('python-39-slim-buster-build') { sh """ cd ledge @@ -127,7 +127,7 @@ stage('Create PVC') { steps { - container('python-3.9-slim-buster-build') { + container('python-39-slim-buster-build') { // Apply PVC manifest if kubectl is available sh "if command -v kubectl >/dev/null 2>&1; then kubectl apply -f k8s/pvc-chrome-profile.yaml || true; kubectl wait --for=condition=bound pvc/chrome-profile-pvc --timeout=60s || true; else echo 'kubectl not found, skipping PVC creation'; fi" } @@ -136,7 +136,7 @@ stage('Run Robot Tests') { steps { - container('python-3.9-slim-buster-build') { + container('python-39-slim-buster-build') { sh '. $VENV_DIR/bin/activate && mkdir -p ${OUTPUTDIR} && ./jenkins/run_robot.sh' } }