{"id":16779762,"url":"https://github.com/petermosmans/jenkinslint","last_synced_at":"2025-04-10T20:52:34.777Z","repository":{"id":37953195,"uuid":"278575488","full_name":"PeterMosmans/jenkinslint","owner":"PeterMosmans","description":"Basic linter (validator) for Jenkinsfiles. Can easily be used in pre-commit hooks and the pre-commit framework","archived":false,"fork":false,"pushed_at":"2022-06-13T19:43:09.000Z","size":18,"stargazers_count":16,"open_issues_count":4,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T18:21:30.785Z","etag":null,"topics":["jenkins","jenkinsfile","linter","pre-commit","pre-commit-hook","validator"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterMosmans.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","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":"2020-07-10T08:03:54.000Z","updated_at":"2024-06-13T10:22:43.000Z","dependencies_parsed_at":"2022-09-03T19:21:25.466Z","dependency_job_id":null,"html_url":"https://github.com/PeterMosmans/jenkinslint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fjenkinslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fjenkinslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fjenkinslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fjenkinslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterMosmans","download_url":"https://codeload.github.com/PeterMosmans/jenkinslint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248297011,"owners_count":21080309,"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":["jenkins","jenkinsfile","linter","pre-commit","pre-commit-hook","validator"],"created_at":"2024-10-13T07:32:11.390Z","updated_at":"2025-04-10T20:52:34.760Z","avatar_url":"https://github.com/PeterMosmans.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"###########\njenkinslint\n###########\n\nA basic Jenkinsfile linter (validator). Can validate files using a Jenkins web\ninterface, or the Jenkins SSH interface.\n\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white\n   :target: https://github.com/pre-commit/pre-commit\n   :alt: pre-commit\n\nUsage\n=====\n\nTo configure which type of validation to use (web or SSH), create an INI file\nnamed ``.jenkinslintrc`` in the root of your repository.\n\nThe following parameters are supported:\n\nJENKINS_SERVER\n   Server name\n\nJENKINS_SSH_PORT\n   When set, use SSH validation\n\nJENKINS_UNSAFE_SSL\n   When set to TRUE, disable SSL/TLS certificate validation\n\nJENKINS_URL\n   Full Jenkins URL for web-based validation\n\nNot all parameters need to be set. Example:\n\n::\n\n   JENKINS_SERVER=jenkins.demo.local\n   JENKINS_SSH_PORT=8022\n\nStandalone\n----------\n\nValidate files using ``jenkinslint`` followed by the name of the Jenkinsfile,\ne.g.\n\n::\n\n   jenkinslint Jenkinsfile\n\nUsing the pre-commit framework\n------------------------------\n\nInstall the pre-commit framework, and add the following to the\n``.pre-commit-config.yaml`` file:\n\n::\n\n    - repo: https://github.com/PeterMosmans/jenkinslint\n      rev: master\n      hooks:\n       - id: jenkinslint\n\nThis will automatically validate files named ``Jenkinsfile`` during the pre\ncommit phase.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermosmans%2Fjenkinslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetermosmans%2Fjenkinslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermosmans%2Fjenkinslint/lists"}