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

owner field of bitbucket server repository is always reset to wrong value #200

Open
Danny02 opened this issue Jun 19, 2022 · 0 comments
Open

Comments

@Danny02
Copy link

Danny02 commented Jun 19, 2022

Hi,

I have some problems setting up Jenkins-X with Bitbucket Server in my org.

The git URL of the Jenkins-X cluster settings is:
https://myorg.com/bitbucket/scm/myteam/jx3-kubernetes.git

in the jx-requirements.yml I have the following values:

environmentGitOwner: myteam
gitKind: bitbucketserver
gitServer: https://myorg.com/bitbucket

When I execute jx project import I get the error:
no --git-kind supplied for server https://myorg.com so assuming kind is github

When I use jx project import --git-kind bitbucketserver I get the error:
error: failed to clone dev env git repository: failed to clone dev environment git repository https://myorg.com/bitbucket/scm/bitbucket/jx3-kubernetes.git

The reason for that seems to be a commit by the git operator with the message "chore: regenerated". This commits adds the following settings:

environments:
  - key: dev
    owner: bitbucket
    repository: jx3-kubernetes

The value gets always reset if I change the owner to myteam.

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