This commit is contained in:
Lihan 2024-07-27 22:15:16 -04:00
parent 19dbd094ec
commit 67c8dc137a

View file

@ -1,47 +1,172 @@
credentials:
system:
domainCredentials:
- credentials:
- string:
description: "github"
id: "3afa055d-73a9-4aff-aa10-9d385042650c"
scope: GLOBAL
secret: "{AQAAABAAAAAw/i6NBKJoBVdluXYKvFf1I+3/6aJWsbknhkIW7h0ipryqjIzcofzR7k33bNlQqZKUP1gSMzy7EavUnHEt7dunnQ==}"
- string:
id: "58b57ccb-9fc0-4180-9e6c-91b9df3a6440"
scope: GLOBAL
secret: "{AQAAABAAAAAwzL567eZhfHhwsevOonI290HxU4cFwbVCxg7dwlxIglQAiAenE40WxSmN0JnlO4mZoxNk6LWV02LsmfO9ozcsNQ==}"
jenkins: jenkins:
systemMessage: "Jenkins configured automatically by Jenkins Configuration as Code plugin\n\n" agentProtocols:
securityRealm: - "JNLP4-connect"
local: - "Ping"
allowsSignup: false
users:
- id: "admin"
password: "${JENKINS_ADMIN_PASSWORD:-admin}"
authorizationStrategy: authorizationStrategy:
loggedInUsersCanDoAnything: loggedInUsersCanDoAnything:
allowAnonymousRead: false allowAnonymousRead: false
crumbIssuer:
standard:
excludeClientIPFromCrumb: false
disableRememberMe: false
disabledAdministrativeMonitors:
- "jenkins.diagnostics.ControllerExecutorsNoAgents"
- "hudson.util.DoubleLaunchChecker"
labelAtoms:
- name: "built-in"
markupFormatter: "plainText"
mode: NORMAL
myViewsTabBar: "standard"
nodeMonitors:
- "architecture"
- "clock"
- diskSpace:
freeSpaceThreshold: "1GiB"
freeSpaceWarningThreshold: "2GiB"
- "swapSpace"
- tmpSpace:
freeSpaceThreshold: "1GiB"
freeSpaceWarningThreshold: "2GiB"
- "responseTime"
numExecutors: 2
primaryView:
all:
name: "all"
projectNamingStrategy: "standard"
quietPeriod: 5
remotingSecurity:
enabled: true
scmCheckoutRetryCount: 0
securityRealm:
local:
allowsSignup: false
enableCaptcha: false
users:
- id: "admin"
name: "admin"
properties:
- "apiToken"
- "consoleUrlProvider"
- mailer:
emailAddress: "lihanzhan@gmail.com"
- "favorite"
- preferredProvider:
providerId: "default"
- "experimentalFlags"
slaveAgentPort: 50000
systemMessage: |+
Jenkins configured automatically by Jenkins Configuration as Code plugin
updateCenter:
sites:
- id: "default"
url: "https://updates.jenkins.io/update-center.json"
views:
- all:
name: "all"
viewsTabBar: "standard"
globalCredentialsConfiguration:
configuration:
providerFilter: "none"
typeFilter: "none"
appearance:
prism:
theme: PRISM
security:
apiToken:
creationOfLegacyTokenEnabled: false
tokenGenerationOnCreationEnabled: false
usageStatisticsEnabled: true
gitHooks:
allowedOnAgents: true
allowedOnController: true
gitHostKeyVerificationConfiguration:
sshHostKeyVerificationStrategy: "knownHostsFileVerificationStrategy"
sSHD:
port: -1
scriptApproval:
approvedSignatures:
- "method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object"
unclassified: unclassified:
bitbucketEndpointConfiguration:
endpoints:
- bitbucketCloudEndpoint:
enableCache: false
manageHooks: false
repositoriesCacheDuration: 0
teamCacheDuration: 0
buildDiscarders:
configuredBuildDiscarders:
- "jobBuildDiscarder"
fingerprints:
fingerprintCleanupDisabled: false
storage: "file"
gitHubConfiguration:
apiRateLimitChecker: NoThrottle
gitHubPluginConfig:
hookSecretConfigs:
- credentialsId: "3afa055d-73a9-4aff-aa10-9d385042650c"
hookUrl: "http://localhost:8080/github-webhook/"
githubPullRequests:
actualiseOnFactory: false
junitTestResultStorage:
storage: "file"
location: location:
adminAddress: "address not configured yet <nobody@nowhere>"
url: "http://localhost:8080/" url: "http://localhost:8080/"
# prometheus: mailer:
# defaultQuantiles: charset: "UTF-8"
# - name: "0.5" useSsl: false
# value: 0.5 useTls: false
# - name: "0.9" mavenModuleSet:
# value: 0.9 localRepository: "default"
# - name: "0.99" pollSCM:
# value: 0.99 pollingThreadCount: 10
# defaultBuckets: prometheusConfiguration:
# - name: "0.1" appendParamLabel: false
# value: 0.1 appendStatusLabel: false
# - name: "0.2" collectCodeCoverage: false
# value: 0.2 collectDiskUsage: true
# - name: "0.5" collectNodeStatus: true
# value: 0.5 collectingMetricsPeriodInSeconds: 120
# - name: "1.0" countAbortedBuilds: true
# value: 1.0 countFailedBuilds: true
# - name: "2.5" countNotBuiltBuilds: true
# value: 2.5 countSuccessfulBuilds: true
# - name: "5.0" countUnstableBuilds: true
# value: 5.0 defaultNamespace: "default"
# - name: "10.0" fetchTestResults: true
# value: 10.0 jobAttributeName: "jenkins_job"
# path: "prometheus"
#tools: perBuildMetrics: false
# installations: processingDisabledBuilds: false
# - name: "JDK11" useAuthenticatedEndpoint: false
# jdkInstaller: scmGit:
# id: "jdk-11.0.2+9" addGitTagAction: false
# - name: "Maven3" allowSecondFetch: false
# mavenInstaller: createAccountBasedOnEmail: false
# id: "maven-3.6.3" disableGitToolChooser: false
hideCredentials: false
showEntireCommitSummaryInChanges: false
useExistingAccountWithSameEmail: false
tool:
git:
installations:
- home: "git"
name: "Default"
mavenGlobalConfig:
globalSettingsProvider: "standard"
settingsProvider: "standard"