File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 10
10
- checkout : self
11
11
clean : true
12
12
fetchDepth : 1
13
+ submodules : true
13
14
persistCredentials : true
14
15
15
16
- task : PowerShell@2
32
33
git pull
33
34
git status
34
35
36
+
35
37
- task : securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
36
38
displayName : " Run CredScan"
37
39
inputs :
Original file line number Diff line number Diff line change 4
4
parameters :
5
5
- name : Branch
6
6
type : string
7
- default : " WeeklyOpenApiDocsDownload"
8
7
- name : BaseBranch
9
8
type : string
10
- default : " dev"
11
9
- name : BuildAgent
12
- default : MsGraphBuildAgentsWindows
13
10
displayName : Build Agent
14
11
15
12
jobs :
@@ -132,7 +129,7 @@ jobs:
132
129
git add .
133
130
git commit -m 'Weekly OpenApiDocs Download. [run ci]'
134
131
git status
135
- git push --set-upstream origin $(ComputeBranch.WeeklyBranch)
132
+ git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/microsoftgraph/msgraph-sdk-powershell.git" $(ComputeBranch.WeeklyBranch)
136
133
git status
137
134
138
135
# References
Original file line number Diff line number Diff line change 21
21
git status
22
22
git add "$(System.DefaultWorkingDirectory)/src/Authentication/Authentication/custom/common/MgCommandMetadata.json"
23
23
git commit -m 'Add generated MgCommandMetadata.json. [run ci]'
24
- git push
24
+ git push "https://$(GITHUB_TOKEN)@github.com/microsoftgraph/msgraph-sdk-powershell.git"
25
25
git status
Original file line number Diff line number Diff line change 53
53
targetType : inline
54
54
script : |
55
55
git status
56
- git push --set-upstream origin $(ComputeBranch.DocsBranch)
56
+ git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/microsoftgraph/msgraph-sdk-powershell.git" $(ComputeBranch.DocsBranch)
57
57
git status
Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ parameters:
11
11
variables :
12
12
Branch : " WeeklyOpenApiDocsDownload"
13
13
BaseBranch : " dev"
14
- BUILDAGENT : ${{ parameters.BuildAgent }}
15
-
16
- pool : $(BUILDAGENT)
14
+ BuildAgent : ${{ parameters.BuildAgent }}
17
15
16
+ pool : $(BuildAgent)
18
17
trigger : none
19
18
pr : none
20
19
schedules :
21
- - cron : " 0 12 * * WED" # Run every wednesday at noon UTC
20
+ - cron : " 0 12 * * WED" # Run every Wednesday at noon UTC
22
21
displayName : " Weekly PS SDK generation"
23
22
branches :
24
23
include :
@@ -33,6 +32,7 @@ stages:
33
32
parameters :
34
33
Branch : $(Branch)
35
34
BaseBranch : $(BaseBranch)
35
+ BuildAgent : $(BuildAgent)
36
36
37
37
- stage : GenerateServiceModules
38
38
displayName : Generate service modules
You can’t perform that action at this time.
0 commit comments