fix: fixed agent docker installation
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit
Details
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit
Details
parent
6a665ddc9c
commit
682623d148
|
@ -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-"
|
||||||
|
|
Loading…
Reference in New Issue