File tree 1 file changed +15
-0
lines changed
eng/ci/templates/official/jobs
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 8
8
image : 1es-ubuntu-22.04
9
9
os : linux
10
10
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
+
11
23
steps :
12
24
# Bash v3
13
25
# Run a Bash script on macOS, Linux, or Windows.
@@ -29,10 +41,13 @@ jobs:
29
41
python driver.py "$linuxBuildNumber" "$consolidatedBuildId"
30
42
export DEB_PACKAGE="$(readlink -f artifact/*$RELEASE_VERSION*)"
31
43
echo "${DEB_PACKAGE}"
44
+
45
+ cp -r artifact/* $drop
32
46
bashEnvValue : ' ~/.profile' # Set value for BASH_ENV environment variable
33
47
env :
34
48
linuxBuildNumber : $(LinuxPackageBuildTag)
35
49
consolidatedBuildId : $(ConsolidatedBuildId)
50
+ drop : $(pkg_drop_path)
36
51
37
52
- pwsh : |
38
53
$majorVersion = [math]::Floor([double]$env:LinuxPackageBuildTag.Split(".")[0])
You can’t perform that action at this time.
0 commit comments