Command Line - Terminus Pipeline (Classic)

PHOTO EMBED

Tue Aug 30 2022 19:19:06 GMT+0000 (UTC)

Saved by @MattMoniz #yaml #terminus

cd $(vr_path)

branchName=$(System.PullRequest.SourceBranch)
SourceRepositoryURI=$(System.PullRequest.SourceRepositoryURI)

echo branchName is $branchName
echo SourceRepositoryURI is $SourceRepositoryURI

baseUrl="https://${branchName##*/}-bmc-org.pantheonsite.io/"
echo base url is $baseUrl

export PERCY_TOKEN=$(PERCY_TOKEN)
npx percy exec -- cypress run --config baseUrl=$baseUrl
content_copyCOPY