Skip to content

Instantly share code, notes, and snippets.

@DeamonMV
Last active January 24, 2023 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeamonMV/5cfc126b181af4fd5cee94172bd0f27c to your computer and use it in GitHub Desktop.
Save DeamonMV/5cfc126b181af4fd5cee94172bd0f27c to your computer and use it in GitHub Desktop.
jcasc
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:
- envVars:
- envVar:
key: "JENKINS_URL"
value: "http://jenkins.jenkins.svc.cluster.local:8080/"
image: "jenkins/inbound-agent:4.11.2-4"
command: ""
args: ""
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
name: "jnlp"
resourceLimitCpu: "512m"
resourceLimitMemory: "512Mi"
resourceRequestCpu: "512m"
resourceRequestMemory: "512Mi"
workingDir: "/home/jenkins/agent"
id: "474be7705ac6cddeedf68ad2962972dd9921f64c6e534967402794fbf06a21ec"
label: "jenkins-agent"
name: "jenkins-agent"
namespace: "jenkins"
nodeUsageMode: "NORMAL"
podRetention: "never"
serviceAccount: "default"
showRawYaml: false
slaveConnectTimeout: 100
slaveConnectTimeoutStr: "100"
yamlMergeStrategy: "override"
- containers:
- args: "infinity"
command: "/busybox/sleep"
image: "gcr.io/kaniko-project/executor:debug"
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
name: "kaniko"
workingDir: "/home/jenkins/agent"
id: "54c996b9-cbe6-4255-8ee2-de27011f74a1"
label: "kaniko"
name: "kaniko"
namespace: "jenkins"
nodeUsageMode: "NORMAL"
podRetention: "never"
showRawYaml: false
yamlMergeStrategy: "override"
- containers:
- args: "9999999"
command: "sleep"
image: "alpine:3.17"
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
name: "alpine"
workingDir: "/home/jenkins/agent"
id: "5e21d0a6-18ba-4a55-8aab-71ac65e5fd96"
label: "alpine"
name: "alpine"
namespace: "jenkins"
nodeUsageMode: "NORMAL"
podRetention: "never"
showRawYaml: false
volumes:
- secretVolume:
mountPath: "/.kube"
optional: false
secretName: "kube-config"
yamlMergeStrategy: "override"
crumbIssuer:
standard:
excludeClientIPFromCrumb: true
disableRememberMe: false
labelAtoms:
- name: "alpine"
- name: "built-in"
- name: "jenkins-agent"
- name: "kaniko"
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"
password: "passwd"
name: "Jenkins Admin"
properties:
- "apiToken"
- "mailer"
- "myView"
- preferredProvider:
providerId: "default"
- "timezone"
slaveAgentPort: 50000
updateCenter:
sites:
- id: "default"
url: "https://updates.jenkins.io/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"
sSHD:
port: -1
unclassified:
buildDiscarders:
configuredBuildDiscarders:
- "jobBuildDiscarder"
casCGlobalConfig:
configurationPath: "https://gist.githubusercontent.com/DeamonMV/5cfc126b181af4fd5cee94172bd0f27c/raw/e5f0899c1031f3cd7b810db921841540a003cb6f/JCacC.yaml"
fingerprints:
fingerprintCleanupDisabled: false
storage: "file"
gitSCM:
addGitTagAction: false
allowSecondFetch: false
createAccountBasedOnEmail: false
disableGitToolChooser: false
hideCredentials: false
showEntireCommitSummaryInChanges: false
useExistingAccountWithSameEmail: false
locale:
ignoreAcceptLanguage: true
systemLocale: "EN"
location:
adminAddress: "адрес еще не настроен <nobody@nowhere>"
url: "http://jenkins:8080/"
mailer:
charset: "UTF-8"
useSsl: false
useTls: false
pollSCM:
pollingThreadCount: 10
tool:
git:
installations:
- home: "git"
name: "Default"
go:
installations:
- name: "go-1.19.5"
properties:
- installSource:
installers:
- golangInstaller:
id: "1.19.5"
mavenGlobalConfig:
globalSettingsProvider: "standard"
settingsProvider: "standard"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment