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.
 
 
 
 

16 lines
495 B

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