mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
test jenkins
This commit is contained in:
parent
e33a003894
commit
0b7cf74266
1 changed files with 2 additions and 6 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -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'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue