{"id":21660821,"url":"https://github.com/mohammadll/jenkins-casc","last_synced_at":"2026-04-13T06:03:08.992Z","repository":{"id":162512364,"uuid":"637052586","full_name":"mohammadll/Jenkins-CasC","owner":"mohammadll","description":"Jenkins Configuration as Code(JCasC)","archived":false,"fork":false,"pushed_at":"2024-02-19T18:54:50.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T01:40:51.561Z","etag":null,"topics":["ansible","docker-compose","jenkins","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/mohammadll.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":"2023-05-06T11:06:37.000Z","updated_at":"2024-01-07T08:04:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6787e7a-dea6-4d5d-9e9c-9347bf71fd31","html_url":"https://github.com/mohammadll/Jenkins-CasC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mohammadll/Jenkins-CasC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadll%2FJenkins-CasC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadll%2FJenkins-CasC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadll%2FJenkins-CasC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadll%2FJenkins-CasC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadll","download_url":"https://codeload.github.com/mohammadll/Jenkins-CasC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadll%2FJenkins-CasC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31741541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T05:13:27.074Z","status":"ssl_error","status_checked_at":"2026-04-13T05:13:25.150Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ansible","docker-compose","jenkins","terraform"],"created_at":"2024-11-25T09:38:59.014Z","updated_at":"2026-04-13T06:03:08.952Z","avatar_url":"https://github.com/mohammadll.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins-CasC\n\n### Introduction\n\n\nSetting up Jenkins is a complex process, as both Jenkins and its plugins require some tuning and configuration, with dozens of parameters to set within the web UI manage section.\n\nJenkins Configuration as Code provides the ability to define this whole configuration as a simple, human-friendly, plain text yaml syntax. Without any manual steps, this configuration can be validated and applied to a Jenkins controller in a fully reproducible way. With JCasC, setting up a new Jenkins controller will become a no-brainer event.\n\n\n-----------\n\n### What do we want to do ?\n\n- Provisioning a jenkins server on virtualbox platform with Terraform (you can also use other platforms like aws):\n   - we used ubuntu vagrant box\n- Running ansible playbook with terraform provisioner that is responsible to do some tasks:\n   - Install Docker and Docker-compose on jenkins server\n   - Run jenkins docker-compose to have its docker container up and running\n   \n----------\n\n### casc.yml configuration file\n\nOne of the most important files that we have in this project is \u003c\u003c casc.yml \u003e\u003e that is reponsible to define the whole jenkins configuration as a simple, human-friendly, plain text yaml syntax\n\n#### What we did in casc.yml:\n - setting up jenkins basic configuration like system_message , num executors , jenkins url\n - Creating a local user : admin\n - Creating two credentials with different types (string , usernamePassword) for SonarQube and Jira plugins\n - Setting up Jira and SonarQube Plugins\n - Setting up the home location of jdk, maven, git tools\n\n----------\n### Now We have a jenkins server with Pre-defind configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadll%2Fjenkins-casc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadll%2Fjenkins-casc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadll%2Fjenkins-casc/lists"}