From 682623d148cd640c280e251aaa43587e4f56482b Mon Sep 17 00:00:00 2001 From: amorozov Date: Tue, 4 Apr 2023 19:40:52 +0300 Subject: [PATCH] fix: fixed agent docker installation --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 58b0f08..006ad55 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,11 @@ pipeline { stages { stage('prepare') { steps { - sh "apk update && apk add --no-cache git docker-cli" + sh """ + apk update && \ + apk del docker && \ + apk add --no-cache git docker-cli + """ script { env.IMAGE_BASE_NAME = "jdk14-alpine" env.RELEASE_TAG_PREFIX = "release-"