55 displayName : Install nuget
66
77- powershell : |
8- $sourcePath = "$(Build.SourcesDirectory)/azure-pipelines-tasks/.gdn"
9- $destinationPath = "$(Build.SourcesDirectory)/"
10- Copy-Item -Path $sourcePath -Destination $destinationPath -Recurse
11- displayName : Copy baseline files to root
12-
13- - powershell : |
14- cd azure-pipelines-tasks/ci/courtesy-push
8+ cd $(Build.SourcesDirectory)/ci/courtesy-push
159 npm install
1610 displayName : npm install
1711
2115 downloadPath : $(Build.SourcesDirectory)/IndividualNugetPackagesDownloaded
2216 displayName : Download Artifact
2317
24- - powershell : ./azure-pipelines-tasks /ci/set-sprint-variables.ps1
18+ - powershell : $(Build.SourcesDirectory) /ci/set-sprint-variables.ps1
2519 displayName : Set currentSprint variables
2620
2721- powershell : |
@@ -30,21 +24,17 @@ steps:
3024 displayName : Set currentDate variable
3125
3226- template : /ci/generate-branch-name.yml@self
33- parameters :
34- prefix : users/$(Build.RequestedFor)
3527
36- - script : node azure-pipelines-tasks\ci\ courtesy-push\ courtesy-push.js $(Build.SourcesDirectory)/IndividualNugetPackagesDownloaded\ IndividualNugetPackages\ unified_deps.xml
28+ - script : node $(Build.SourcesDirectory)/ci/ courtesy-push/ courtesy-push.js $(Build.SourcesDirectory)/IndividualNugetPackagesDownloaded/ IndividualNugetPackages/ unified_deps.xml
3729 displayName : Update unified deps and create branch
3830 env :
39- USERNAME : $(Build.RequestedFor)
4031 TOKEN : $(System.AccessToken)
41- USEREMAIL : $(Build.RequestedForEmail)
4232 BRANCH_NAME : $(branchName)
4333 DRYRUN : $(isDryRun)
44-
45- - powershell : .\azure-pipelines-tasks\ci\courtesy-push\send-notification.ps1
34+ USERNAME : $(username)
35+
36+ - powershell : $(Build.SourcesDirectory)/ci/courtesy-push/send-notification.ps1
4637 displayName : Send MS Teams notification
4738 condition : eq(variables['build.reason'], 'Schedule')
4839 env :
4940 TEAMS_WEBHOOK : $(MSTeamsUri)
50-
0 commit comments