mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 07:01:14 +00:00
ci: point to unify-credentials branch in jenkins lib
- use newer function to sign
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
@@ -108,7 +108,7 @@ pipeline {
|
||||
stage('Build Android') {
|
||||
steps {
|
||||
script {
|
||||
app.buildSignedAndroid(target='mobile-build PACKAGE_TYPE=' + env.PACKAGE_TYPE, verbose=params.VERBOSE)
|
||||
status.buildSigned(platform='android', target='mobile-build PACKAGE_TYPE=' + env.PACKAGE_TYPE, verbose=params.VERBOSE)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Object to store public URLs for description. */
|
||||
urls = [:]
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
@@ -108,7 +108,7 @@ pipeline {
|
||||
stage('Build iOS App') {
|
||||
steps {
|
||||
script {
|
||||
app.buildSignedIOS(target='mobile-build', verbose=params.VERBOSE)
|
||||
status.buildSigned(platform='ios', target='mobile-build', verbose=params.VERBOSE)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -129,7 +129,7 @@ pipeline {
|
||||
script {
|
||||
def changelog = sh(script: './scripts/generate-changelog.sh', returnStdout: true).trim()
|
||||
|
||||
app.uploadToTestFlight(
|
||||
status.uploadToTestFlight(
|
||||
ipaPath="${WORKSPACE}/${env.STATUS_IOS_APP_ARTIFACT}",
|
||||
changelog=changelog,
|
||||
pollTimeout=env.TESTFLIGHT_POLL_TIMEOUT,
|
||||
@@ -143,7 +143,7 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
def comment = "status-desktop PR build ${env.VERSION} ${git.commit(8)}"
|
||||
env.DIAWI_URL = app.uploadToDiawi(env.STATUS_IOS_APP_ARTIFACT, comment)
|
||||
env.DIAWI_URL = status.uploadToDiawi(env.STATUS_IOS_APP_ARTIFACT, comment)
|
||||
jenkins.setBuildDesc(IPA: env.DIAWI_URL)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
@@ -133,7 +133,7 @@ pipeline {
|
||||
|
||||
stage('Package') {
|
||||
steps { script {
|
||||
linux.bundle('tgz-linux')
|
||||
status.buildSigned(platform='linux', target='tgz-linux')
|
||||
} }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
@@ -143,14 +143,14 @@ pipeline {
|
||||
|
||||
stage('Package') {
|
||||
steps { script {
|
||||
macos.bundle('pkg-macos')
|
||||
status.buildSigned(platform='macos', target='pkg-macos')
|
||||
} }
|
||||
}
|
||||
|
||||
stage('Notarize') {
|
||||
when { expression { utils.isReleaseBuild() } }
|
||||
steps { script {
|
||||
macos.notarize()
|
||||
status.notarize()
|
||||
} }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
pipeline {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.9.40'
|
||||
library 'status-jenkins-lib@v1.9.42'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
@@ -131,7 +131,7 @@ pipeline {
|
||||
|
||||
stage('Package') {
|
||||
steps { script {
|
||||
windows.bundle("${env.STATUS_CLIENT_EXE} ${env.STATUS_CLIENT_7Z}")
|
||||
status.buildSigned(platform='windows', target="${env.STATUS_CLIENT_EXE} ${env.STATUS_CLIENT_7Z}")
|
||||
} }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user