fix: fixed agent docker installation
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit Details

amorozov 2023-04-04 19:40:52 +03:00
parent 6a665ddc9c
commit 682623d148
1 changed files with 5 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -17,7 +17,11 @@ pipeline {
stages { stages {
stage('prepare') { stage('prepare') {
steps { 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 { script {
env.IMAGE_BASE_NAME = "jdk14-alpine" env.IMAGE_BASE_NAME = "jdk14-alpine"
env.RELEASE_TAG_PREFIX = "release-" env.RELEASE_TAG_PREFIX = "release-"