[ https://issues.apache.org/jira/browse/BEAM-4838?focusedWorklogId=125615&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-125615 ]
ASF GitHub Bot logged work on BEAM-4838: ---------------------------------------- Author: ASF GitHub Bot Created on: 20/Jul/18 18:43 Start Date: 20/Jul/18 18:43 Worklog Time Spent: 10m Work Description: Ardagan commented on a change in pull request #5989: [BEAM-4838] Add dockerfile for standalone Jenkins. Plugins included. URL: https://github.com/apache/beam/pull/5989#discussion_r204136430 ########## File path: devtools/JenkinsOnDocker/README.md ########## @@ -0,0 +1,142 @@ +# Local Jenkins Setup + +Setting up a local Jenkins instance is useful for testing Jenkins job changes +without affecting the production instance. Using Docker makes the setup very +straightforward. + +## Jenkins on Docker + +### Requirements +If you haven't yet, [install Docker on your machine.](https://docs.docker.com/install/) + + +### Setup using provided scripts + +**WARNING: Not for production use.** + +*INFO: Changing admin credentials is advised.* + +You can utilize scripts in this folder to build Docker container with Jenkins, +pre-installed plugin and some basic configuration. + +```bash +fetchplugins.sh +docker build -t beamjenkins . +docker run -p 127.0.0.1:8080:8080 beamjenkins:latest +``` +* fetchplugin.sh -- fetches list of plugins from + [infra wiki list](https://cwiki.apache.org/confluence/display/INFRA/Jenkins+Plugin+Upgrades). +* docker build -- builds image with name beamjenkins based on dockerfile located Review comment: done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 125615) Time Spent: 10m Remaining Estimate: 0h > Prepare instructions for running Jenkins locally. > ------------------------------------------------- > > Key: BEAM-4838 > URL: https://issues.apache.org/jira/browse/BEAM-4838 > Project: Beam > Issue Type: Improvement > Components: build-system > Reporter: Mikhail Gryzykhin > Assignee: Mikhail Gryzykhin > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > We need a way to test Jenkins Job DSL scripts without breaking our build > server. One of the approaches available is to spin up Jenkins on your local > machine with all plugins available. > This has already been used by some developers in their workflow. > We want to share instruction on spinning up local Jenkins with other > developers. -- This message was sent by Atlassian JIRA (v7.6.3#76005)