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
c283ee66
Commit
c283ee66
authored
Sep 19, 2016
by
Luis Fernando Gomes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default value to $APP_TARGET
parent
5f477fe4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
run
s2i/bin/run
+2
-0
No files found.
s2i/bin/run
View file @
c283ee66
...
@@ -2,7 +2,9 @@
...
@@ -2,7 +2,9 @@
set
-e
set
-e
APP_TARGET
=
${
APP_TARGET
:-
target
}
echo
"---> Starting Spring Boot application"
echo
"---> Starting Spring Boot application"
echo
"--> # APP_TARGET =
$APP_TARGET
"
echo
"--> # APP_TARGET =
$APP_TARGET
"
echo
"--> # JAVA_OPTS =
$JAVA_OPTS
"
echo
"--> # JAVA_OPTS =
$JAVA_OPTS
"
echo
"---> Running application from jar (
$(
find
$APP_TARGET
-name
*
.jar
)
) ..."
java
$JAVA_OPTS
-jar
`
find
$APP_TARGET
-name
*
.jar
`
java
$JAVA_OPTS
-jar
`
find
$APP_TARGET
-name
*
.jar
`
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