diff --git a/.gitignore b/.gitignore index c366ea24..622a9c22 100644 --- a/.gitignore +++ b/.gitignore @@ -113,3 +113,6 @@ node_modules/ # .DS_Store .DS_Store + +.docks +.docs \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 4c135f77..75f2da76 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,16 +14,14 @@ pipeline { stages { stage('Setup') { - steps { - echo "Running Setup..." - // sh '. /home/yeqing/.profile' - if (env.GIT_BRANCH == 'develop') { - MODE = 'test' - } else if (env.GIT_BRANCH == 'master') { - MODE = 'production' - } else { - MODE = 'test' - } + echo "Running Setup..." + // sh '. /home/yeqing/.profile' + if (env.GIT_BRANCH == 'develop') { + MODE = 'test' + } else if (env.GIT_BRANCH == 'master') { + MODE = 'production' + } else { + MODE = 'test' } } stage('Build Frontend') {