Jenkins Installed on Docker Swarm Engine Cluster - How to Handle Slaves?

2019-03-08 Thread Justin Seiser
We just spun up a dedicated Docker Swarm environment. I cant seem to find a clear answer on the best/preferred way to handle slaves in this style environment. docker-workflow - We use this in AWS, but with the EC2 Plugin, which spins up a AMI that has docker installed/configured. Thats not an

1 Jenkins_URL for HTTP/HTTPS, 1 Jenkins_URL for Slaves. AWS/ECS

2018-12-18 Thread Justin Seiser
I have Jenkins Master running as a container in AWS ECS, with its file share mounted on an EFS volume. I use the EC2 Plugin to deploy dynamic slaves in peered VPC's. Everything is using an internal ELB with portls 80/443/5 to allow access from the web browser as well as slave communicatio

Jenkins Docker Sidecar with Container Running a daemon command

2018-11-20 Thread Justin Seiser
I want to run ZAP as a proxy in my pipeline, and run my selenium tests through the proxy. Im just using curl in a container in place of selenium for my testing and was able to make this work locally using docker. In my pipeline, zap starts up, but the pipeline just sits in the zap container aft

Jenkins - Push Image to AWS ECR

2018-10-25 Thread Justin Seiser
I am running my slaves on Ubuntu AMI's, that have docker pre-installed. I am attempting to build a Docker Container on the slave from a DockerFile and push it to a ECR Repo. I am getting confused because this fails, but I am not seeing why it failed. node('cicd_ec2') { try {