Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
Added sfdx authURL authentication to smoke test pipeline (#555)
Browse files Browse the repository at this point in the history
* Added sfdx authURL authentication

* Updated task to a commandline task

* Removed - from line 42 in smoke-test-template.yml

* changed method for file download for authURL

* Added task to authenticate to huborg

* Added inputs line on Auth Huborg

* removed task for Auth

* Added name on download file task

* Added $ variable wrapper on line 46

* removed display name on auth huborg

Co-authored-by: Henry Lay <henry.lay@amac02che0jmd6r.modem>
  • Loading branch information
henry88lay and Henry Lay committed Aug 17, 2021
1 parent 012bdcd commit 04ac050
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions templates/smoke-test-template.yml
Expand Up @@ -36,11 +36,14 @@ steps:
script: |
sfdx plugins:link

- task: sfpwowerscript-authenticateorg-task@9
displayName: "Authenticate HubOrg using ServiceConnection"
- task: DownloadSecureFile@1
name: hubOrgAuthFile
inputs:
salesforce_connection: "devhub_ma"
alias: HubOrg
secureFile: 'authFile.json'

- script: |
sfdx auth:sfdxurl:store -f $(hubOrgAuthFile.secureFilePath) -a HubOrg
displayName: 'Authenticate HubOrg'

- task: CmdLine@2
displayName: Smoke Test Org Commands
Expand Down

0 comments on commit 04ac050

Please sign in to comment.