Commit 5620da3f authored by Vayhinger's avatar Vayhinger
Browse files

Update README.md

parent 039ac813
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment