mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
Switch to 7z for artifacts
This commit is contained in:
parent
1e8c2bf04b
commit
68fc4337fa
1 changed files with 5 additions and 5 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -59,10 +59,10 @@ pipeline {
|
||||||
move ".\\OTRGui\\build\\Release\\OTRGui.exe" ".\\"
|
move ".\\OTRGui\\build\\Release\\OTRGui.exe" ".\\"
|
||||||
rename README.md readme.txt
|
rename README.md readme.txt
|
||||||
|
|
||||||
"${env.ZIP}" a soh.zip soh.exe OTRGui.exe assets readme.txt
|
"${env.ZIP}" a soh.7z soh.exe OTRGui.exe assets readme.txt
|
||||||
|
|
||||||
"""
|
"""
|
||||||
archiveArtifacts artifacts: 'soh.zip', followSymlinks: false, onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'soh.7z', followSymlinks: false, onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
@ -100,13 +100,13 @@ pipeline {
|
||||||
mv README.md build/readme.txt
|
mv README.md build/readme.txt
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
zip -r soh-linux.zip soh.elf OTRGui assets readme.txt
|
7z a soh-linux.7z soh.elf OTRGui assets readme.txt
|
||||||
mv soh-linux.zip ../
|
mv soh-linux.7z ../
|
||||||
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
sh 'sudo docker container stop sohcont'
|
sh 'sudo docker container stop sohcont'
|
||||||
archiveArtifacts artifacts: 'soh-linux.zip', followSymlinks: false, onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'soh-linux.7z', followSymlinks: false, onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue