1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36: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
/.idea
/.env
/dist

18
Jenkinsfile vendored
View file

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