Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the script remove space in folder name #22

Open
survivant opened this issue May 2, 2022 · 0 comments
Open

the script remove space in folder name #22

survivant opened this issue May 2, 2022 · 0 comments

Comments

@survivant
Copy link

I try to send a chart to nexus repository but I have space in my folder name but there are removed. The last part of the script remove them with the tr -d '[:space:]'

Successfully packaged chart and saved it to: /home/xxx/workspace/Pipelines/Interface - cicd/Kubernetes API - cicd/kubernetes-api/chart/kubernetes-api-0.0.14-feature-iep-773.tgz
xxx@lnx-testdockerruntime:~/workspace/Pipelines/Interface - cicd/Kubernetes API - cicd/kubernetes-api/chart$ helm package . | cut -d":" -f2
 /home/xxx/workspace/Pipelines/Interface - cicd/Kubernetes API - cicd/kubernetes-api/chart/kubernetes-api-0.0.14-feature-iep-773.tgz
xxx@lnx-testdockerruntime:~/workspace/Pipelines/Interface - cicd/Kubernetes API - cicd/kubernetes-api/chart$ helm package . | cut -d":" -f2 | tr -d ' '
/home/xxx/workspace/Pipelines/Interface-cicd/KubernetesAPI-cicd/kubernetes-api/chart/kubernetes-api-0.0.14-feature-iep-773.tgz
xxx@lnx-testdockerruntime:~/workspace/Pipelines/Interface - cicd/Kubernetes API - cicd/kubernetes-api/chart$

here the ouput of the command (see the spaces are removed in the path):

curl: Can't open '/home/xxx/workspace/Pipelines/Interface-cicd/KubernetesAPI-cicd/kubernetes-api/chart/kubernetes-api-0.0.14-feature-iep-773.tgz'!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant