-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
collect GitLab pipeline id and url for #2343 #2345
Conversation
@@ -219,6 +219,18 @@ updateInstance = (options = {}) -> | |||
else | |||
null | |||
|
|||
getCommitFromGitOrCi = (git) -> | |||
la(check.object(git), 'expected git information object', git) | |||
ciProvider.commitDefaults({ |
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.
fills any properties that have null value
@@ -81,7 +81,7 @@ | |||
}, | |||
"dependencies": { | |||
"@cypress/browserify-preprocessor": "1.1.0", | |||
"@cypress/commit-info": "^1.2.2", | |||
"@cypress/commit-info": "2.0.0", |
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.
v2 returns null
for values it could not determine, breaking gift
compatibility, but making it simple to fill values using CI environment variables
CI_COMMIT_REF_NAME
is there in the environment variables on GitLab, why isn't it in the dashboard (fixed GitLab detection predicate function)