From 70aaaa3604e93a184d2f1b8e6b057a938ac3bb8d Mon Sep 17 00:00:00 2001
From: manoj v <manojv@ilimi.in>
Date: Thu, 13 Jul 2017 11:26:06 +0530
Subject: [PATCH] Issue #6 feat : Changed the permissions of build.sh files

---
 Jenkinsfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7cff245..9fd26ab 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,6 +16,7 @@ node('docker') {
         env.NODE_ENV = "build"
 
         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')
 
       }
@@ -24,12 +25,13 @@ node('docker') {
 
         echo 'Push to Repo'
          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'
 
       }
 
       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'
 
       }
-- 
GitLab