Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
knowledge-mw-service
Commits
70aaaa36
Commit
70aaaa36
authored
7 years ago
by
manoj v
Browse files
Options
Download
Patches
Plain Diff
Issue #6 feat : Changed the permissions of build.sh files
parent
546e0004
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+3
-1
Jenkinsfile
with
3 additions
and
1 deletion
+3
-1
Jenkinsfile
+
3
−
1
View file @
70aaaa36
...
@@ -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'
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets