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
d10f97f1
Commit
d10f97f1
authored
Mar 01, 2016
by
Benedikt Ritter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Save .m2 dir between builds
parent
11ee864f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
assemble
.sti/bin/assemble
+5
-0
save-artifacts
.sti/bin/save-artifacts
+8
-0
No files found.
.sti/bin/assemble
View file @
d10f97f1
...
...
@@ -7,6 +7,11 @@ if [ "$1" = "-h" ]; then
exec
/opt/java/bin/usage
fi
if
[
"
$(
ls
/tmp/artifacts/ 2>/dev/null
)
"
]
;
then
echo
"Restoring build artifacts"
mv /tmp/artifacts/
*
$HOME
/.
fi
APP_RUNTIME_DIR
=
"
${
HOME
}
/src"
APP_SRC_DIR
=
"/tmp/src"
...
...
.sti/bin/save-artifacts
0 → 100644
View file @
d10f97f1
#!/bin/bash -e
pushd
${
HOME
}
if
[
-d
.m2
]
;
then
# all .m2 contents to tar stream
tar
cf - .m2
fi
popd
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