{"id":22538265,"url":"https://github.com/cfpb/jenkins-automation","last_synced_at":"2025-10-23T17:44:39.236Z","repository":{"id":66348026,"uuid":"38404799","full_name":"cfpb/jenkins-automation","owner":"cfpb","description":"Helpers for automating Jenkins via Groovy code—primarily job builders and utilities.","archived":false,"fork":false,"pushed_at":"2024-03-11T14:52:00.000Z","size":1341,"stargazers_count":125,"open_issues_count":3,"forks_count":80,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-09T15:10:06.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfpb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2015-07-02T01:42:38.000Z","updated_at":"2025-02-10T22:18:41.000Z","dependencies_parsed_at":"2025-02-07T14:11:42.271Z","dependency_job_id":"adbd884c-d7a0-4558-8cef-069208282579","html_url":"https://github.com/cfpb/jenkins-automation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fjenkins-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fjenkins-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fjenkins-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fjenkins-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfpb","download_url":"https://codeload.github.com/cfpb/jenkins-automation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055282,"owners_count":21040157,"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","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-12-07T11:11:02.944Z","updated_at":"2025-10-23T17:44:34.199Z","avatar_url":"https://github.com/cfpb.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to jenkins-automation\n\n[![Build Status](https://travis-ci.org/cfpb/jenkins-automation.svg?branch=master)](https://travis-ci.org/cfpb/jenkins-automation)\n\nRepos automated by Jenkins DSL\n\nJenkins automation is a library of helper functions to make continuous integration\nand deployment fast, easy and fun.\n\nWe use [Job DSL](https://github.com/jenkinsci/job-dsl-plugin/wiki) to automate.\nWe have further enhanced the functionality with a set of builders. You can see what they can do and how to use them in our\n[API documentation](http://cfpb.github.io/jenkins-automation/).\n\nOur collection of builders is still growing and we would love your contributions. Please see [How to contribute](CONTRIBUTING.md).\n\n### Good place to start learning about job-dsl API:\n\n    http://jenkinsci.github.io/job-dsl-plugin/\n\n### Once you are little more comfortable, try the sandbox:\n\n    http://job-dsl.herokuapp.com/\n\n#### If you would like to get started on it for your project a good place to start is our [starter repo](https://github.com/cfpb/jenkins-as-code-starter-project).\n\n## Guiding principles\n\n1. Make valuable\n2. Make it easy\n3. Make it fast\n4. Make it pretty\n\nand always [YAGNI](https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it),\n            [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)\n          and [KISS](https://en.wikipedia.org/wiki/KISS_principle)\n\n### Configuration added to all jobs\n\nAny jobs created by using these `Builders` get the following configuration added automatically:\n\n- Colorized Output (requires AnsiColor plugin)\n- Timestamps in the build log (requires Timestamper plugin)\n- Broken build claiming (requires Claim plugin)\n- Build Failure Analyzer (requires Build Failure Analyzer plugin)\n- Max 30 builds retained\n\nIf the `emails` property is set on a job, the job automatically gets configured with an Extended Email block, as well (requires Email Extension plugin)\n\n### Commonly used Jenkins Plugins that we support\n\n- https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin\n- https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin\n- http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin\n- http://wiki.jenkins-ci.org/display/JENKINS/Multiple+SCMs+Plugin\n- http://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin\n- http://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin\n\n\n### Gradle init scripts\n\nWithin the path \n\n```\ngradle/init.d/init.gradle\n```\n\nThere is a file that contains tasks that may be imported into other \ngradle builds by using the additional flag `-I` during normal gradle\nexecution. Currently this file contains a task designed to copy the\njar files of all dependencies of a project into a directory `jac_dependencies`.\nThis tool may be useful when integrating with tools like\n[OWASP](https://www.owasp.org/index.php/OWASP_Dependency_Check)\n\n\nCommon execution might be\n\n```\n./gradlew -I gradle/init.d/init.gradle copyDeps\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfpb%2Fjenkins-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfpb%2Fjenkins-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfpb%2Fjenkins-automation/lists"}