JenkinsX CI CD pipeline fails because user x-0 already exists

7/3/2019

I'm deploying a solution in kubernetes in a local cluster using jenkins-X CI/CD, but, every (second) time I run a pipeline the jenkins Fail the build due error: users.jenkins.io "x-0" already exists

The turnover for this error is manually delete this user in jenkins x using: jx delete user x-0 but I think this is not the expected behavior.

this is the output:

+ jx preview --app myapp --dir ../..

Creating a preview

error: users.jenkins.io "x-0" already exists

script returned exit code 1

Any thoughts?

-- Lvcz
jenkins
jenkins--x
kubernetes
kubernetes-helm

0 Answers