{"id":21614742,"url":"https://github.com/eea/eea.docker.jenkins.master","last_synced_at":"2025-04-11T06:53:10.160Z","repository":{"id":64391948,"uuid":"53599703","full_name":"eea/eea.docker.jenkins.master","owner":"eea","description":"Docker image for Jenkins master (Jenkins Swarm Plugin)","archived":false,"fork":false,"pushed_at":"2025-04-02T18:12:37.000Z","size":303,"stargazers_count":9,"open_issues_count":0,"forks_count":15,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-04-02T19:25:07.704Z","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/eea.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","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-03-10T16:27:08.000Z","updated_at":"2025-04-02T18:12:38.000Z","dependencies_parsed_at":"2023-10-17T04:29:05.501Z","dependency_job_id":"176292c9-7075-4d27-8cfc-3a05196e6bdf","html_url":"https://github.com/eea/eea.docker.jenkins.master","commit_stats":null,"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.jenkins.master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.jenkins.master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.jenkins.master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.jenkins.master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eea.docker.jenkins.master/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358548,"owners_count":21090401,"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-24T22:09:14.784Z","updated_at":"2025-04-11T06:53:10.150Z","avatar_url":"https://github.com/eea.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins master ready to run Docker image (Jenkins Swarm Plugin)\n\nDocker images for master based on Jenkins Swarm Plugin.\n\nThis images is generic, thus you can obviously re-use it within\nyour non-related EEA projects.\n\n\n## Supported tags and respective Dockerfile links\n\n- [`:latest` (*Dockerfile*)](https://github.com/eea/eea.docker.jenkins.master/blob/master/Dockerfile) (default)\n- [`:2.505` (*Dockerfile*)](https://github.com/eea/eea.docker.jenkins.master/blob/2.505/Dockerfile)\n\nSee [older versions](https://github.com/eea/eea.docker.jenkins.master/releases)\n\n## Changes\n\n - [CHANGELOG.md](https://github.com/eea/eea.docker.jenkins.master/blob/master/CHANGELOG.md)\n\n\n## Base docker image\n\n - [hub.docker.com](https://registry.hub.docker.com/u/eeacms/jenkins-master)\n\n\n## Source code\n\n  - [github.com](http://github.com/eea/eea.docker.jenkins.master)\n\n\n## Installation\n\n1. Install [Docker](https://www.docker.com/).\n\n2. Install [Docker Compose](https://docs.docker.com/compose/).\n\n\n## Create new image based on production container\n\n### Update Dockerfile\n\nUpdate Dockerfile - set latest version or the version that can be seen on the HTML interface in the right down corner ( ex. Jenkins ver. 2.89.4 )\n\n### Update plugins.txt\n\nIn Jenkins interface, go to Manage, then ThinBackup. Click Backup Now. Enter in shell on the container, in `/var/jenkins_home/backup/jenkins` ( directory is set in thinBackup Configuration) , extract and copy the contents of the installedPlugins.xml file to the Dockerfile location.\n\nUsing Rancher-cli:\n\n    $ rancher exec jenkins-master/master bash\n    $ cd /var/jenkins_home/backup/jenkins/FULL-\u003c\u003cDATE\u003e\u003e\n    $ cat installedPlugins.xml\n\nRun:\n\n    $ python plugins.py\n\nThis will generate plugins.txt file.\n\n\n\n## Usage\n\n    $ docker run -p 8080:8080 eeacms/jenkins-master\n\nAnd now you have a running Jenkins at http://localhost:8080\n\n## Advanced usage\n\nStart Jenkins with SSL support:\n\nCreate a self-signed test SSL certificate.\n\n    $ keytool -genkey -keyalg RSA -alias selfsigned -keystore /etc/keystore.jks -storepass ToPSecRet321 -dname \"cn=localhost\"\n\nLaunch Jenkins\n\n    $ docker run -p 8080:8080 \\\n                 -v /etc/keystore.jks:/etc/keystore.jks \\\n             eeacms/jenkins-master \\\n                 --httpPort=-1 \\\n                 --httpsPort=8080 \\\n                 --httpsKeyStore=/etc/keystore.jks \\\n                 --httpsKeyStorePassword=ToPSecRet321\n\nor via environment variables:\n\n    $ docker run -p 8080:8080 \\\n                 -v /etc/keystore.jks:/etc/keystore.jks \\\n                 -e JENKINS_OPTS=\"--httpPort=-1 --httpsPort=8080 --httpsKeyStore=/etc/keystore.jks --httpsKeyStorePassword=ToPSecRet321\" \\\n             eeacms/jenkins-master\n\nSee `--help` for more options:\n\n    $ docker run --rm eeacms/jenkins-master --help\n\nSee also [EEA Jenkins master-slave orchestration](https://github.com/eea/eea.docker.jenkins) for a complete guide on running a Jenkins master-slave stack.\n\n\n## Supported environment variables\n\n* `JAVA_OPTS` You might need to customize the JVM running Jenkins master, typically to pass system properties or tweak heap memory settings. Use JAVA_OPTS environment variable for this purpose.\n* `JENKINS_OPTS` Start Jenkins with custom options. Useful if you want to start Jenkins on `https` for example.\n\n## Copyright and license\n\nThe Initial Owner of the Original Code is European Environment Agency (EEA).\nAll Rights Reserved.\n\nThe Original Code is free software;\nyou can redistribute it and/or modify it under the terms of the GNU\nGeneral Public License as published by the Free Software Foundation;\neither version 2 of the License, or (at your option) any later\nversion.\n\n\n## Funding\n\n[European Environment Agency (EU)](http://eea.europa.eu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.jenkins.master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feea.docker.jenkins.master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.jenkins.master/lists"}