{"id":14984756,"url":"https://github.com/politie/pipeline-library","last_synced_at":"2025-04-10T22:36:09.195Z","repository":{"id":73830579,"uuid":"83315297","full_name":"politie/pipeline-library","owner":"politie","description":"Jenkins shared library for use with pipeline-as-code","archived":false,"fork":false,"pushed_at":"2017-05-02T18:45:14.000Z","size":13,"stargazers_count":103,"open_issues_count":0,"forks_count":84,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-24T19:22:15.655Z","etag":null,"topics":["groovy","jenkins","jenkins-pipeline","jenkinsfile","pipelines-as-code"],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/politie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-27T13:49:48.000Z","updated_at":"2025-02-23T07:17:56.000Z","dependencies_parsed_at":"2023-05-16T14:15:20.986Z","dependency_job_id":null,"html_url":"https://github.com/politie/pipeline-library","commit_stats":{"total_commits":13,"total_committers":3,"mean_commits":4.333333333333333,"dds":"0.46153846153846156","last_synced_commit":"2b9472903a94396ea2481524e5ded13798b80c50"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/politie%2Fpipeline-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/politie%2Fpipeline-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/politie%2Fpipeline-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/politie%2Fpipeline-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/politie","download_url":"https://codeload.github.com/politie/pipeline-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248311633,"owners_count":21082630,"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":["groovy","jenkins","jenkins-pipeline","jenkinsfile","pipelines-as-code"],"created_at":"2024-09-24T14:09:37.414Z","updated_at":"2025-04-10T22:36:09.158Z","avatar_url":"https://github.com/politie.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pipeline-library\nJenkins shared library for use with pipeline-as-code. You can use (parts of) this library in you `Jenkinsfile`.\n\nHow to use\n----------\n* Fork this repo.\n* Modify the `Constants.groovy` file and supply your specific configuration parameters (e.g. GitLab url, SonarQube url).\n* Add your forked git repo to your Jenkins instance: *Manage Jenkins \u003e Configure System \u003e Global Pipeline Libraries* and name it `pipeline-library`.\n* Import the global shared library into your `Jenkinsfile`:\n    ```\n    @Library('pipeline-library')\n    import politie.jenkins.*\n\n    def builder = new JenkinsPipelineBootstrap().createBuilder()\n\n    String serviceName = 'my-service'\n    String gitBranch = 'master'\n\n    builder.mavenApplicationPipeline(serviceName, gitBranch)        \n    ```\n* Start your Jenkins job.\n\nNote: if you just want to take advantage of our custom step definitions, take a look at [JenkinsPipelineSteps.groovy](src/politie/jenkins/JenkinsPipelineSteps.groovy)\n\nContributors\n----------\n\n* [Bert Jan](https://github.com/bertjan)\n* [Arno](https://github.com/arnobroekhof)\n* [Richard](https://github.com/rkettelerij)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolitie%2Fpipeline-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolitie%2Fpipeline-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolitie%2Fpipeline-library/lists"}