197 lines
5.2 KiB
YAML
197 lines
5.2 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://.
|
|
# El deploy (Jenkinsfile.sco) targetea por nombre exacto de nodo (parámetro NODO),
|
|
# no por label, por eso los nodos no llevan labelString.
|
|
nodes:
|
|
- permanent:
|
|
name: "ralph-yabucoa-sco02"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-yabucoa-sco03"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-yabucoa-sco04"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-yabucoa-sco05"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-yabucoa-sco06"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-yabucoa-sco07"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-san-lorenzo-sco03"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-san-lorenzo-sco04"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-san-lorenzo-sco05"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-san-lorenzo-sco06"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-rio-grande-sco01"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-rio-grande-sco02"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-rio-grande-sco03"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-rio-grande-sco04"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-rio-grande-sco05"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "ralph-rio-grande-sco06"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "laboratorio-girboy-sco81"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "laboratorio-girboy-sco82"
|
|
remoteFS: "/opt/jenkins-agent"
|
|
numExecutors: 1
|
|
retentionStrategy: "always"
|
|
launcher:
|
|
inbound:
|
|
webSocket: true
|
|
- permanent:
|
|
name: "laboratorio-girboy-sco83"
|
|
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-sco') {
|
|
description('Deploy de install.sh a un nodo SCO puntual, para el cliente seleccionado.')
|
|
definition {
|
|
cps {
|
|
script(new File('/opt/jenkins/Jenkinsfile.sco').text)
|
|
sandbox(true)
|
|
}
|
|
}
|
|
}
|