test6
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good

This commit is contained in:
2020-05-13 21:18:19 +02:00
parent ef65cc5c35
commit dd219e2cc6
2 changed files with 6 additions and 1 deletions

5
Jenkinsfile vendored
View File

@@ -9,7 +9,12 @@ pipeline {
} }
} }
stage('Build Frontend') { stage('Build Frontend') {
environment {
AN_ACCESS_KEY = credentials('3885a64d-7d43-42c2-a713-c8600b44842f')
}
steps { steps {
sh 'echo $AN_ACCESS_KEY'
sh 'echo $BRANCH_NAME'
sh 'sudo bash ./jenkins/buildFrontend.sh' sh 'sudo bash ./jenkins/buildFrontend.sh'
} }
} }

View File

@@ -2,7 +2,7 @@
echo $BRANCH_NAME echo $BRANCH_NAME
echo $PWD echo $PWD
cd ../frontend cd ./frontend
if [$BRANCH_NAME = "edit-jenkinsfile"]; then if [$BRANCH_NAME = "edit-jenkinsfile"]; then
echo 'Install neccessary Packages' echo 'Install neccessary Packages'
yarn install yarn install