ci: upgrade library and use of pkgFilename()
Depends on: https://github.com/status-im/status-jenkins-lib/pull/36 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4b73d68490
commit
145652d2d0
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.3.0'
|
library 'status-jenkins-lib@v1.3.3'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
@ -44,7 +44,7 @@ pipeline {
|
||||||
jenkins.copyArts(linux)
|
jenkins.copyArts(linux)
|
||||||
jenkins.copyArts(windows)
|
jenkins.copyArts(windows)
|
||||||
jenkins.copyArts(macos)
|
jenkins.copyArts(macos)
|
||||||
sha = "pkg/${utils.pkgFilename('sha256')}"
|
sha = "pkg/${utils.pkgFilename(ext: 'sha256')}"
|
||||||
dir('pkg') {
|
dir('pkg') {
|
||||||
/* generate sha256 checksums for upload */
|
/* generate sha256 checksums for upload */
|
||||||
sh "sha256sum * | tee ../${sha}"
|
sh "sha256sum * | tee ../${sha}"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.3.0'
|
library 'status-jenkins-lib@v1.3.3'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
|
@ -39,8 +39,8 @@ pipeline {
|
||||||
/* Makefile assumes the compiler folder is included */
|
/* Makefile assumes the compiler folder is included */
|
||||||
QTDIR = "/opt/qt/5.14.0/gcc_64"
|
QTDIR = "/opt/qt/5.14.0/gcc_64"
|
||||||
/* Control output the filename */
|
/* Control output the filename */
|
||||||
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename('AppImage')}"
|
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename(ext: 'AppImage')}"
|
||||||
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename('tar.gz')}"
|
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename(ext: 'tar.gz')}"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.3.0'
|
library 'status-jenkins-lib@v1.3.3'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
|
@ -35,7 +35,7 @@ pipeline {
|
||||||
QTDIR = '/usr/local/qt/clang_64'
|
QTDIR = '/usr/local/qt/clang_64'
|
||||||
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
PATH = "${env.QTDIR}/bin:${env.PATH}"
|
||||||
/* Control output the filename */
|
/* Control output the filename */
|
||||||
STATUS_CLIENT_DMG = "pkg/${utils.pkgFilename('dmg')}"
|
STATUS_CLIENT_DMG = "pkg/${utils.pkgFilename(ext: 'dmg')}"
|
||||||
/* Apple Team ID for Notarization */
|
/* Apple Team ID for Notarization */
|
||||||
MACOS_NOTARIZE_TEAM_ID = "DTX7Z4U3YA"
|
MACOS_NOTARIZE_TEAM_ID = "DTX7Z4U3YA"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.3.0'
|
library 'status-jenkins-lib@v1.3.3'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'windows' }
|
agent { label 'windows' }
|
||||||
|
@ -30,9 +30,9 @@ pipeline {
|
||||||
/* Disable colors in Nim compiler logs */
|
/* Disable colors in Nim compiler logs */
|
||||||
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(ext: 'exe')}"
|
||||||
/* 7zip archive filename */
|
/* 7zip archive filename */
|
||||||
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename('7z')}"
|
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename(ext: '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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue