Skip to content

Commit

Permalink
Add Jenkins trigger to Azure (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
alwa-nordic authored Jun 14, 2019
1 parent 5adbbe4 commit c92a3a8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,29 @@ jobs:
nodeArch: $(nodeArch)
npmConfigRuntime: 'electron'
npmConfigTarget: 4.1.4

- job: Test
dependsOn: [
Build,
]
strategy:
matrix:
linux:
osType: 'linux'
mac:
osType: 'mac'
win64:
osType: 'win64'
win32:
osType: 'win32'
pool: server
steps:
- task: InvokeRESTAPI@1
displayName: Test
inputs:
connectionType: 'connectedServiceName'
serviceConnection: 'waylandJenkins'
method: 'POST'
urlSuffix: 'view/pc-ble-driver-js/job/pc-ble-driver-js-$(osType)/buildWithParameters?BRANCH=$(Build.SourceBranch)&VSTS_URL=$(system.CollectionUri)&TOKEN=$(system.AccessToken)&PROJECT_ID=$(system.teamProjectId)&HUB_NAME=$(system.hostType)&PLAN_ID=$(system.planId)&TASK_ID=$(system.taskInstanceId)&JOB_ID=$(system.jobId)'
waitForCompletion: 'true'
condition: ne(variables['Build.Reason'], 'PullRequest')

0 comments on commit c92a3a8

Please sign in to comment.