-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (20 loc) · 1.2 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
build:
docker build -t jenkins/validator .
run:
docker run -u 0 -d --name='jenkins' -p 8080:8080 -p 50000:50000 -v `pwd`/jenkins_home:/var/jenkins_home jenkins/validator
start:
docker start jenkins
stop:
docker stop jenkins
log:
docker logs jenkins -f
clean_docker_container:
docker rm jenkins
clean_jenkins_home:
rm -rf jenkins_home
generate-beacon:
wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.8/swagger-codegen-cli-2.4.8.jar -O swagger-codegen-cli.jar
java -jar swagger-codegen-cli.jar generate -i beacon-api.yaml -l spring -o beacon-client --model-package bio.knowledge.beacon.model --api-package bio.knowledge.beacon.api --additional-properties basePackage=bio.knowledge.beacon,configPackage=bio.knowledge.beacon.config
generate-aggregator:
wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.8/swagger-codegen-cli-2.4.8.jar -O swagger-codegen-cli.jar
java -jar swagger-codegen-cli.jar generate -i beacon-aggregator-api.yaml -l spring -o aggregator-client --model-package bio.knowledge.aggregator.model --api-package bio.knowledge.aggregator.api --additional-properties basePackage=bio.knowledge.aggregator,configPackage=bio.knowledge.aggregator.config