{"id":14984692,"url":"https://github.com/praqma/jenkins4casc","last_synced_at":"2025-07-30T05:32:53.729Z","repository":{"id":141086470,"uuid":"125987934","full_name":"Praqma/jenkins4casc","owner":"Praqma","description":"Dockerfile repository for a Jenkins preconfigured with Jenkins Configuration as Code plugin","archived":false,"fork":false,"pushed_at":"2019-02-15T08:29:16.000Z","size":51,"stargazers_count":4,"open_issues_count":2,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T12:05:57.421Z","etag":null,"topics":["configuration-as-code","docker-image","infrastructure-as-code","jenkins","jenkins-ci"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/Praqma.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":"2018-03-20T08:52:39.000Z","updated_at":"2024-06-28T06:42:15.000Z","dependencies_parsed_at":"2023-03-17T15:00:22.517Z","dependency_job_id":null,"html_url":"https://github.com/Praqma/jenkins4casc","commit_stats":{"total_commits":28,"total_committers":4,"mean_commits":7.0,"dds":0.5,"last_synced_commit":"a194a83ee45b5108b1b94a359823f4e8806d801b"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/Praqma/jenkins4casc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2Fjenkins4casc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2Fjenkins4casc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2Fjenkins4casc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2Fjenkins4casc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Praqma","download_url":"https://codeload.github.com/Praqma/jenkins4casc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praqma%2Fjenkins4casc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815187,"owners_count":24148356,"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-07-30T02:00:09.044Z","response_time":70,"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":["configuration-as-code","docker-image","infrastructure-as-code","jenkins","jenkins-ci"],"created_at":"2024-09-24T14:09:31.784Z","updated_at":"2025-07-30T05:32:53.666Z","avatar_url":"https://github.com/Praqma.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jenkins4casc\n\nRepository for the Praqma custom Docker image using the new [Configuration as Code plugin](https://github.com/jenkinsci/configuration-as-code-plugin).\n\n## How to use the Docker image\n\nBasically the same way as you would use the official Jenkins Docker image. With one difference. If you start a container using this image with an environment variable `CASC_JENKINS_CONFIG` you can configure Jenkins to be configured on startup. And if you point to a configuration file from an URL you can reconfigure without the need for a restart.\n\n### Example: Minimum Configuration\n\n`docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home -e CASC_JENKINS_CONFIG=https://raw.githubusercontent.com/Praqma/jenkins4casc/master/jenkins-minimal-example.yaml praqma/jenkins4casc`\n\nWe added the switch\n\n`-e CASC_JENKINS_CONFIG=https://raw.githubusercontent.com/Praqma/jenkins4casc/master/jenkins-minimal-example.yaml`\n\nTo point to the smallest possible configuration of Jenkins with Jenkins configuration as code:\n\n```\njenkins:\n  systemMessage: \"The smallest possible configuration for Jenkins Configuration as Code plugin\"\n```\n\nThis gives this message on the welcome screen when Jenkins boots up:\n\n![Example of configuration](/img/small.png)\n\nFor more advanced examples take a look at the demos sections found in the [official repository for Configuration as Code plugin repository](https://github.com/jenkinsci/configuration-as-code-plugin)\n\n### Example using Docker Compose and Docker secrets\n\nWe have a running example using Docker compose you're free to take a look at located [here](https://github.com/Praqma/praqma-jenkins-casc).\n\n## Docker image versioning strategy\n\nThe tag `latest` always refer to an image build from `HEAD` on master. When we do an official release we create a tag corresponding to the version of the included plugin. For instance, at the time of this writing the latest version of the plugin is `0.2-alpha` when the Docker image for this version is ready we'll release a version with the tag `praqma/jenkins4casc:0.2-alpha` and `praqma/jenkins4casc:0.2-alpha-latest`.\n\nIf we need to update the Docker image, with a change that is not related to a new version of the plugin we'll create a new version with the tag `0.2-alpha-1`and update the tag `praqma/jenkins4casc:0.2-alpha-latest`.\n\n### Docker autobuild\n\nTo create a new docker image on Docker hub, simply tag your commit with a version tag as described above, try to match the version with the version of the included Configuration As Code plugin. So for instance if you create a tag: `0.7-alpha` and push your change to github, you'll get a docker image with the label: `jenkins4casc:0.7-alpha` which is what you want.\n\nThe repository is setup with Docker autobuild enabled. We build all tags, and master is always built and made available as `latest`. Versioning is based on the convention described in the Docker image versioning strategy section above.\n\nFor more information about how Docker Hub autobuild works please consult the [official guide](https://docs.docker.com/docker-hub/builds/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraqma%2Fjenkins4casc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraqma%2Fjenkins4casc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraqma%2Fjenkins4casc/lists"}