test jenkins

This commit is contained in:
Fedor Katurov 2020-03-20 21:02:26 +07:00
parent e33a003894
commit 0b7cf74266

8
Jenkinsfile vendored
View file

@ -6,9 +6,8 @@ pipeline {
// } // }
environment { environment {
WWW = "${env.BRANCH_NAME == "master" ? "/var/www/on-deploy/map/stable/frontend" : "/var/www/on-deploy/map/staging/frontend"}" WWW = "${env.BRANCH_NAME == "master" ? env.ORCHID_STABLE_WWW : env.ORCHID_STAGING_WWW}"
ENV = "${env.BRANCH_NAME == "master" ? "/opt/deploys/env/map/stable/frontend" : "/opt/deploys/env/map/staging/frontend"}" ENV = "${env.BRANCH_NAME == "master" ? env.ORCHID_STABLE_ENV : env.ORCHID_STANGING_ENV}"
} }
stages { stages {
@ -16,11 +15,8 @@ pipeline {
steps { steps {
echo "WWW: ${WWW}" echo "WWW: ${WWW}"
echo "ENV: ${ENV}" echo "ENV: ${ENV}"
echo "OSWWW: ${env.ORCHID_STABLE_WWW}"
sh 'pwd' sh 'pwd'
sh 'ls' sh 'ls'
// sh 'npm install'
// sh 'npm run build'
} }
} }