Skip to content

Commit 014f754

Browse files
committed
publish pkg to drop
1 parent 6092b58 commit 014f754

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: eng/ci/templates/official/jobs/linux-package.yml

+15
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ jobs:
88
image: 1es-ubuntu-22.04
99
os: linux
1010

11+
variables:
12+
drop_path: $(Build.ArtifactStagingDirectory)
13+
pkg_drop_path: $(drop_path)/drop_debian
14+
15+
templateContext:
16+
outputParentDirectory: $(drop_path)
17+
outputs:
18+
- output: pipelineArtifact
19+
displayName: Publish debian package
20+
path: $(pkg_drop_path)
21+
artifact: drop_debian
22+
1123
steps:
1224
# Bash v3
1325
# Run a Bash script on macOS, Linux, or Windows.
@@ -29,10 +41,13 @@ jobs:
2941
python driver.py "$linuxBuildNumber" "$consolidatedBuildId"
3042
export DEB_PACKAGE="$(readlink -f artifact/*$RELEASE_VERSION*)"
3143
echo "${DEB_PACKAGE}"
44+
45+
cp -r artifact/* $drop
3246
bashEnvValue: '~/.profile' # Set value for BASH_ENV environment variable
3347
env:
3448
linuxBuildNumber: $(LinuxPackageBuildTag)
3549
consolidatedBuildId: $(ConsolidatedBuildId)
50+
drop: $(pkg_drop_path)
3651

3752
- pwsh: |
3853
$majorVersion = [math]::Floor([double]$env:LinuxPackageBuildTag.Split(".")[0])

0 commit comments

Comments
 (0)