From 0b7cf74266e733af9b0a608614d585b2d609f50b Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 20 Mar 2020 21:02:26 +0700 Subject: [PATCH] test jenkins --- Jenkinsfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8892821..98cc34e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,9 +6,8 @@ pipeline { // } environment { - WWW = "${env.BRANCH_NAME == "master" ? "/var/www/on-deploy/map/stable/frontend" : "/var/www/on-deploy/map/staging/frontend"}" - ENV = "${env.BRANCH_NAME == "master" ? "/opt/deploys/env/map/stable/frontend" : "/opt/deploys/env/map/staging/frontend"}" - + WWW = "${env.BRANCH_NAME == "master" ? env.ORCHID_STABLE_WWW : env.ORCHID_STAGING_WWW}" + ENV = "${env.BRANCH_NAME == "master" ? env.ORCHID_STABLE_ENV : env.ORCHID_STANGING_ENV}" } stages { @@ -16,11 +15,8 @@ pipeline { steps { echo "WWW: ${WWW}" echo "ENV: ${ENV}" - echo "OSWWW: ${env.ORCHID_STABLE_WWW}" sh 'pwd' sh 'ls' - // sh 'npm install' - // sh 'npm run build' } }