Files
jenkins-server/data/jenkins/jenkins.yaml
T

226 lines
6.3 KiB
YAML

jenkins:
numExecutors: 2
nodeMonitors:
- "architecture"
- "clock"
- diskSpace:
freeSpaceThreshold: "0"
freeSpaceWarningThreshold: "0"
- "swapSpace"
- tmpSpace:
freeSpaceThreshold: "0"
freeSpaceWarningThreshold: "0"
- "responseTime"
authorizationStrategy:
loggedInUsersCanDoAnything:
allowAnonymousRead: false
securityRealm:
local:
allowsSignup: false
users:
- id: admin
password: H0l4mund0!
# Agentes permanentes (WebSocket): cada SCO conecta outbound a Jenkins via wss://.
# Nombre = identificador en Jenkins. Label "sco" agrupa todos los SCOs,
# luego cliente (ralph) y tienda (yabucoa / san-lorenzo / rio-grande).
nodes:
- permanent:
name: "ralph-yabucoa-sco02"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-yabucoa-sco03"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-yabucoa-sco04"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-yabucoa-sco05"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-yabucoa-sco06"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-yabucoa-sco07"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-san-lorenzo-sco03"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-san-lorenzo-sco04"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-san-lorenzo-sco05"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-san-lorenzo-sco06"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-rio-grande-sco01"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-rio-grande-sco02"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-rio-grande-sco03"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-rio-grande-sco04"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-rio-grande-sco05"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "ralph-rio-grande-sco06"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "laboratorio-girboy-sco81"
labelString: "sco laboratorio girboy"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "laboratorio-girboy-sco82"
labelString: "sco laboratorio girboy"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
- permanent:
name: "laboratorio-girboy-sco83"
labelString: "sco laboratorio girboy"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound:
webSocket: true
unclassified:
location:
url: https://jenkins.laoficina1782.com/
security:
globalJobDslSecurityConfiguration:
useScriptSecurity: false
jobs:
- script: |
pipelineJob('deploy-ralph') {
description('Deploy de install.sh a los SCOs de Ralph en la tienda seleccionada.')
definition {
cps {
script(new File('/opt/jenkins/Jenkinsfile.ralph').text)
sandbox(true)
}
}
}
- script: |
pipelineJob('deploy-lab') {
description('Deploy de install.sh a los SCOs de Deploy Lab en la tienda seleccionada.')
definition {
cps {
script(new File('/opt/jenkins/Jenkinsfile.lab').text)
sandbox(true)
}
}
}