-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
When running the same job on the same Jenkins agent multiple times this line might lead to this error
This might lead to
gitops-build-lib/src/com/cloudogu/gitopsbuildlib/deployment/helm/repotype/HelmRepo.groovy
Line 39 in bf0eb9d
script.sh "helm pull chartRepo/${helmConfig.chartName} --version=${helmConfig.version} --untar --untardir=${script.env.WORKSPACE}/${helmChartTempDir}/${chartRootDir}" |
Error: failed to untar: a file or directory with the name..
More details, example from cloudogu/gitops-playground@e1ee67c
[Pipeline] sh
+ helm repo add chartRepo https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
"chartRepo" has been added to your repositories
[Pipeline] sh
+ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "chartRepo" chart repository
Update Complete. ⎈Happy Helming!⎈
[Pipeline] sh
+ helm pull chartRepo/nginx '--version=13.2.21' --untar '--untardir=/tmp/gitops-playground-jenkins-agent/workspace/ications_nginx-helm-jenkins_main/.helmChartTempDir/chart'
Error: failed to untar: a file or directory with the name /tmp/gitops-playground-jenkins-agent/workspace/ications_nginx-helm-jenkins_main/.helmChartTempDir/chart/nginx already exists
[Pipeline] }
$ docker stop --time=1 f85f53e162446a3c948a1c762623fab168d1fb96a990e3a2a66f8fcec8d3ae49
$ docker rm -f --volumes f85f53e162446a3c948a1c762623fab168d1fb96a990e3a2a66f8fcec8d3ae49
Metadata
Metadata
Assignees
Labels
No labels