Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ steps:
eyesBaseUrl: "https://testeyes.applitools.com"
env:
APPLITOOLS_SERVER_URL: "https://testeyes.applitools.com"


- script: |
export ADO_BATCH_ID=$APPLITOOLS_BATCH_ID
export APPLITOOLS_BATCH_ID=$APPLITOOLS_BATCH_ID_FOR_GH
curl --location 'https://testeyes.applitools.com/api/sessions/batches/bindpointers/$APPLITOOLS_BATCH_ID?apiKey=$APPLITOOLS_API_KEY' --header 'Content-Type: application/json' --data '{ "secondaryBatchPointerId": "$ADO_BATCH_ID"}'
npm install
APPLITOOLS_SHOW_LOGS=true npm test
#npm run build
displayName: 'npm install and build '
displayName: 'npm install and build'
env:
APPLITOOLS_API_KEY: $(_testeyes_applitools_api_key)
# APPLITOOLS_BATCH_ID: $(System.PullRequest.SourceCommitId)
APPLITOOLS_SERVER_URL: "https://testeyes.applitools.com"
APPLITOOLS_BATCH_ID_FOR_GH: $(azure-pipelines-System.PullRequest.SourceCommitId)