Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
springboot-maven3-centos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luiz.nunes
springboot-maven3-centos
Commits
d588555a
Unverified
Commit
d588555a
authored
Sep 06, 2018
by
Sven Hettwer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added save-artifacts script and altered the assemble script
parent
0e436dc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
assemble
s2i/bin/assemble
+5
-0
save-artifacts
s2i/bin/save-artifacts
+7
-0
No files found.
s2i/bin/assemble
View file @
d588555a
...
@@ -2,6 +2,11 @@
...
@@ -2,6 +2,11 @@
set
-e
set
-e
echo
"---> Restore build artifacts"
if
[
"
$(
ls
/tmp/artifacts/.m2 2>/dev/null
)
"
]
;
then
mv /tmp/artifacts/.m2
$HOME
fi
echo
"---> Installing application source"
echo
"---> Installing application source"
cp
-Rf
/tmp/src/. ./
cp
-Rf
/tmp/src/. ./
...
...
s2i/bin/save-artifacts
0 → 100755
View file @
d588555a
#!/bin/bash
pushd
${
HOME
}
>
/dev/null
if
[
-d
.m2
]
;
then
tar
cf - .m2
fi
popd
>
/dev/null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment