{"id":26450423,"url":"https://github.com/ayush1725/jenkins-shared-libraries","last_synced_at":"2026-06-22T02:31:39.240Z","repository":{"id":282388658,"uuid":"948407270","full_name":"ayush1725/Jenkins-shared-libraries","owner":"ayush1725","description":"This repository contains a Jenkins shared library created for practice purposes. It includes reusable pipeline functions, custom steps, and scripts to enhance Jenkins workflows. Designed to help understand and experiment with Jenkins pipeline capabilities.","archived":false,"fork":false,"pushed_at":"2025-03-14T18:07:54.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T01:40:14.075Z","etag":null,"topics":["devops-tools","groovy-script","jenkins"],"latest_commit_sha":null,"homepage":"","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/ayush1725.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":"2025-03-14T09:32:31.000Z","updated_at":"2025-03-14T18:07:57.000Z","dependencies_parsed_at":"2025-03-14T11:36:08.575Z","dependency_job_id":null,"html_url":"https://github.com/ayush1725/Jenkins-shared-libraries","commit_stats":null,"previous_names":["ayush1725/jenkins-shared-libraries"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayush1725/Jenkins-shared-libraries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayush1725%2FJenkins-shared-libraries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayush1725%2FJenkins-shared-libraries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayush1725%2FJenkins-shared-libraries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayush1725%2FJenkins-shared-libraries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayush1725","download_url":"https://codeload.github.com/ayush1725/Jenkins-shared-libraries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayush1725%2FJenkins-shared-libraries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272631776,"owners_count":24967133,"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-29T02:00:10.610Z","response_time":87,"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":["devops-tools","groovy-script","jenkins"],"created_at":"2025-03-18T15:37:41.805Z","updated_at":"2026-06-22T02:31:39.208Z","avatar_url":"https://github.com/ayush1725.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins Shared Library\nThis repository contains a Jenkins shared library created for practice and learning purposes. The library includes reusable pipeline functions and custom scripts to streamline Jenkins workflows.\n\n## 📘 Purpose\nThis library is designed **only for practice and learning Jenkins**. It is not intended for production use.\n\n## 🚀 How to Use This Shared Library in Jenkins\n\nFollow the steps below to integrate this shared library into your Jenkins instance.\n\n### Step 1: Upload the Repository to GitHub\nPush your shared library code to a GitHub repository.\n\n### Step 2: Configure the Shared Library in Jenkins\n\n1. **Log in to Jenkins:** Access your Jenkins dashboard.\n2. **Navigate to Manage Jenkins:** Click on the left sidebar.\n3. **Go to Configure System:** Scroll down to the \"Global Pipeline Libraries\" section.\n4. **Add a New Library:**\n   - **Library Name:** (Choose a name for your library, e.g., `my-shared-library`)\n   - **Default Version:** (Pick a branch or tag, e.g., `main`)\n   - **Retrieval Method:** Select *Modern SCM*\n   - **Source Code Management:** Choose *Git*\n   - **Repository URL:** Add your GitHub repository URL\n\n### Step 3: Use the Library in Your Pipeline\n\nAfter configuring the shared library, use it in your Jenkinsfile like this:\n\n```groovy\n@Library('my-shared-library') _\n\npipeline {\n    agent any\n\n    stages {\n        stage('Example') {\n            steps {\n                hello()  // Example function from your shared library\n            }\n        }\n    }\n}\n```\n\n\u003e **Note:** Replace `my-shared-library` with your configured library name and `hello` with a valid function from your library.\n\n## 📂 Folder Structure (Example)\n```\n.\n├── vars\n│   └── hello.groovy\n└── README.md\n```\n\n### Example `hello.groovy`\n```groovy\ndef call() {\n    echo 'Hello, World from Jenkins Shared Library!'\n}\n```\n\n## 📈 Future Updates\n- More reusable functions and steps will be added to the library.\n- Enhanced examples and complex pipeline stages.\n\n## 📢 Disclaimer\nThis project is for **practice and learning purposes only**. It may lack the security and optimizations required for production environments.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayush1725%2Fjenkins-shared-libraries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayush1725%2Fjenkins-shared-libraries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayush1725%2Fjenkins-shared-libraries/lists"}