| commit | 7b84b48a7347d9fde8c39c7d7ba7b7585efaccd0 | [log] [tgz] |
|---|---|---|
| author | Ales Komarek <ales.komarek@tcpcloud.eu> | Thu Jan 21 18:51:03 2016 +0100 |
| committer | Ales Komarek <ales.komarek@tcpcloud.eu> | Thu Jan 21 18:51:03 2016 +0100 |
| tree | c2ea2a1efcf14e9789638ecdf44eb53a05881679 | |
| parent | 8aef52bbad14cbd6255a4aedad8520d77f94b7a2 [diff] |
Job builder tuning
Jenkins is an application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.
Jenkins masters
Jenkins master with user
jenkins:
master:
enabled: true
http:
address: 0.0.0.0
port: 8080
protocol: http
plugins:
- name: git
- name: metadata
- name: envinject
- name: greenballs
- name: ansicolor
- name: build-pipeline-plugin
user:
admin:
api_token: api_token
password_hash: salt:hashed_pwd_see_usage
email: root@dmain.com
public_keys:
- key: ssh_public_key_of_current_root_user
slaves:
- name: slave1.domain.com
executors: 2
Jenkins master with SSL
jenkins:
master:
enabled: true
http:
address: 0.0.0.0
port: 8080
protocol: https
ssl:
enabled: true
host: ci.domain.com
authority: Org_Service_CA
plugins:
- name: git
- name: metadata
- name: envinject
- name: greenballs
- name: ansicolor
- name: build-pipeline-plugin
slaves:
- name: slave1.domain.com
executors: 2
Jenkins job builder to configure master
jenkins:
job_builder:
enabled: true
source: git
address: https://git.openstack.org/openstack-infra/jenkins-job-builder
branch: master
config:
source: git
address: git@repo.domain.com:jenkins/jobs-org.git
branch: develop
master:
host: localhost
port: 8080
protocol: http
user: admin
password: fsdfsdf9438r4fessc9sd
Slave with sudo :o
jenkins:
slave:
enabled: true
sudo: true
master:
host: localhost
port: 8080
protocol: http
user:
name: admin
password: password
Jenkins slave with keystone credentials
jenkins:
slave:
enabled: true
master:
host: localhost
port: 8080
protocol: http
user:
name: admin
password: password
keystone:
User password generation. foo is password. bar is salt.
echo -n 'foo{bar}' | sha256sum