38 lines
994 B
Plaintext
38 lines
994 B
Plaintext
pipeline {
|
|
agent {
|
|
node {
|
|
label 'master'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Install') {
|
|
environment {
|
|
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 'yarn'
|
|
}
|
|
}
|
|
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'
|
|
}
|
|
}
|
|
stage('Upload') {
|
|
steps {
|
|
sh 'npm run jenkins:upload'
|
|
}
|
|
}
|
|
}
|
|
} |