Commit 70aaaa36 authored by manoj v's avatar manoj v
Browse files

Issue #6 feat : Changed the permissions of build.sh files

parent 546e0004
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
...@@ -16,6 +16,7 @@ node('docker') { ...@@ -16,6 +16,7 @@ node('docker') {
env.NODE_ENV = "build" env.NODE_ENV = "build"
print "Environment will be : ${env.NODE_ENV}" print "Environment will be : ${env.NODE_ENV}"
sh('chmod 777 ./content/services/js-services/content_service/build.sh')
sh('./content/services/js-services/content_service/build.sh') sh('./content/services/js-services/content_service/build.sh')
} }
...@@ -24,12 +25,13 @@ node('docker') { ...@@ -24,12 +25,13 @@ node('docker') {
echo 'Push to Repo' echo 'Push to Repo'
sh 'ls -al ~/' sh 'ls -al ~/'
sh('chmod 777 ./content/services/js-services/content_service/dockerPushToRepo.sh')
sh 'ARTIFACT_LABEL=bronze ./content/services/js-services/content_service/dockerPushToRepo.sh' sh 'ARTIFACT_LABEL=bronze ./content/services/js-services/content_service/dockerPushToRepo.sh'
} }
stage('Deploy to Dev'){ stage('Deploy to Dev'){
sh('chmod 777 ./content/services/js-services/content_service/deploy.sh')
sh 'ARTIFACT_LABEL=bronze ENV=dev ./content/services/js-services/content_service/deploy.sh' sh 'ARTIFACT_LABEL=bronze ENV=dev ./content/services/js-services/content_service/deploy.sh'
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment