{"id":16356558,"url":"https://github.com/zaporylie/jenkins-yaml","last_synced_at":"2025-08-07T20:16:28.195Z","repository":{"id":146455683,"uuid":"72573694","full_name":"zaporylie/jenkins-yaml","owner":"zaporylie","description":".jenkins.yml script runner","archived":false,"fork":false,"pushed_at":"2016-11-01T20:47:14.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-04T13:51:59.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/zaporylie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-11-01T20:26:50.000Z","updated_at":"2023-03-08T16:03:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"159da053-6431-4432-b45a-2568bec64851","html_url":"https://github.com/zaporylie/jenkins-yaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zaporylie/jenkins-yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fjenkins-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fjenkins-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fjenkins-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fjenkins-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaporylie","download_url":"https://codeload.github.com/zaporylie/jenkins-yaml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaporylie%2Fjenkins-yaml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269317250,"owners_count":24396847,"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-07T02:00:09.698Z","response_time":73,"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":"2024-10-11T01:43:50.484Z","updated_at":"2025-08-07T20:16:28.174Z","avatar_url":"https://github.com/zaporylie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jenkins-yaml\n.jenkins.yml script runner\n\n## How to:\n- Add .jenkins.yml to your repo\n- Run `jenkins-yaml.runner` in your jenkins build\n\n## .jenkins.yml\n\nSyntax for .jenkins.yml is similar to .travis.yml, just simplified.\n\n```yaml\njob1:\n  - ls -la\n  - touch test\n  - chmod +x test\n  - ./test\n  \njob2:\n  - rm *\n  \njob3:\n  - curl -I http://www.google.com\n```\n\n## How to add it to Jenkins?\n\n- Create freestyle Jenkins Job\n- Add \"Execute shell\" in \"Build\" section\n- Add single command - `jenkins-yaml.runner \u003csection\u003e` - where \u003csection\u003e is has to match one of the parent keys in .jenkins.yml (i.e. `job2` from example above)\n\n## Parameters\n\n`jenkins-yaml.runner [--errors] [--missing-section] [--missing-file] \u003csection\u003e`\n\n- Use `--errors` if you don't want to break excution on first error\n- Use `--missing-section` if script should return exit code \u003e 0 for missing section in .jenkins.yml file\n- Use `--missing-file` if script should return exit code \u003e 0 for missing .jenkins.yml file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaporylie%2Fjenkins-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaporylie%2Fjenkins-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaporylie%2Fjenkins-yaml/lists"}