Skip to content

get_branch return always "HEAD" #9

Open

Description

@svensq

Function get_branch return always "HEAD" in GitLab CI.

Activity

  1. brejoc commented on Jul 12, 2017

    @brejoc
    Member
  2. brejoc commented on Aug 11, 2017

    @brejoc
    Member

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

  3. svensq commented on Aug 11, 2017

    @svensq
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions