-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathconfig.yml
48 lines (43 loc) · 1.01 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
security:
realm: jenkins_database
adminPassword: ${JENKINS_ADMIN_PASSWORD}
remove_master_envvars:
- '.*PASSWORD.*'
credentials:
gitsshkey:
type: sshkey
description: gitsshkey
username: gitsshkey
passphrase:
privatekey: |
${GIT_PRIVATE_KEY}
tools:
installations:
MVN-3.5.0:
type: maven
installers:
- id: '3.5.0'
clouds:
docker-cloud:
type: docker
dockerHostUri: 'unix:///var/run/docker.sock'
templates:
- name: docker-slave
image: odavid/jenkins-jnlp-slave:latest
labels:
- generic
remoteFs: /home/jenkins
jvmArgs: -Xmx1g
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
instanceCap: '10'
seed_jobs:
seed-job:
source:
remote: https://github.com/odavid/my-bloody-jenkins.git
branch: 'master'
triggers:
pollScm: 'H/2 * * * *'
periodic: '@hourly'
pipeline: examples/jobs/seed/Jenkinsfile
executeWhen: always #firstTimeOnly always never