Update Override Variables

Where to find these?

These variables are located in different files in the provisioners/ansible/extra_vars folder. The file to change will depend on the environment you are provisioning.

Check/Update Waiting time for jenkins restarts

To override the time it waits (in seconds) for Jenkins to start please edit the respective file in the provisioners/ansible/extra_vars folder

startup_delay_s: 50

Set Git Credentials

Update the git name and email to the credentials specific to your Jenkins setup

Settings:

eg.

git:
  enable_configure: true
  email: 'noreply@gmail.com'
  name: 'Jenkins CI'

Set Rally Variables to Preconfigure Plugin

Settings:

eg.

rally:
  enable_configure: true
  server: "rally1.rallydev.com"
  email: ""
  jenkins_machine: "localhost:8080"

Please note that this step does not fully configure the rally plugin. You will have to navigate to configure system when Jenkins goes live and enter the password for the rally user/email

Edit GitHub Security Settings

To setup Jenkins security please edit the respective file in the provisioners/ansible/extra_vars folder with the necessary variables

Settings:

To get the information from github:

eg.

security:
  enable_security: true,
  jenkins_admins: "admin1,admin2", #comma delimited list eg. "admin1,admin2"
  github_orgNames: "medullan", #comma delimited list eg. "medullan,google"
  github_clientId: "532534253fw3245",
  github_clientSecret: "32refwdfs324rewf343q4rwqr32qr"

Things to Note:

If there are raw xml config files that you want to be copied to Jenkins. Then simply adding them to the provisioners/ansible/files/jenkins/config directory will get them to Jenkins for pre-configuration.

Configure Jenkins Memory

Configure the heap size Jenkins will be assigned on startup.

eg.

jenkins_opts:
  enable_configure: true,
  maxPermSize: 512, # cannot be less than 512
  memory: 1024 # cannot be less than 256

Install global npm packages

eg.

npm:   # bower, grunt-cli and istanbul are installed by default
  global_packages: "doxx npm-check-updates" # global_packages is a space delimited list eg. 'bower grunt-cli'