Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cas-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Khalid Ali
cas-server
Commits
1896a3e4
Commit
1896a3e4
authored
Nov 10, 2018
by
hdeadman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker commands to windows build wrapper
parent
2f925473
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
build.cmd
build.cmd
+13
-1
No files found.
build.cmd
View file @
1896a3e4
...
...
@@ -34,6 +34,8 @@
@if
"
%
1"
==
"cli"
call
:cli
@if
"
%
1"
==
"debugcli"
call
:debugcli
@if
"
%
1"
==
"dependencies"
call
:dependencies
@if
"
%
1"
==
"dockerimage"
call
:dockerimage
@if
"
%
1"
==
"dockerrun"
call
:dockerrun
@rem function section starts here
@goto
:EOF
...
...
@@ -47,7 +49,7 @@
@goto
:EOF
:help
@echo
"Usage: build.cmd [copy|clean|package|refresh|run|debug|gencert] [optional extra args for gradle]"
@echo
"Usage: build.cmd [copy|clean|package|refresh|run|debug|gencert
|dockerimage|dockerrun
] [optional extra args for gradle]"
@echo
"To get started on a clean system, run 'build.cmd gencert && build.cmd copy && build.cmd run'"
@echo
"Note that using the copy or gencert arguments will create and/or overwrite the
%CAS_DIR%
which is outside this project"
@goto
:EOF
...
...
@@ -74,6 +76,16 @@
call
:package
--refresh-dependencies
%
1
%
2
@goto
:EOF
:dockerimage
call
%GRADLE_CMD%
clean
build
jibDockerBuild
@goto
:EOF
:dockerrun
docker
stop
cas
docker
rm
cas
docker
run
--name
cas
org
.apereo.cas/cas:latest
@goto
:EOF
:gencert
where
/q
keytool
if
ERRORLEVEL
1
(
...
...
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