mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-16 03:35:33 +00:00
ff7ec97de4
This commit: - Adds a PDF viewer screen to view PDFs within the app instead of opening them on the system browser - Updates the swap provider (ParaSwap) terms and conditions to be displayed within the app - Increases APK size limit to 80 MB Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
49 lines
938 B
Groovy
49 lines
938 B
Groovy
#!/usr/bin/env groovy
|
|
library 'status-jenkins-lib@v1.9.12'
|
|
|
|
pipeline {
|
|
agent {
|
|
label 'linux'
|
|
}
|
|
|
|
triggers {
|
|
cron('H 5 * * *')
|
|
}
|
|
|
|
options {
|
|
timestamps()
|
|
/* Prevent Jenkins jobs from running forever */
|
|
timeout(time: 15, unit: 'MINUTES')
|
|
/* Disable concurrent jobs */
|
|
disableConcurrentBuilds()
|
|
/* Don't keep more than 50 builds */
|
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
|
}
|
|
|
|
stages {
|
|
stage('Get Nodes') {
|
|
steps { script {
|
|
stagePerNode = nodesByLabel('macos').collectEntries {
|
|
["${it}" : generateNodeCleanupStage(it)]
|
|
}
|
|
} }
|
|
}
|
|
|
|
stage('Clean Xcode') {
|
|
steps { script {
|
|
parallel stagePerNode
|
|
} }
|
|
}
|
|
}
|
|
}
|
|
|
|
def generateNodeCleanupStage(nodeLabel) {
|
|
return { stage(nodeLabel) {
|
|
node(nodeLabel) {
|
|
dir('/Users/jenkins/Library/Developer/Xcode') {
|
|
sh 'rm -fr Archives DerivedData'
|
|
}
|
|
}
|
|
} }
|
|
}
|