A Dockerized Jenkins CI-CD system for Concordia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
492 B

5 years ago
build:
@docker-compose -p janus build;
run:
@docker-compose -p janus up -d
stop:
@docker-compose -p janus down
stop-clean-data:
5 years ago
@docker-compose -p janus down -v
copy-jobs:
@docker cp jenkins:/var/jenkins_home/jobs/. ./jenkins/jobs
update-plugins:
@docker exec -it jenkins ls /var/jenkins_home/plugins/ | grep -v jpi > ./jenkins/plugins.txt
print-ssh-key:
@docker exec -it jenkins cat "/home/jenkins/.ssh/gitlab-ssh.pub"
5 years ago
clean-images:
@docker rmi `docker images -q -f "dangling=true"`