Skip to content

ypsman/docker-jenkins-jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Docker Pulls Docker Build Status

docker-jenkins-jobs

Dockerfile to run jenkins-job-builder.
Available on Docker-Hub

docker pull ypsman/jenkins-jobs

Usage with Jobs File:

docker run -it --rm -v $(pwd)/jenkins_jobs.ini:/etc/jenkins_jobs/jenkins_jobs.ini \
-v $(pwd)/jobfile.yml:jobsfile.yml ypsman/jenkins-jobs update jobsfile.yml

Usage with Jobs Folder:

docker run -it --rm -v $(pwd)/jenkins_jobs.ini:/etc/jenkins_jobs/jenkins_jobs.ini \
-v $(pwd)/jobs:/jobs ypsman/jenkins-jobs update /jobs

Usage with Gitlab-ci:

This Dockerfile also contains maketools, for a better usage with
Gitlab-ci. Just put a Makefile and gitlab-ci.yml in your Gitlab Project
to autodeploy your Jobs.

Example: Makefile

test:
    jenkins-jobs test jobs/

deploy:
    jenkins-jobs --conf jenkins_jobs.ini update jobs/

Example: gitlab-ci.yml

image: 
  name: ypsman/jenkins-jobs
  entrypoint: [""]

test:
  script:
  - make test
  - make deploy

About

Dockerfile for jenkins-job-builder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published