Created
January 27, 2024 17:00
-
-
Save lijiext/ccbba9eca0b27742cb872a4c83472555 to your computer and use it in GitHub Desktop.
jenkins_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jenkins: | |
agentProtocols: | |
- "JNLP4-connect" | |
- "Ping" | |
authorizationStrategy: | |
loggedInUsersCanDoAnything: | |
allowAnonymousRead: false | |
clouds: | |
- kubernetes: | |
containerCap: 10 | |
containerCapStr: "10" | |
jenkinsTunnel: "jenkins-agent.jenkins.svc.cluster.local:50000" | |
jenkinsUrl: "http://jenkins.jenkins.svc.cluster.local:8080" | |
name: "kubernetes" | |
namespace: "jenkins" | |
podLabels: | |
- key: "jenkins/jenkins-jenkins-agent" | |
value: "true" | |
serverUrl: "https://kubernetes.default" | |
templates: | |
- containers: | |
- args: "^${computer.jnlpmac} ^${computer.name}" | |
envVars: | |
- envVar: | |
key: "JENKINS_URL" | |
value: "http://jenkins.jenkins.svc.cluster.local:8080/" | |
image: "jenkins/inbound-agent:3192.v713e3b_039fb_e-5" | |
name: "jnlp" | |
resourceLimitCpu: "512m" | |
resourceLimitMemory: "512Mi" | |
resourceRequestCpu: "512m" | |
resourceRequestMemory: "512Mi" | |
workingDir: "/home/jenkins/agent" | |
id: "923e6d6b3128baaa56764f4b69d4c62b61e55d00f8170e3428f011148767dc99" | |
label: "jenkins-jenkins-agent" | |
name: "default" | |
namespace: "jenkins" | |
nodeUsageMode: "NORMAL" | |
podRetention: "never" | |
serviceAccount: "default" | |
slaveConnectTimeout: 100 | |
slaveConnectTimeoutStr: "100" | |
yamlMergeStrategy: "override" | |
crumbIssuer: | |
standard: | |
excludeClientIPFromCrumb: true | |
disableRememberMe: false | |
labelAtoms: | |
- name: "built-in" | |
- name: "jenkins-jenkins-agent" | |
markupFormatter: "plainText" | |
mode: NORMAL | |
myViewsTabBar: "standard" | |
numExecutors: 0 | |
primaryView: | |
all: | |
name: "all" | |
projectNamingStrategy: "standard" | |
quietPeriod: 5 | |
remotingSecurity: | |
enabled: true | |
scmCheckoutRetryCount: 0 | |
securityRealm: | |
local: | |
allowsSignup: false | |
enableCaptcha: false | |
users: | |
- id: "admin" | |
name: "Jenkins Admin" | |
properties: | |
- "apiToken" | |
- "mailer" | |
- "myView" | |
- preferredProvider: | |
providerId: "default" | |
- "timezone" | |
- "experimentalFlags" | |
slaveAgentPort: 50000 | |
updateCenter: | |
sites: | |
- id: "default" | |
url: "https://mirrors.huaweicloud.com/jenkins/updates/update-center.json" | |
views: | |
- all: | |
name: "all" | |
viewsTabBar: "standard" | |
globalCredentialsConfiguration: | |
configuration: | |
providerFilter: "none" | |
typeFilter: "none" | |
security: | |
apiToken: | |
creationOfLegacyTokenEnabled: false | |
tokenGenerationOnCreationEnabled: false | |
usageStatisticsEnabled: true | |
gitHooks: | |
allowedOnAgents: false | |
allowedOnController: false | |
gitHostKeyVerificationConfiguration: | |
sshHostKeyVerificationStrategy: "knownHostsFileVerificationStrategy" | |
unclassified: | |
buildDiscarders: | |
configuredBuildDiscarders: | |
- "jobBuildDiscarder" | |
fingerprints: | |
fingerprintCleanupDisabled: false | |
storage: "file" | |
location: | |
adminAddress: "address not configured yet <nobody@nowhere>" | |
url: "http://jenkins:8080/" | |
mailer: | |
charset: "UTF-8" | |
useSsl: false | |
useTls: false | |
pollSCM: | |
pollingThreadCount: 10 | |
scmGit: | |
addGitTagAction: false | |
allowSecondFetch: false | |
createAccountBasedOnEmail: false | |
disableGitToolChooser: false | |
hideCredentials: false | |
showEntireCommitSummaryInChanges: false | |
useExistingAccountWithSameEmail: false | |
tool: | |
git: | |
installations: | |
- home: "git" | |
name: "Default" | |
mavenGlobalConfig: | |
globalSettingsProvider: "standard" | |
settingsProvider: "standard" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment