{"id":24524348,"url":"https://github.com/devonfw/production-line-shared-lib","last_synced_at":"2025-08-19T02:43:22.907Z","repository":{"id":37254700,"uuid":"153606446","full_name":"devonfw/production-line-shared-lib","owner":"devonfw","description":"Jenkins \"Shared libs\" for Production Line templating","archived":false,"fork":false,"pushed_at":"2022-12-22T03:34:41.000Z","size":518,"stargazers_count":5,"open_issues_count":14,"forks_count":10,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-14T13:00:21.625Z","etag":null,"topics":[],"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/devonfw.png","metadata":{"files":{"readme":"README.asciidoc","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}},"created_at":"2018-10-18T10:30:02.000Z","updated_at":"2023-03-28T22:12:03.000Z","dependencies_parsed_at":"2022-08-18T20:20:46.777Z","dependency_job_id":null,"html_url":"https://github.com/devonfw/production-line-shared-lib","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/devonfw/production-line-shared-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonfw%2Fproduction-line-shared-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonfw%2Fproduction-line-shared-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonfw%2Fproduction-line-shared-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonfw%2Fproduction-line-shared-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devonfw","download_url":"https://codeload.github.com/devonfw/production-line-shared-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devonfw%2Fproduction-line-shared-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271092164,"owners_count":24697903,"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-08-19T02:00:09.176Z","response_time":63,"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":"2025-01-22T04:19:30.304Z","updated_at":"2025-08-19T02:43:22.870Z","avatar_url":"https://github.com/devonfw.png","language":"Groovy","readme":"= SharedLib for Production Line\n:imagesdir: doc/assets/images\n:toc: macro\n\nThis project is a Jenkins Shared Library ( see https://jenkins.io/doc/book/pipeline/shared-libraries/ ) which provides several methods to do a pre-configuration of the 'Production Line'.\n\ntoc::[]\n\n== Introduction\nThe global lib structure is package based and the hierarchy is as follows:\n\n[source]\n----\ncom\n |\n \\- capgemini\n     |\n     \\- productionline\n         |\n         |- configuration (containing all packages for configuring the components of the ProductionLine) \n         |\n         |- build (common functions used during build process)\n         |\n         \\- deployment (common functions used during the deployment process)\n----\n\nFor further information (like usage examples) please have a look in the `doc/configuration` folder of this repository. To find detailed information about the available methods please take a look at the *groovydoc* documentation in each class ( `src/com/capgemini/productionline/configuration` ).\n\n== How to use it\n\n=== Add the 'SharedLib for Production Line' to your Jenkins Instance\n\nTo make all of the 'SharedLib for Production Line' methods available for Jobs, the project needs to be configured as a 'Global Pipeline Library' in a Jenkins Instance. The following steps describe this activity in detail:\n\n. Go to 'Manage Jenkins' image:ManageJenkinsScreenshot.png[Manage Jenkins Screenshot,float=\"left\"]\n. Select 'Configure System' image:ConfigureSystemJenkinsScreenshot.png[Configure System Screenshot,float=\"right\"]\n. Search for 'Global Pipeline Libraries'\n. Add the library but as \"Default version\" use \"release/1.1\": \" image:AddSharedLibJenkinsScreenshot.png[Add a Shared Lib Screenshot,float=\"right\"]\n\n=== Install plugins used by library\n* Allure Jenkins Plugin\n*\tNodeJS Plugin\n* Job DSL\n* HTTP Request Plugin\n\n=== Build a new Job based on the template\n\nTo use the 'SharedLib for Production Line' in a Jenkins-Job just create a new Pipeline and start using it as shown below.\n\n```Groovy\n@Library('ProductionLineTemplateLib')\n\nimport com.capgemini.productionline.configuration.*\nJenkins jenkinsConfiguration = new Jenkins();\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonfw%2Fproduction-line-shared-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevonfw%2Fproduction-line-shared-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevonfw%2Fproduction-line-shared-lib/lists"}