diff --git a/jenkins/Jenkinsfile.darwin b/jenkins/Jenkinsfile.darwin index 6ca5eb0d..4d6dcfd4 100644 --- a/jenkins/Jenkinsfile.darwin +++ b/jenkins/Jenkinsfile.darwin @@ -5,13 +5,27 @@ pipeline { } } stages { - stage('Build') { + stage('Install') { environment { - ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1 + AWS_ACCESS_KEY_ID = 'REDACTED' + AWS_SECRET_ACCESS_KEY = 'REDACTED' + ETH_SIGNING_KEY = 'REDACTED' + S3_BUCKET_NAME = 'REDACTED' } steps { sh 'rm -rf node_modules' sh 'npm install' + } + } + stage('Build') { + environment { + ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1 + AWS_ACCESS_KEY_ID = 'REDACTED' + AWS_SECRET_ACCESS_KEY = 'REDACTED' + ETH_SIGNING_KEY = 'REDACTED' + S3_BUCKET_NAME = 'REDACTED' + } + steps { sh 'npm run jenkins:build:mac' } } diff --git a/jenkins/Jenkinsfile.linux.develop b/jenkins/Jenkinsfile.linux.develop index faec7963..fb01ca58 100644 --- a/jenkins/Jenkinsfile.linux.develop +++ b/jenkins/Jenkinsfile.linux.develop @@ -7,13 +7,27 @@ pipeline { } } stages { - stage('Build') { + stage('Install') { environment { - ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1 + AWS_ACCESS_KEY_ID = 'REDACTED' + AWS_SECRET_ACCESS_KEY = 'REDACTED' + ETH_SIGNING_KEY = 'REDACTED' + S3_BUCKET_NAME = 'REDACTED' } steps { sh 'rm -rf node_modules' sh 'npm install' + } + } + stage('Build') { + environment { + ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1 + AWS_ACCESS_KEY_ID = 'REDACTED' + AWS_SECRET_ACCESS_KEY = 'REDACTED' + ETH_SIGNING_KEY = 'REDACTED' + S3_BUCKET_NAME = 'REDACTED' + } + steps { sh 'npm run jenkins:build:linux' } } diff --git a/jenkins/Jenkinsfile.linux.master b/jenkins/Jenkinsfile.linux.master index 8309b680..802d9c78 100644 --- a/jenkins/Jenkinsfile.linux.master +++ b/jenkins/Jenkinsfile.linux.master @@ -7,17 +7,37 @@ pipeline { } } stages { - stage('Build') { + stage('Install') { environment { - ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1 + AWS_ACCESS_KEY_ID = 'REDACTED' + AWS_SECRET_ACCESS_KEY = 'REDACTED' + ETH_SIGNING_KEY = 'REDACTED' + S3_BUCKET_NAME = 'REDACTED' + CSC_LINK = 'REDACTED' + CSC_KEY_PASSWORD = 'REDACTED' } steps { sh 'rm -rf node_modules' sh 'npm install' + } + } + stage('Build') { + environment { + ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1 + AWS_ACCESS_KEY_ID = 'REDACTED' + AWS_SECRET_ACCESS_KEY = 'REDACTED' + ETH_SIGNING_KEY = 'REDACTED' + S3_BUCKET_NAME = 'REDACTED' + } + steps { sh 'npm run jenkins:build:linux' } } stage('Upload') { + environment { + CSC_LINK = 'REDACTED' + CSC_KEY_PASSWORD = 'REDACTED' + } steps { sh 'npm run jenkins:upload' }