5
5
displayName : Install nuget
6
6
7
7
- 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
15
9
npm install
16
10
displayName : npm install
17
11
21
15
downloadPath : $(Build.SourcesDirectory)/IndividualNugetPackagesDownloaded
22
16
displayName : Download Artifact
23
17
24
- - powershell : ./azure-pipelines-tasks /ci/set-sprint-variables.ps1
18
+ - powershell : $(Build.SourcesDirectory) /ci/set-sprint-variables.ps1
25
19
displayName : Set currentSprint variables
26
20
27
21
- powershell : |
@@ -30,21 +24,17 @@ steps:
30
24
displayName : Set currentDate variable
31
25
32
26
- template : /ci/generate-branch-name.yml@self
33
- parameters :
34
- prefix : users/$(Build.RequestedFor)
35
27
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
37
29
displayName : Update unified deps and create branch
38
30
env :
39
- USERNAME : $(Build.RequestedFor)
40
31
TOKEN : $(System.AccessToken)
41
- USEREMAIL : $(Build.RequestedForEmail)
42
32
BRANCH_NAME : $(branchName)
43
33
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
46
37
displayName : Send MS Teams notification
47
38
condition : eq(variables['build.reason'], 'Schedule')
48
39
env :
49
40
TEAMS_WEBHOOK : $(MSTeamsUri)
50
-
0 commit comments