Skip to content

Commit

Permalink
Collect GitLab CI_JOB_NAME env var (#6111)
Browse files Browse the repository at this point in the history
  • Loading branch information
qaiken authored and jennifer-shehane committed Jan 8, 2020
1 parent 639ba32 commit 12882aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/lib/util/ci_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ const _providerCiParams = () => {
'CI_BUILD_ID', // build id and job id are aliases
'CI_JOB_ID',
'CI_JOB_URL',
'CI_JOB_NAME',
// other information
'GITLAB_HOST',
'CI_PROJECT_ID',
Expand Down
2 changes: 2 additions & 0 deletions packages/server/test/unit/ci_provider_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ describe "lib/util/ci_provider", ->
CI_BUILD_ID: "ciJobId"
CI_JOB_ID: "ciJobId"
CI_JOB_URL: "ciJobUrl"
CI_JOB_NAME: "ciJobName"

CI_PIPELINE_ID: "ciPipelineId"
CI_PIPELINE_URL: "ciPipelineUrl"
Expand All @@ -432,6 +433,7 @@ describe "lib/util/ci_provider", ->
expectsCiParams({
ciJobId: "ciJobId"
ciJobUrl: "ciJobUrl"
ciJobName: "ciJobName"
ciBuildId: "ciJobId"
ciPipelineId: "ciPipelineId"
ciPipelineUrl: "ciPipelineUrl"
Expand Down

4 comments on commit 12882aa

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 12882aa Jan 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.2/win32-ia32/appveyor-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-29965298/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.8.2/win32-ia32/appveyor-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-29965298/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 12882aa Jan 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.2/linux-x64/circle-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-227734/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.8.2/circle-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-227724/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 12882aa Jan 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.2/win32-x64/appveyor-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-29965298/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.8.2/win32-x64/appveyor-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-29965298/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 12882aa Jan 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.2/darwin-x64/circle-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-227738/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.8.2/circle-develop-12882aa4d5cd57b67ed2cf792dd98c7ca448abff-227736/cypress.tgz

Please sign in to comment.