{"id":50806790,"url":"https://github.com/mikechiloane/recceda-jenkins-library","last_synced_at":"2026-06-13T02:05:16.415Z","repository":{"id":326594000,"uuid":"1106266494","full_name":"mikechiloane/recceda-jenkins-library","owner":"mikechiloane","description":"Jenkins pipeline template library for springboot applications","archived":false,"fork":false,"pushed_at":"2025-11-29T23:15:40.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-01T01:42:24.959Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikechiloane.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-28T23:10:03.000Z","updated_at":"2025-11-29T23:15:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mikechiloane/recceda-jenkins-library","commit_stats":null,"previous_names":["mikechiloane/recceda-jenkins-library"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mikechiloane/recceda-jenkins-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechiloane%2Frecceda-jenkins-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechiloane%2Frecceda-jenkins-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechiloane%2Frecceda-jenkins-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechiloane%2Frecceda-jenkins-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikechiloane","download_url":"https://codeload.github.com/mikechiloane/recceda-jenkins-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikechiloane%2Frecceda-jenkins-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34269365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","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":"2026-06-13T02:05:15.596Z","updated_at":"2026-06-13T02:05:16.401Z","avatar_url":"https://github.com/mikechiloane.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recceda Jenkins Library\n\nThis repository contains a Jenkins Shared Library designed to streamline the CI/CD process for Spring Boot applications. It provides a reusable pipeline that can be easily integrated into any Spring Boot project managed by Jenkins.\n\n## How to Configure Jenkins\n\nTo use this shared library, you must configure it as a \"Global Pipeline Library\" in your Jenkins instance:\n\n1.  Navigate to **Manage Jenkins** \u003e **Configure System**.\n2.  Scroll down to the **Global Pipeline Libraries** section.\n3.  Click **Add**.\n4.  Set the following:\n    *   **Name:** `recceda-jenkins-library` (This name is used in your project's `Jenkinsfile`).\n    *   **Default version:** `main` (This field is mandatory. It tells Jenkins which branch or tag to use, e.g., `main`, `master`, `v1.0`).\n    *   **Retrieval method:** `Modern SCM`.\n    *   **Source Code Management:** `Git`.\n    *   **Project Repository:** Enter the URL to this Git repository (e.g., `https://github.com/your-org/recceda-jenkins-library.git`).\n    *   Add credentials if your repository is private.\n5.  Click **Save**.\n\n## How to Use in Your Spring Boot Project\n\nOnce the shared library is configured in Jenkins, you can use it in your Spring Boot application by creating a `Jenkinsfile` in the root of your project's repository.\n\nHere's an example `Jenkinsfile`:\n\n```groovy\n@Library('recceda-jenkins-library') _\n\nspringBootPipeline {\n    runTest = true\n    runBuild = true\n    runDeploy = false\n}\n```\n\n### Pipeline Parameters\n\nThe `springBootPipeline` accepts the following boolean parameters to control which stages are executed:\n\n*   `runTest` (default: `true`): If `true`, the \"Test\" stage will execute `mvn test`.\n*   `runBuild` (default: `true`): If `true`, the \"Build\" stage will execute `mvn package`.\n*   `runDeploy` (default: `false`): If `true`, the \"Deploy\" stage will run. **Note: This stage is a placeholder and requires implementation specific to your deployment environment.**\n\n### Pipeline Stages\n\nThe `springBootPipeline` includes the following stages:\n\n1.  **Test:**\n    *   Executes `mvn test`.\n    *   Runs only if `runTest` is `true`.\n2.  **Build:**\n    *   Executes `mvn package`.\n    *   Runs only if `runBuild` is `true`.\n3.  **Deploy:**\n    *   Currently, this stage contains a placeholder `echo \"Deployment step is a placeholder.\"`.\n    *   Runs only if `runDeploy` is `true`.\n    *   **You must customize the `vars/springBootPipeline.groovy` file to add your actual deployment logic.**\n\n## Customization\n\nYou can modify the `vars/springBootPipeline.groovy` file to adjust the commands used in each stage or to add new stages as needed for your specific CI/CD requirements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikechiloane%2Frecceda-jenkins-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikechiloane%2Frecceda-jenkins-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikechiloane%2Frecceda-jenkins-library/lists"}