MyCrypto/jenkins/Jenkinsfile
Danny Skubak 937cc3fde5 Add Jenkins Integration (#1295)
* add jenkins changes

* run prettier

* update icons

* update icons to use latest favicon
2018-03-19 10:42:42 -05:00

26 lines
656 B
Groovy

pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir 'jenkins/Docker'
args '--env ETH_SIGNING_KEY=$ETH_SIGNING_KEY --env S3_BUCKET_NAME=$S3_BUCKET_NAME'
}
}
stages {
stage('Build') {
environment {
ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES = 1
}
steps {
sh 'rm -rf node_modules'
sh 'npm install'
sh 'npm run jenkins:build:linux'
}
}
stage('Upload') {
steps {
sh 'npm run jenkins:upload'
}
}
}
}