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'!
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:]'
here the ouput of the command (see the spaces are removed in the path):