Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
DTT Backend
Commits
5620da3f
Commit
5620da3f
authored
Jul 01, 2020
by
Vayhinger
Browse files
Update README.md
parent
039ac813
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
5620da3f
# Moodle Dockerized Code Testing (MoDoCoT) - Backend
## Usage
An available Jenkins needs to run on the server where the backend container runs.
The Jenkins has to listen on port 8080.
If need to use another port for Jenkins have a look at Server application configuration / Local application configuration
### Conventions
-
The JUnit test classes cannot be organized in packages. Tasks and helper classes can use packages.
...
...
@@ -17,6 +21,7 @@ The file can be found under _/src/main/resources/_
You need to configure following entries:
docker.hostIp= "Your docker host ip"
jenkins.api.token= "Your jenkins api token"
[
See Jenkins Doc
](
https://www.jenkins.io/doc/book/using/remote-access-api/
)
(jenkins.url=http://${docker.hostIp}:"Your Jenkins Port"/) Use this property if your Jenkins listens on a port other than 8080
### Local application configuration
We're using the
**application.properties**
file to configure the application.
...
...
@@ -25,6 +30,7 @@ The file can be found under _/src/main/resources/_
You need to configure following entries:
docker.hostIp= "Your docker host ip"
jenkins.api.token= "Your jenkins api token"
[
See Jenkins Doc
](
https://www.jenkins.io/doc/book/using/remote-access-api/
)
(jenkins.url=http://${docker.hostIp}:"Your Jenkins Port"/) Use this property if your Jenkins listens on a port other than 8080
## Interfaces
##### POST /v1/unittest
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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