Skip to content

Commit 83cc690

Browse files
committed
Make packaging wait on build
1 parent b9cdd49 commit 83cc690

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.pipelines/OSS_Microsoft_PSSA-Official.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ variables:
1717
value: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest
1818
resources:
1919
repositories:
20-
- repository: ComplianceRepo
21-
type: github
22-
endpoint: ComplianceGHRepo
23-
name: PowerShell/compliance
24-
ref: master
2520
- repository: onebranchTemplates
2621
type: git
2722
name: OneBranch.Pipelines/GovernedTemplates
@@ -51,7 +46,7 @@ extends:
5146

5247
stages:
5348
- stage: stagebuild
54-
displayName: Build Files
49+
displayName: Build and Package Microsoft.PowerShell.ScriptAnalyzer
5550
jobs:
5651
- job: jobbuild
5752
displayName: Build Microsoft.PowerShell.ScriptAnalyzer Files
@@ -66,7 +61,6 @@ extends:
6661
type: windows
6762
steps:
6863
- checkout: self
69-
- checkout: ComplianceRepo
7064

7165
- pwsh: |
7266
if (-not (Test-Path $(repoRoot)/.config/tsaoptions.json)) {
@@ -141,6 +135,7 @@ extends:
141135
TargetFolder: $(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT
142136

143137
- job: nupkg
138+
dependsOn: jobbuild
144139
displayName: Package Microsoft.PowerShell.ScriptAnalyzer
145140
variables:
146141
- name: ob_outputDirectory
@@ -157,7 +152,6 @@ extends:
157152
type: windows
158153
steps:
159154
- checkout: self
160-
- checkout: ComplianceRepo
161155

162156
- pwsh: |
163157
if (-not (Test-Path $(repoRoot)/.config/tsaoptions.json)) {

0 commit comments

Comments
 (0)