Files
jenkins-server/data/jenkins/jenkins.yaml
T
aagusfernandez02 748704317b feat: jenkins server
2026-07-01 08:13:57 -03:00

161 lines
4.5 KiB
YAML

jenkins:
numExecutors: 2
authorizationStrategy:
loggedInUsersCanDoAnything:
allowAnonymousRead: false
securityRealm:
local:
allowsSignup: false
users:
- id: admin
password: H0l4mund0!
# Agentes permanentes (inbound/JNLP): cada SCO conecta outbound a Jenkins.
# 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: {}
- permanent:
name: "ralph-yabucoa-sco03"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-yabucoa-sco04"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-yabucoa-sco05"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-yabucoa-sco06"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-yabucoa-sco07"
labelString: "sco ralph yabucoa"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-san-lorenzo-sco03"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-san-lorenzo-sco04"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-san-lorenzo-sco05"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-san-lorenzo-sco06"
labelString: "sco ralph san-lorenzo"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-rio-grande-sco01"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-rio-grande-sco02"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-rio-grande-sco03"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-rio-grande-sco04"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-rio-grande-sco05"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
- permanent:
name: "ralph-rio-grande-sco06"
labelString: "sco ralph rio-grande"
remoteFS: "/opt/jenkins-agent"
numExecutors: 1
retentionStrategy: "always"
launcher:
inbound: {}
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)
}
}
}