1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed jenkins again

This commit is contained in:
Fedor Katurov 2020-04-14 12:57:36 +07:00
parent 7a67cd09e9
commit feb88630eb
2 changed files with 10 additions and 9 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
/npm-debug.log /npm-debug.log
/.idea /.idea
/.env /.env
/dist

18
Jenkinsfile vendored
View file

@ -2,8 +2,8 @@ pipeline {
agent any agent any
environment { environment {
WWW = "${env.BRANCH_NAME == "master" ? env.ORCHID_STABLE_WWW : env.ORCHID_STAGING_WWW}" WWW = "${env.BRANCH_NAME == "master" ? env.VAULT_STABLE_WWW : env.VAULT_STAGING_WWW}"
ENV = "${env.BRANCH_NAME == "master" ? env.ORCHID_STABLE_ENV : env.ORCHID_STAGING_ENV}" ENV = "${env.BRANCH_NAME == "master" ? env.VAULT_STABLE_ENV : env.VAULT_STAGING_ENV}"
} }
stages { stages {
@ -33,13 +33,13 @@ pipeline {
} }
} }
// stage('LS') { stage('LS') {
// steps { steps {
// sh "ls -a ./" sh "ls -a ./"
// sh "ls -a ${ENV}" sh "ls -a ${ENV}"
// sh "ls -a ./src/config" sh "ls -a ./src/config"
// } }
// } }
stage('Build') { stage('Build') {
steps { steps {