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
511 B

build:
@docker-compose -p ecentrics build;
run:
@docker-compose -p ecentrics up -d
stop:
@docker-compose -p ecentrics down
stop-clean-data:
@docker-compose -p ecentrics 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"`