Repository showing how to setup Jenkins run on Docker.
docker image build -t oskardudycz/jenkins .
docker login
docker image push oskardudycz/jenkins
printf "admin" | docker secret create jenkins-pass -
printf "admin" | docker secret create jenkins-user -
docker stack deploy -c jenkins.yml jenkins
admin
, admin
).curl -s http://admin:admin@localhost:8080/job/Backend/config.xml --header "Content-Type: application/xml" | "backend-config.xml"
docker stack rm jenkins
docker secret rm jenkins-user
docker secret rm jenkins-pass