Sign inSign up

redwyvern/jenkins

By redwyvern

•Updated over 8 years ago

Redwyvern software Jenkins server

Image
1

511

redwyvern/jenkins repository overview

⁠Redwyvern Jenkins

This is the Jenkins Docker image for Redwyvern software.

The following steps must still be performed manually:

  1. Set up SMTP server e-mail configuration
  2. Set up admin e-mail (Jenkins Location)
  3. Set up NodeJs settings => Name: NativeNodeJS, Install Dir: /usr/bin
  4. Set up Maven settings => Name: Native Maven, MAVEN_HOME: /usr/share/maven
  5. Add 'jenkins-ro' key
  6. Add 'jenkins' key in jenkins user .ssh dir
  7. Add 'git-hub' credentials
  8. Set up 'artifactory' configuration and 'jenkins' artifactory user password => Server ID: redwyvern, URL: http://artifactory.redwyvern.com/artifactory⁠
  9. Set git author and name (git config --global user.email "[email protected]⁠" and git config --global user.name "Jenkins")
  10. Set git to use new push behavior (git config --global push.default matching)
  11. Add jenkins id_rsa and id_rsa.pub to .ssh (needed for command line commits)
  12. Configure Jenkins to output builds to /opt/jenkins/builds (/opt/jenkins/builds/${ITEM_FULL_NAME})
  13. Configure slaves and disable executors in master

TODO:

  1. Split out jobs, builds and workspaces
  2. Move git author and push behavior to image

Example YAML file:

version: '3'

services:
  jenkins:
    image: docker.artifactory.weedon.org.au/redwyvern/jenkins
    container_name: jenkins
    hostname: jenkins
    ports:
      - '8060:8080'
      - '50000:50000'
    volumes:
      - /opt/docker-containers/jenkins:/var/jenkins_home
      - /opt/builds:/opt/jenkins/builds
    environment:
    #  - EXTRA_JAVA_OPTIONS=-Xmx4g
      - EXTRA_JAVA_OPTIONS=-Dfile.encoding=UTF8
    restart: always
    dns: 192.168.1.50
    networks:
      - dev_nw

networks:
  dev_nw:

Tag summary

Content type

Image

Digest

Size

522.8 MB

Last updated

over 8 years ago

docker pull redwyvern/jenkins