Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-common
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
bltdc
dc-common
Commits
f57c8a1c
Commit
f57c8a1c
authored
Mar 18, 2019
by
wutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
elastic-jobCD/CI
parent
30544d7a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
1 deletion
+56
-1
.gitignore
.gitignore
+0
-1
start.bat
...elastic-job-lite-console/src/main/resources/bin/start.bat
+22
-0
start.sh
.../elastic-job-lite-console/src/main/resources/bin/start.sh
+34
-0
No files found.
.gitignore
View file @
f57c8a1c
...
...
@@ -113,7 +113,6 @@ fabric.properties
### Eclipse template
.metadata
bin/
tmp/
*.tmp
*.bak
...
...
elastic-job-lite/elastic-job-lite-console/src/main/resources/bin/start.bat
0 → 100644
View file @
f57c8a1c
@echo off
if ""%1"" == ""-p"" goto doSetPort
if ""%1"" == """" goto doStart
echo Usage: %0 [OPTIONS]
echo -p [port] Server port (default: 8088)
goto end
:doSetPort
shift
set PORT=%1
:doStart
set CFG_DIR=%~dp0%..
set CLASSPATH=%CFG_DIR%
set CLASSPATH=%~dp0..\lib\*;%CLASSPATH%
set CONSOLE_MAIN=io.elasticjob.lite.console.ConsoleBootstrap
echo on
if ""%PORT%"" == """" set PORT=8088
java -cp "%CLASSPATH%" %CONSOLE_MAIN% %PORT%
:end
elastic-job-lite/elastic-job-lite-console/src/main/resources/bin/start.sh
0 → 100644
View file @
f57c8a1c
#!/bin/bash
show_usage
()
{
echo
"Usage:
$0
[OPTIONS]"
echo
" -p <port> Server port (default: 8088)"
exit
1
}
if
[
$#
-ne
0
]
&&
[
$#
-ne
2
]
;
then
show_usage
fi
port
=
"8088"
if
[
$#
-eq
2
]
;
then
while
getopts
p: arg
do case
"
$arg
"
in
p
)
port
=
"
$OPTARG
"
;;
[
?]
)
show_usage
;;
esac
done
fi
if
[
"
$port
"
=
""
]
;
then
show_usage
fi
cd
`
dirname
$0
`
cd
..
DEPLOY_DIR
=
`
pwd
`
LIB_DIR
=
${
DEPLOY_DIR
}
/lib/
*
CONSOLE_MAIN
=
io.elasticjob.lite.console.ConsoleBootstrap
java
-classpath
${
LIB_DIR
}
:.
${
CONSOLE_MAIN
}
$port
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