{"id":19004777,"url":"https://github.com/osll/jjg","last_synced_at":"2026-04-21T09:30:36.350Z","repository":{"id":90107821,"uuid":"55513670","full_name":"OSLL/jjg","owner":"OSLL","description":"Jenkins Job Gitizer - versioning instrument for Jenkins jobs","archived":false,"fork":false,"pushed_at":"2017-09-04T11:57:55.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-01T19:26:17.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/OSLL.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":"2016-04-05T14:13:30.000Z","updated_at":"2018-04-30T05:20:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad5804d9-1c8d-4ac3-9b4a-5345b6e862de","html_url":"https://github.com/OSLL/jjg","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/OSLL%2Fjjg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSLL%2Fjjg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSLL%2Fjjg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSLL%2Fjjg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OSLL","download_url":"https://codeload.github.com/OSLL/jjg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027432,"owners_count":19736211,"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-11-08T18:24:26.160Z","updated_at":"2026-04-21T09:30:36.224Z","avatar_url":"https://github.com/OSLL.png","language":"Shell","readme":"# jenkins_job_gitizer\nWrapper around jenkins-job-builder (https://github.com/openstack-infra/jenkins-job-builder)\n\n# content\n\n* ./scripts Wrapping scripts\n  * setup_environment.sh - setup dependencies for this project (require sudo)\n  * setup_git_sync_target.sh - setup syncronization between git repo with jobs and jenkins instance \n  * sync_jobs.sh - updates (creates) jobs on jenkins from yaml stored at DIR\n  * validate_yaml.sh - validate \\*.yaml file structure\n  * validate_jobs.sh - validate all jobs stored at DIR\n  * ud_job.sh - update/delete job on remote Jenkins using yaml description\n* ./test_configs - configs for testing \n  * jenkins.ini - config for mdbci project jenkins\n* ./test_jobs - example jobs\n  * ./test_jobs/simplest_job/test_job.yaml - hello world parametrized job\n  * ./test_jobs/includes/ - job where set of parameter values are stored at separated file\n\n# installation \n\n\u003cpre\u003e\nsudo ./scripts/setup_environment.sh\n\u003c/pre\u003e\n\nCopy ./test_configs/jenkins.ini.template to ./test_configs/jenkins.ini and put path to your Jenkins \nand its credentials to this file\n\n# usage\n\nChecking yaml validity\n\u003cpre\u003e\n./scripts/validate_yaml.sh test_jobs/includes/jjb_parameter_set_defined_in_include.yaml\n\u003c/pre\u003e\n\nUpdating job on server\n\u003cpre\u003e\n./scripts/ud_job.sh test_configs/jenkins.ini update test_jobs/includes/jjb_parameter_set_defined_in_include.yaml\n./scripts/ud_job.sh test_configs/jenkins.ini update test_jobs/template/jjb_project.yaml\n./scripts/ud_job.sh test_configs/jenkins.ini update test_jobs/macros/jjb-macros.yaml\n\u003c/pre\u003e\n\nJob git syncing setup\n\u003cpre\u003e\n./scripts/setup_git_sync_target.sh test_configs/jenkins.ini git@github.com:OSLL/jjg_example_job_repo.git\n\u003c/pre\u003e\n\n# Job git syncing setup - manual\n\nPrerequisites: JOBS_REPO_URL - git repository where job descriptions in yaml format are stored at \"jobs\" directory.\n\n1. Clone this repo localy, ensure that user by which jenkins is executed has enough  rights for runnig scripts from the repo.\n2. Create jenkins account for performing jobs creation and update.\n3. Create ini file (test_configs/*.template) for jenkins account created previously.\n4. Ensure that repository JOBS_REPO_URL is accesseble from jenkins server.\n5. Run ./scripts/setup_git_sync_target.sh\n\u003cpre\u003e\n./scripts/setup_git_sync_target.sh CONFIG JOBS_REPO_URL\n\u003c/pre\u003e\nIf all steps are performed successfuly new target \"Jobs_git_synchronization\" should appear at jenkins server.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosll%2Fjjg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosll%2Fjjg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosll%2Fjjg/lists"}