Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (12 sloc) 421 Bytes
#!/bin/bash
echo "Clean..."
rm -rf build && mkdir build
echo "generating files with ansible"
ansible-playbook --connection=local -i 'localhost,' site_jenkins_jobs_docker.yml
echo "Copying docker files"
cp docker/jenkins-job-builder/* build/
echo "Running docker"
cd build
docker build -t wouterla/docker-jenkins-job-builder .
echo "Pushing docker image to repository"
#docker push wouterla/docker-jenkins-job-builder