test jenkins

This commit is contained in:
Fedor Katurov 2020-03-20 21:49:53 +07:00
parent 6c39d20b98
commit fa6f481906

6
Jenkinsfile vendored
View file

@ -17,7 +17,7 @@ pipeline {
steps { steps {
echo "WWW: ${WWW}" echo "WWW: ${WWW}"
echo "ENV: ${ENV}" echo "ENV: ${ENV}"
echo "WORKSPACE: ${env.WORKSPACE},${WORKSPACE}" echo "WORKSPACE: ${WORKSPACE}"
sh 'pwd' sh 'pwd'
sh 'ls' sh 'ls'
@ -35,7 +35,7 @@ pipeline {
stage('copy env') { stage('copy env') {
steps { steps {
sh "cp -a ${ENV}/. ./" sh "cp -a ${ENV}/. ${WORKSPACE}"
} }
} }
@ -64,7 +64,7 @@ pipeline {
steps{ steps{
sh "rm -rf ${WWW}" sh "rm -rf ${WWW}"
sh "mv ./dist ${WWW}" sh "mv ${WORKSPACE}/dist ${WWW}"
} }
} }
} }