-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add CI_JOB_NAME_SLUG #651
Add CI_JOB_NAME_SLUG #651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes trailing hyphen on slugs. Adds a few more variables
Also: // in src/predefined-variables.ts
CI_COMMIT_AUTHOR: `${gitData.user["GITLAB_USER_NAME"]} <${gitData.user["GITLAB_USER_NAME"]}>` |
Solves #650 |
Co-authored-by: Atli Christiansen <atli.christiansen@gmail.com>
Co-authored-by: Atli Christiansen <atli.christiansen@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@atc-cegodk I cannot merge for some reason. |
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add CI_JOB_NAME_SLUG * Use proper regex n' stuff to get proper CI_JOB_NAME_SLUG * Update src/job.ts Co-authored-by: Atli Christiansen <atli.christiansen@gmail.com> * Update src/job.ts Co-authored-by: Atli Christiansen <atli.christiansen@gmail.com> * Fix bug in predefined-variables.ts Co-authored-by: Atli Christiansen <atli.christiansen@gmail.com> Former-commit-id: 3f65ce5
closes #650