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

get_branch return always "HEAD" #9

Open
svensq opened this issue Jul 12, 2017 · 3 comments
Open

get_branch return always "HEAD" #9

svensq opened this issue Jul 12, 2017 · 3 comments
Labels

Comments

@svensq
Copy link

svensq commented Jul 12, 2017

Function get_branch return always "HEAD" in GitLab CI.

@brejoc
Copy link
Member

brejoc commented Jul 12, 2017

Looks like this is a known issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/19421

@brejoc brejoc added the bug label Jul 12, 2017
@brejoc
Copy link
Member

brejoc commented Aug 11, 2017

@svensq Btw, how does your work-around look like?

@svensq
Copy link
Author

svensq commented Aug 11, 2017

I use the environment variable "CI_COMMIT_REF_SLUG" of GitLab: https://docs.gitlab.com/ee/ci/variables/#predefined-variables-environment-variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants