test6
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user