From 5b6a00b485b74e14202cd806103d6d0e8b1e38cc Mon Sep 17 00:00:00 2001 From: shashi kumar Date: Thu, 31 Jul 2025 23:22:31 +0530 Subject: [PATCH] adding stage for installing python --- jenkins-setup/pipelines/Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jenkins-setup/pipelines/Jenkinsfile b/jenkins-setup/pipelines/Jenkinsfile index a1536e5..ae95f80 100644 --- a/jenkins-setup/pipelines/Jenkinsfile +++ b/jenkins-setup/pipelines/Jenkinsfile @@ -18,11 +18,17 @@ pipeline { stage('Install Docker CLI') { steps { sh ''' - apt-get update && apt-get install -y docker.io + apk add --no-cache docker-cli docker --version ''' } } + stage('Install Python') { + steps { + sh 'apk add --no-cache python3 py3-pip' + sh 'python3 --version' + } + } stage('Build') { steps {