Skip to content

Commit 6f09cfc

Browse files
committed
ci: change artifact path to match stage name
1 parent d9a924f commit 6f09cfc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.pipelines/build/images.jobs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ jobs:
7676
- task: ShellScript@2
7777
displayName: "Package with DropGZ"
7878
condition: and(
79-
succeeded(),
79+
succeeded(),
8080
eq(variables.packageWithDropGZ, 'True'))
8181
inputs:
8282
scriptPath: $(REPO_ROOT)/.pipelines/build/scripts/dropgz.sh
8383

8484
- ${{ if not(contains(job_data.job, 'linux')) }}:
8585
- task: onebranch.pipeline.signing@1
8686
condition: and(
87-
succeeded(),
87+
succeeded(),
8888
eq(variables.packageWithDropGZ, 'True'))
8989
inputs:
9090
command: 'sign'
@@ -94,7 +94,7 @@ jobs:
9494

9595
# OneBranch artifacts are stored on a Windows machine which obliterates
9696
# Linux file permissions.
97-
# This task is added (along with ob_extract_root_artifact in jobs that
97+
# This task is added (along with ob_extract_root_artifact in jobs that
9898
# download the artifact) to protect those file permissions from changing
9999
# during image build time.
100100
#
@@ -146,4 +146,4 @@ jobs:
146146
build_tag: $(imageTag)
147147
extra_args: $(extraArgs) --build-arg ARTIFACT_DIR="/__w/1/a"
148148
archive_file: $(archiveName)-$(OS)-$(ARCH)-$(archiveVersion)
149-
source: drop_build_pkg_${{ job_data.job }}_$(name)
149+
source: drop_${{ parameters.stageName }}_pkg_${{ job_data.job }}_$(name)

.pipelines/run-pipeline.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ stages:
6969
jobs:
7070
- template: /.pipelines/build/images.jobs.yaml@acn-devops
7171
parameters:
72+
stageName: build_acndevops
7273
images:
7374
- job: linux_amd64
7475
displayName: "Linux/AMD64"
@@ -227,6 +228,7 @@ stages:
227228
jobs:
228229
- template: /.pipelines/build/images.jobs.yaml
229230
parameters:
231+
stageName: build_release
230232
images:
231233
- job: linux_amd64
232234
displayName: "Linux/AMD64"

0 commit comments

Comments
 (0)