Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .markerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#custom marker file, a branch will only be indexed if it has this file
2 changes: 1 addition & 1 deletion bundle.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: "1"
version: "1"
version: "3"
id: "cloudbees-ci-workshop-cloudbees-ci-work"
description: "CloudBees CI configuration bundle for the CloudBees CI Workshop"
plugins:
Expand Down
41 changes: 40 additions & 1 deletion jenkins.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
cloudbees-pipeline-policies:
config:
policies:
- action: "fail"
name: "Timeout policy"
rules:
- entirePipelineTimeoutRule:
maxTime: 30
jenkins:
quietPeriod: 0
systemMessage: 'Jenkins configured using CloudBees CI CasC - v1'
systemMessage: 'Jenkins configured using CloudBees CI CasC - v3'
unclassified:
hibernationConfiguration:
activities:
Expand All @@ -26,6 +34,37 @@ unclassified:
credentialsId: "cloudbees-ci-workshop-github-app"
repoOwner: "cloudbees-ci-work"
repository: "pipeline-library"
kube:
podTemplatesConfiguration:
templates:
- containers:
- args: "cat"
command: "/bin/sh -c"
image: "maven:3-openjdk-8"
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
name: "maven"
ttyEnabled: true
workingDir: "/home/jenkins/agent"
envVars:
- envVar:
key: "MAVEN_CONFIG"
value: "/var/maven/.m2"
hostNetwork: false
idleMinutes: 30
idleMinutesStr: "30"
label: "maven"
name: "maven"
podRetention: "always"
volumes:
- emptyDirVolume:
memory: false
mountPath: "/var/maven/"
yamlMergeStrategy: "override"
credentials:
system:
domainCredentials:
Expand Down
1 change: 1 addition & 0 deletions plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins:
- id: cloudbees-groovy-view
- id: cloudbees-monitoring
- id: cloudbees-nodes-plus
- id: cloudbees-pipeline-policies
- id: cloudbees-template
- id: cloudbees-view-creation-filter
- id: cloudbees-workflow-template
Expand Down