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

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