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
0ae3dbfd
Commit
0ae3dbfd
authored
Apr 16, 2019
by
luiz.nunes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update run
parent
a6952fb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
run
s2i/bin/run
+7
-3
No files found.
s2i/bin/run
View file @
0ae3dbfd
...
@@ -2,10 +2,14 @@
...
@@ -2,10 +2,14 @@
set
-e
set
-e
#APP_TARGET=${APP_TARGET:-target}
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 standalone jar/war..."
echo
"---> Running application from standalone jar/war..."
#
java $JAVA_OPTS -jar `find $APP_TARGET -maxdepth 1 -regex ".*\(jar\|war\)"`
java
$JAVA_OPTS
-jar
`
find
$APP_TARGET
-maxdepth
1
-regex
".*
\(
jar
\|
war
\)
"
`
java
$JAVA_OPTS
-jar
$APP_TARGET
#
java $JAVA_OPTS -jar $APP_TARGET
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