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:
Jakub Sokołowski 2021-09-28 13:57:19 +02:00 committed by Jakub
parent 4b73d68490
commit 145652d2d0
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
library 'status-jenkins-lib@v1.3.0'
library 'status-jenkins-lib@v1.3.3'
pipeline {
agent { label 'linux' }
@ -44,7 +44,7 @@ pipeline {
jenkins.copyArts(linux)
jenkins.copyArts(windows)
jenkins.copyArts(macos)
sha = "pkg/${utils.pkgFilename('sha256')}"
sha = "pkg/${utils.pkgFilename(ext: 'sha256')}"
dir('pkg') {
/* generate sha256 checksums for upload */
sh "sha256sum * | tee ../${sha}"

View File

@ -1,4 +1,4 @@
library 'status-jenkins-lib@v1.3.0'
library 'status-jenkins-lib@v1.3.3'
pipeline {
agent {
@ -39,8 +39,8 @@ pipeline {
/* Makefile assumes the compiler folder is included */
QTDIR = "/opt/qt/5.14.0/gcc_64"
/* Control output the filename */
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename('AppImage')}"
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename('tar.gz')}"
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename(ext: 'AppImage')}"
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename(ext: 'tar.gz')}"
}
stages {

View File

@ -1,4 +1,4 @@
library 'status-jenkins-lib@v1.3.0'
library 'status-jenkins-lib@v1.3.3'
pipeline {
agent {
@ -35,7 +35,7 @@ pipeline {
QTDIR = '/usr/local/qt/clang_64'
PATH = "${env.QTDIR}/bin:${env.PATH}"
/* Control output the filename */
STATUS_CLIENT_DMG = "pkg/${utils.pkgFilename('dmg')}"
STATUS_CLIENT_DMG = "pkg/${utils.pkgFilename(ext: 'dmg')}"
/* Apple Team ID for Notarization */
MACOS_NOTARIZE_TEAM_ID = "DTX7Z4U3YA"
}

View File

@ -1,4 +1,4 @@
library 'status-jenkins-lib@v1.3.0'
library 'status-jenkins-lib@v1.3.3'
pipeline {
agent { label 'windows' }
@ -30,9 +30,9 @@ pipeline {
/* Disable colors in Nim compiler logs */
NIMFLAGS = '--colors:off'
/* Control output the filename */
STATUS_CLIENT_EXE = "pkg/${utils.pkgFilename('exe')}"
STATUS_CLIENT_EXE = "pkg/${utils.pkgFilename(ext: 'exe')}"
/* 7zip archive filename */
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename('7z')}"
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename(ext: '7z')}"
/* RFC 3161 timestamping URL for DigiCert */
WINDOWS_CODESIGN_TIMESTAMP_URL = 'http://timestamp.digicert.com'
}