{"id":17931189,"url":"https://github.com/v1v/jenkinslint-plugin","last_synced_at":"2025-08-15T14:32:03.496Z","repository":{"id":34617810,"uuid":"38566703","full_name":"v1v/jenkinslint-plugin","owner":"v1v","description":" Checks Jenkins Jobs for practices and behaviour that could potentially be improved.","archived":false,"fork":false,"pushed_at":"2023-12-18T03:14:52.000Z","size":159,"stargazers_count":2,"open_issues_count":3,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-28T21:21:23.664Z","etag":null,"topics":["best-practices","java","jenkins","jenkinslint-plugin","lint"],"latest_commit_sha":null,"homepage":"https://wiki.jenkins.io/display/JENKINS/JenkinsLint%20Plugin","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v1v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-05T11:32:15.000Z","updated_at":"2017-08-04T07:51:24.000Z","dependencies_parsed_at":"2022-08-17T21:05:11.256Z","dependency_job_id":null,"html_url":"https://github.com/v1v/jenkinslint-plugin","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/v1v%2Fjenkinslint-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1v%2Fjenkinslint-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1v%2Fjenkinslint-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v1v%2Fjenkinslint-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v1v","download_url":"https://codeload.github.com/v1v/jenkinslint-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229920919,"owners_count":18144863,"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":["best-practices","java","jenkins","jenkinslint-plugin","lint"],"created_at":"2024-10-28T21:20:17.721Z","updated_at":"2024-12-16T07:08:04.809Z","avatar_url":"https://github.com/v1v.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"JenkinsLint Plugin\n==================\n\nThis plugin has mainly two goals:\n- To make it easier to detect issues in your Jenkins configuration that will cause Jenkins to blow up when you attempt to run those jobs.\n- To encourage discussion within the Jenkins community on the more subjective stuff. Having a set of checks to base discussion on helps drive out what we as a community think is good style.\n\nSee [JenkinsLint Plugin](https://wiki.jenkins-ci.org/display/JENKINS/JenkinsLint+Plugin) for more information.\n\n[![Build Status](https://jenkins.ci.cloudbees.com/buildStatus/icon?job=plugins/jenkinslint-plugin)](https://jenkins.ci.cloudbees.com/job/plugins/job/jenkinslint-plugin/)\n\n\nMotivation\n==========\n\nJenkins is an awesome Automation System, and there are a bunch of people using it in different ways, for instances:\ndevelopers, testers, automation, build engineers, release engineers, scrum master, product owner and so on. Unfortunately, as\nthe number of jobs grows, maintaining them becomes tedious, and the paradigm of no using a predefined set of best practices\nfalls apart.\n\nThe jenkinslint plugin attempts to solve this problem by allowing jobs to be evaluated with some predefined\nbest practices. The goal is for your team to be able to define those best practices to be related to their project.\n\nManually reviewing those jobs wouldn't be too hard, but doing the same thing all over again for every new job or for\na hundred other projects is where it gets difficult and tedious. This provides a much more powerful way of analyzing them.\n\n\nTODO\n=====================\n\n- Load checks dynamically via Reflection\n- Show graphs\n- Configure Checks (enabled, disabled, change severity)\n- Load checks dynamically.\n- Jobs action to show those Jenkins lints.\n- System.exit in system admin groovy scripts (prebuilder, builders, publishers and parameters)\n- Support pipeline\n\nList available Checks\n=====================\n\n* Artifact Publisher check\n* CleanUp Workspace check\n* Git Shallow clone check\n* Javadoc Publisher check\n* Job Assigned Label check\n* Master Assigned Label check\n* Job Description check\n* Job Log Rotator check\n* Job Name check\n* Maven Job Type check\n* Null SCM check\n* Polling SCM Trigger check\n* Multibranch Job Type check\n* Hardcoded Script check\n* Gradle Wrapper check\n* Build timeout check\n* Slave description check\n* Slave label check\n* Slave version check\n* Windows slave launch check\n\n\nDevelopment\n===========\n\nStart the local Jenkins instance:\n\n    mvn hpi:run\n\n\nHow to install\n--------------\n\nRun\n\n\tmvn clean package\n\nto create the plugin .hpi file.\n\n\nTo install:\n\n1. copy the resulting ./target/jenkinslint.hpi file to the $JENKINS_HOME/plugins directory. Don't forget to restart Jenkins afterwards.\n\n2. or use the plugin management console (http://example.com:8080/pluginManager/advanced) to upload the hpi file. You have to restart Jenkins in order to find the plugin in the installed plugins list.\n\n\nPlugin releases\n---------------\n\n\tmvn release:prepare release:perform\n\n\nAuthors\n=======\n\nVictor Martinez\n\n\nReferences\n==========\n\n1. [Linters list](https://github.com/mcandre/linters)\n2. [Jenkins Performance Hints](http://soldering-iron.blogspot.com.es/2014/01/jenkins-performance-hints.html)\n\nLicense\n=======\n\n    The MIT License\n\n    Copyright (c) 2015, Victor Martinez\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv1v%2Fjenkinslint-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv1v%2Fjenkinslint-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv1v%2Fjenkinslint-plugin/lists"}