fabric8-pipeline-library
fabric8-pipeline-library copied to clipboard
Incorrect namespace created
Steps to reproduce
- Add
def envStage = utils.environmentNamespace('my-project')
to a Jenkinsfile - Run in Jenkins
Expected
We would expect a new namespace of 'my-project' is created.
Actual 'default-my-project' is created.
I don't think that's the purpose of that function: https://github.com/fabric8io/fabric8-pipeline-library/blob/master/src/io/fabric8/Utils.groovy#L20