{"id":20040448,"url":"https://github.com/cvitter/cjt-demo-environment","last_synced_at":"2026-04-29T13:31:40.899Z","repository":{"id":150375747,"uuid":"97844070","full_name":"cvitter/cjt-demo-environment","owner":"cvitter","description":"CloudBees Jenkins Team (https://www.cloudbees.com/products/cloudbees-jenkins-team) demo environment built with Docker.","archived":false,"fork":false,"pushed_at":"2017-08-11T02:09:31.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T06:44:13.448Z","etag":null,"topics":["cloudbees-jenkins-team","docker","docker-compose"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvitter.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":"2017-07-20T14:19:35.000Z","updated_at":"2017-07-21T15:12:54.000Z","dependencies_parsed_at":"2023-04-25T10:46:39.128Z","dependency_job_id":null,"html_url":"https://github.com/cvitter/cjt-demo-environment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cvitter/cjt-demo-environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvitter%2Fcjt-demo-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvitter%2Fcjt-demo-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvitter%2Fcjt-demo-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvitter%2Fcjt-demo-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvitter","download_url":"https://codeload.github.com/cvitter/cjt-demo-environment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvitter%2Fcjt-demo-environment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260148390,"owners_count":22965912,"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":["cloudbees-jenkins-team","docker","docker-compose"],"created_at":"2024-11-13T10:42:17.354Z","updated_at":"2026-04-29T13:31:35.880Z","avatar_url":"https://github.com/cvitter.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudBees Jenkins Team - Demonstration Environment\n\nCloudBees Jenkins Team (https://www.cloudbees.com/products/cloudbees-jenkins-team) is a rock solid distribution of Jenkins that comes with support from CloudBees. This project allows you to quickly build a CloudBees Jenkins Team environment that runs within a Docker container with persistent storage mapped to a local drive. This project:\n\n* Will install the latest Docker-ized version CloudBees Jenkins Team (found at https://hub.docker.com/r/cloudbees/cloudbees-jenkins-team/); \n* Install Maven (https://maven.apache.org/) in the container;\n* And install Docker (https://www.docker.com/) in the container.\n\nIn the next section we will cover how to configure the Docker container (after you clone or download this project locally).\n\n# Configuring\n\nBefore running CloudBees Jenkins Team for the first time you will want to update the ``docker-compose.yml`` file for your specific requirements as outlined below:\n\n**Time Zone**:\n\nIf you would like to set time zone you can edit the following line in the ``environment`` section of the file:\n\n`` JAVA_OPTS: \"-Dorg.apache.commons.jelly.tags.fmt.timeZone=America/New_York\" ``\n\n**Ports**:\n\nIn the default configuration CloudBees Jenkins Team will be available on port ``9090`` (i.e. at ``http://localhost:9090``). You can edit the port in the following line in the ``ports`` section of the file:\n\n`` - \"9090:8080\" #host:container ``\n\n**Persistent Storage**: \n\nTo persist your Jenkins home when the container restarts you will need to map a local volume on your machine to the Jenkins home directory on the docker container. In my environment I map Jenkins home to the ``/Users/craigvitter/Jenkins`` directory on my MacBook. You should edit that portion of the following line in the ``volumes`` section:\n\n`` - /Users/craigvitter/JenkinsTeam:/var/jenkins_home     # Set the Jenkins home on the host machine ``\n\n**Docker**:\n\nThe following line in the ``volumes`` section maps the docker container's sock to the host's to allow your CloudBees Jenkins Team instance to access the host's Docker installation. If your host machine has docker installed in another location edit the first path to match the local location.\n\n`` - /var/run/docker.sock:/var/run/docker.sock        # Allow the container to run Docker on Docker ``\n\n# Running\n\nThe first time you run CloudBees Jenkins Team using this setup you will need to build the image locally on your host. This project includes two ways to accomplish this goal. The easiest way is to simply type the following command within the project root:\n\n``make build``\n\nYou can also use the following Docker command:\n\n``docker-compose build``\n\nOnce the image has completed building you can run it using the following command:\n\n``make start``\n\nor:\n\n``docker-compose up -d``\n\nWhen the container is up and running your CloudBees Jenkins Team instance will be available at: http://localhost:9090\n\nIf you need to stop your container you can use:\n\n``make stop``\n\nor:\n\n``docker-compose down`` \n\n# Updating\n\nWhen a new version of CloudBees Jenkins Team is released the easiest way to update your Docker image is to use the following ``make`` commands:\n\n```\nmake stop\nmake build\nmake start\n```\n\nto retrieve and build the lastest version.\n\nAlternatively you could use the following Docker commands:\n\n```\ndocker-compose down\ndocker pull jenkins/jenkins\ndocker-compose build\ndocker-compose up -d\n```\n\n# License\n\nThe content in this repository is Open Source material released under the Apache 2.0 License. Please see the [LICENSE](LICENSE) file for full license details.\n\n# Disclaimer\n\nThe code in this repository is not sponsored or supported by Cloudbees, Inc.\n\n# Authors and Contributors \n\n* Author: [Craig Vitter](https://github.com/cvitter)\n \n# Questions, Feedback, Pull Requests Etc.\n\nIf you have any questions, feedback, suggestions, etc. please submit them via issues or, even better, submit a Pull Request!\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvitter%2Fcjt-demo-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvitter%2Fcjt-demo-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvitter%2Fcjt-demo-environment/lists"}