{"id":15667492,"url":"https://github.com/linuxsuren/jenkinslibrary","last_synced_at":"2025-10-14T05:31:39.868Z","repository":{"id":145228734,"uuid":"263827370","full_name":"LinuxSuRen/jenkinslibrary","owner":"LinuxSuRen","description":null,"archived":true,"fork":false,"pushed_at":"2020-05-14T05:54:09.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-10T14:29:51.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/LinuxSuRen.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":"2020-05-14T05:51:35.000Z","updated_at":"2023-06-05T07:52:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e1e86b8-d22d-48ff-8816-34f78ed28a55","html_url":"https://github.com/LinuxSuRen/jenkinslibrary","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fjenkinslibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fjenkinslibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fjenkinslibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fjenkinslibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinuxSuRen","download_url":"https://codeload.github.com/LinuxSuRen/jenkinslibrary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236451125,"owners_count":19150805,"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-10-03T14:03:59.526Z","updated_at":"2025-10-14T05:31:34.542Z","avatar_url":"https://github.com/LinuxSuRen.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"这个项目是根据业务场景编写的jenkinsfile，主要用在k8s上跑的微服务，希望对你有些启发。\n===================================================================================\n\n## jenkinsfiles： \n+ 典型的jenkinsfile发出来给大家分享下。   \n|  FILE   | Description  |  \n|  ----  | ----  |  \n| main.jenkinsfile  | 主要jenkinsfile文件，微服务程序部署 |  \n| mavenInstall.jenkinsfile  | 依赖包打包 |  \n| staticWebsite.jenkinsfile  | 静态页面更新至nginx下，并reload |  \n| npmWebsite.jenkinsfile  | npm 前端项目构建，并打包放置到nginx下 |  \n\n## resources：  这属于共享库代码，需要在系统中配置共享库地址及名称\n### resources中根据目录区分项目环境，例如生产prod，预生产preprod等\n+ conf：在相应conf目录下每个项目服务都有与项目名称对应的配置文件，格式为groovy格式\n+ dockerfile： 存放构建项目的dockerfile，如果有特殊需要的dockerfile，以项目名称为前缀生成文件，main.jenkinsfile中做判断，并自动调用\n+ yaml： 这里存放k8s的deployment及service的yaml文件，特殊需求同上。\n\n## src： 这属于共享库代码，需要在系统中配置共享库地址及名称\n+ 一些公共方法。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxsuren%2Fjenkinslibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxsuren%2Fjenkinslibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxsuren%2Fjenkinslibrary/lists"}