- AKS + Configure backup and restore
-Additional configuration for Azure Kubernetes Service +
Prevent loss of job history
diff --git a/docs/docs/developer-guide/index.html b/docs/docs/developer-guide/index.html index 5560f4de..42a3ca85 100644 --- a/docs/docs/developer-guide/index.html +++ b/docs/docs/developer-guide/index.html @@ -223,18 +223,18 @@ - AKS - - - - - Configure backup and restore + AKS + + + + + Custom Backup and Restore Providers diff --git a/docs/docs/developer-guide/tools/index.html b/docs/docs/developer-guide/tools/index.html index 401b27f4..26279d84 100644 --- a/docs/docs/developer-guide/tools/index.html +++ b/docs/docs/developer-guide/tools/index.html @@ -230,18 +230,18 @@ - AKS - - - - - Configure backup and restore + AKS + + + + + Custom Backup and Restore Providers diff --git a/docs/docs/getting-started/index.html b/docs/docs/getting-started/index.html index 4aeb47c0..f20af40d 100644 --- a/docs/docs/getting-started/index.html +++ b/docs/docs/getting-started/index.html @@ -223,18 +223,18 @@ - AKS - - - - - Configure backup and restore + AKS + + + + + Custom Backup and Restore Providers diff --git a/docs/docs/getting-started/latest/aks/index.html b/docs/docs/getting-started/latest/aks/index.html index c49bbafc..ce49fe75 100644 --- a/docs/docs/getting-started/latest/aks/index.html +++ b/docs/docs/getting-started/latest/aks/index.html @@ -230,18 +230,18 @@ - AKS - - - - - Configure backup and restore + AKS + + + + + Custom Backup and Restore Providers diff --git a/docs/docs/getting-started/latest/configuration/index.html b/docs/docs/getting-started/latest/configuration/index.html index 84e11e36..ad6efb8a 100644 --- a/docs/docs/getting-started/latest/configuration/index.html +++ b/docs/docs/getting-started/latest/configuration/index.html @@ -25,14 +25,14 @@ " /> - - + + - - - + + + @@ -230,18 +230,18 @@ - AKS - - - - - Configure backup and restore + AKS + + + + + Custom Backup and Restore Providers @@ -770,14 +770,25 @@ and deploy keys.
First you have to prepare pipelines and job definition in your GitHub repository using the following structure:
cicd/
 ├── jobs
-│   └── build.jenkins
+│   └── k8s.jenkins
 └── pipelines
-    └── build.jenkinscicd/jobs/build.jenkins is a job definition:
cicd/jobs/k8s.jenkins is a job definition:
#!/usr/bin/env groovy
 
-pipelineJob('build-jenkins-operator') {
-    displayName('Build jenkins-operator')
+pipelineJob('k8s-e2e') {
+    displayName('Kubernetes Plugin E2E Test')
+
+    logRotator {
+        numToKeep(10)
+        daysToKeep(30)
+    }
+
+    configure { project ->
+        project / 'properties' / 'org.jenkinsci.plugins.workflow.job.properties.DurabilityHintJobProperty' {
+            hint('PERFORMANCE_OPTIMIZED')
+        }
+    }
 
     definition {
         cpsScm {
@@ -790,55 +801,27 @@ pipelineJob('build-jenkins-operator') {
                     branches('*/master')
                 }
             }
-            scriptPath('cicd/pipelines/build.jenkins')
+            scriptPath('cicd/pipelines/k8s.jenkins')
         }
     }
 }cicd/pipelines/build.jenkins is an actual Jenkins pipeline:
cicd/pipelines/k8s.jenkins is an actual Jenkins pipeline:
#!/usr/bin/env groovy
 
-def label = "build-jenkins-operator-${UUID.randomUUID().toString()}"
+def label = "k8s-${UUID.randomUUID().toString()}"
 def home = "/home/jenkins"
 def workspace = "${home}/workspace/build-jenkins-operator"
 def workdir = "${workspace}/src/github.com/jenkinsci/kubernetes-operator/"
 
 podTemplate(label: label,
         containers: [
-                containerTemplate(name: 'jnlp', image: 'jenkins/inbound-agent:alpine'),
-                containerTemplate(name: 'go', image: 'golang:1-alpine', command: 'cat', ttyEnabled: true),
-        ],
-        envVars: [
-                envVar(key: 'GOPATH', value: workspace),
+                containerTemplate(name: 'alpine', image: 'alpine:3.11', ttyEnabled: true, command: 'cat'),
         ],
         ) {
-
     node(label) {
-        dir(workdir) {
-            stage('Init') {
-                timeout(time: 3, unit: 'MINUTES') {
-                    checkout scm
-                }
-                container('go') {
-                    sh 'apk --no-cache --update add make git gcc libc-dev'
-                }
-            }
-
-            stage('Dep') {
-                container('go') {
-                    sh 'make dep'
-                }
-            }
-
-            stage('Test') {
-                container('go') {
-                    sh 'make test'
-                }
-            }
-
-            stage('Build') {
-                container('go') {
-                    sh 'make build'
-                }
+        stage('Run shell') {
+            container('alpine') {
+                sh 'echo "hello world"'
             }
         }
     }
@@ -1031,7 +1014,7 @@ stringData:
 }Under spec.master.basePlugins you can find plugins for a valid Jenkins Operator:
apiVersion: jenkins.io/v1alpha2
 kind: Jenkins
@@ -789,19 +789,19 @@ spec:
   master:
     basePlugins:
     - name: kubernetes
-      version: 1.18.3
+      version: "1.28.6"
     - name: workflow-job
-      version: "2.34"
+      version: "2.40"
     - name: workflow-aggregator
       version: "2.6"
     - name: git
-      version: 3.12.0
+      version: "4.5.0"
     - name: job-dsl
-      version: "1.76"
+      version: "1.77"
     - name: configuration-as-code
-      version: "1.29"
+      version: "1.46"
     - name: kubernetes-credentials-provider
-      version: 0.12.1You can change their versions.
The Jenkins Operator will then automatically install plugins after the Jenkins master pod restart.
@@ -918,7 +918,7 @@ The secrets are loaded tosecrets map.
 
 	
 	
-	Additional configuration for Azure Kubernetes Service +
Prevent loss of job history
Prevent loss of job history +
Additional configuration for Azure Kubernetes Service
$ helm repo add jenkins https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart
 $ helm install <name> jenkins/jenkins-operator -n <your-namespace>In case you want to use released Chart v0.4.1, before installing/upgrading please install additional CRD into the cluster:
+$ kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/crds/jenkinsimage-crd.yamlTo add custom labels and annotations, you can use values.yaml file or pass them into helm install command, e.g.:
$ helm install <name> jenkins/jenkins-operator -n <your-namespace> --set jenkins.labels.LabelKey=LabelValue,jenkins.annotations.AnnotationKey=AnnotationValueYou can further customize Jenkins using values.yaml:
diff --git a/docs/docs/security/index.html b/docs/docs/security/index.html
index 78cef533..90fb2dcc 100644
--- a/docs/docs/security/index.html
+++ b/docs/docs/security/index.html
@@ -223,18 +223,18 @@
       
       
       
-      AKS
-      
-      
-      
-      
-      
       Configure backup and restore
       
       
       
       
       
+      AKS
+      
+      
+      
+      
+      
       Custom Backup and Restore Providers
       
       
diff --git a/docs/index.html b/docs/index.html
index 6944369e..4bb1f898 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -25,7 +25,7 @@
 
 
 
-
+
 
 
 
diff --git a/docs/index.xml b/docs/index.xml
index 1ac10801..4794d674 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -4,7 +4,7 @@
     https://jenkinsci.github.io/kubernetes-operator/