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