{"id":20444107,"url":"https://github.com/tknerr/jenkins-pipes-infra","last_synced_at":"2025-07-26T14:38:19.884Z","repository":{"id":145615324,"uuid":"81253002","full_name":"tknerr/jenkins-pipes-infra","owner":"tknerr","description":"Infrastructure (i.e. a dockerized Jenkins) and overview for the Jenkins Pipes demo","archived":false,"fork":false,"pushed_at":"2017-02-13T07:17:18.000Z","size":5,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T08:26:13.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tknerr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-07T20:52:14.000Z","updated_at":"2022-06-09T10:46:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"dba7cb36-1b41-4fa9-9067-aa6faa69144b","html_url":"https://github.com/tknerr/jenkins-pipes-infra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tknerr/jenkins-pipes-infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tknerr","download_url":"https://codeload.github.com/tknerr/jenkins-pipes-infra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fjenkins-pipes-infra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267179490,"owners_count":24048354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T09:51:16.127Z","updated_at":"2025-07-26T14:38:19.842Z","avatar_url":"https://github.com/tknerr.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Jenkins Pipes Infrastructure\n\nThis is meant to be a minimal example showing how to set up Jenkins 2.x with the [Pipeline Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) to support the following scenario:\n\n * all jobs are under version control and described via [Job-DSL](https://github.com/jenkinsci/job-dsl-plugin/wiki), see the [jenkins-pipes-jobs](https://github.com/tknerr/jenkins-pipes-jobs) repo\n * there is a [seed-job](https://github.com/tknerr/jenkins-pipes-infra/blob/master/seedJob.xml) which runs periodically to ensure the aforementioned jobs exist in Jenkins\n * each project to be built by these jobs defines its own build pipeline via [Pipeline-DSL](https://jenkins.io/doc/book/pipeline/syntax/) in a `Jenkinsfile`, see the  [jenkins-pipes-helloworld](https://github.com/tknerr/jenkins-pipes-helloworld) example\n\n\n## Run It\n\nCreate the docker image and run it, with port 8080 forwarded to the host:\n\n```\n$ docker build -t jenkins-pipes .\n$ docker run -it --rm -p 8080:8080 jenkins-pipes\n```\n\nOnce Jenkins is started you should see at least the seed-job on [http://localhost:8080](http://localhost:8080).\n\nIf it has not run yet, simply trigger it and see how [the actual jobs](https://github.com/tknerr/jenkins-pipes-jobs) get created.\n\n\n## How it works\n\nIt's simply a minimalized jenkins (master only) setup that is running in a docker container. Looking at the [`Dockerfile`](https://github.com/tknerr/jenkins-pipes-infra/blob/master/Dockerfile) you can see that all it does is:\n\n * inherits from the official [`jenkins:2.32.2`](https://hub.docker.com/r/library/jenkins/) image\n * skips the setup wizard and leaves jenkins unsecured\n * installs the minimum necessary [Job-DSL](https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin), [Git](https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin) and [Pipeline](https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) plugins\n * copies the [`seedJob.xml`](https://github.com/tknerr/jenkins-pipes-infra/blob/master/seedJob.xml) to the Jenkins jobs directory\n\nOptionally, you can pass the `--build-args jobs_repo=...` parameter to configure the seed job with your own jobs repository.\n\n\n## Where to go from here?\n\nNow that you have a basic setup running, there are a few things to explore next:\n\n * create your own jobs repo and pass it via `--build-args` to to the `docker build` command\n * use docker-compose to set up the Jenkins master with a build slave that can build projects with your toolchain of choice (e.g. java / maven)\n * create a new hello world example for the toolchain of your choice and make sure it builds on your new build slave\n * ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknerr%2Fjenkins-pipes-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftknerr%2Fjenkins-pipes-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknerr%2Fjenkins-pipes-infra/lists"}