feat(@desktop/windows): produce 7z archive when packaging
This commit is contained in:
parent
5ce06a94cc
commit
d4da9b75f0
3
Makefile
3
Makefile
|
@ -431,6 +431,9 @@ endif
|
||||||
ifdef WINDOWS_CODESIGN_PFX_PATH
|
ifdef WINDOWS_CODESIGN_PFX_PATH
|
||||||
scripts/sign-windows-bin.sh $(INSTALLER_OUTPUT)
|
scripts/sign-windows-bin.sh $(INSTALLER_OUTPUT)
|
||||||
endif
|
endif
|
||||||
|
echo -e $(BUILD_MSG) "7z"
|
||||||
|
rm $(OUTPUT)/status.iss
|
||||||
|
7z a $(INSTALLER_OUTPUT)/Status.7z ./$(OUTPUT)
|
||||||
|
|
||||||
pkg: $(PKG_TARGET)
|
pkg: $(PKG_TARGET)
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,8 @@ pipeline {
|
||||||
NIMFLAGS = '--colors:off'
|
NIMFLAGS = '--colors:off'
|
||||||
/* Control output the filename */
|
/* Control output the filename */
|
||||||
STATUS_CLIENT_EXE = "pkg/${utils.pkgFilename('exe')}"
|
STATUS_CLIENT_EXE = "pkg/${utils.pkgFilename('exe')}"
|
||||||
|
/* 7zip archive filename */
|
||||||
|
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename('7z')}"
|
||||||
/* RFC 3161 timestamping URL for DigiCert */
|
/* RFC 3161 timestamping URL for DigiCert */
|
||||||
WINDOWS_CODESIGN_TIMESTAMP_URL = 'http://timestamp.digicert.com'
|
WINDOWS_CODESIGN_TIMESTAMP_URL = 'http://timestamp.digicert.com'
|
||||||
}
|
}
|
||||||
|
@ -65,6 +67,8 @@ pipeline {
|
||||||
parallel {
|
parallel {
|
||||||
stage('Upload') {
|
stage('Upload') {
|
||||||
steps { script {
|
steps { script {
|
||||||
|
zip_url = s3.uploadArtifact(env.STATUS_CLIENT_7Z)
|
||||||
|
jenkins.setBuildDesc(Zip: zip_url)
|
||||||
env.PKG_URL = s3.uploadArtifact(env.STATUS_CLIENT_EXE)
|
env.PKG_URL = s3.uploadArtifact(env.STATUS_CLIENT_EXE)
|
||||||
jenkins.setBuildDesc(Exe: env.PKG_URL)
|
jenkins.setBuildDesc(Exe: env.PKG_URL)
|
||||||
} }
|
} }
|
||||||
|
@ -72,6 +76,7 @@ pipeline {
|
||||||
stage('Archive') {
|
stage('Archive') {
|
||||||
steps { script {
|
steps { script {
|
||||||
archiveArtifacts(env.STATUS_CLIENT_EXE)
|
archiveArtifacts(env.STATUS_CLIENT_EXE)
|
||||||
|
archiveArtifacts(env.STATUS_CLIENT_7Z)
|
||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue