File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
eng/ci/templates/official/jobs Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 6
6
project : src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj
7
7
configuration : release
8
8
runtime : linux-x64
9
+ intermediate_path : $(Agent.TempDirectory)/linux_host
9
10
drop_path : $(Build.ArtifactStagingDirectory)
10
11
linux_drop_path : $(drop_path)/linux
11
12
build_args : ' -v m -c $(configuration) -r $(runtime) --self-contained true'
58
59
zipAfterPublish : false # we use our own zip logic
59
60
modifyOutputPath : false
60
61
projects : $(project)
61
- arguments : ' $(build_args) --no-build -o $(linux_drop_path)/host'
62
+ arguments : ' $(build_args) --no-build -o $(intermediate_path)'
63
+
64
+ # Pipeline artifacts do not retain file metadata and lose file permission bits.
65
+ # As a workaround, we tar/gzip the files to retain the permission bits.
66
+ - task : ArchiveFiles@2
67
+ displayName : Archive Linux Artifacts
68
+ inputs :
69
+ rootFolderOrFile : $(intermediate_path)
70
+ includeRootFolder : false
71
+ archiveType : tar
72
+ tarCompression : gz
73
+ archiveFile : $(linux_drop_path)/host.linux-x64.tar.gz
You can’t perform that action at this time.
0 commit comments