osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/42096?usp=email )


Change subject: jobs/linux-shallow-clone: new jenkins job
......................................................................

jobs/linux-shallow-clone: new jenkins job

Related: OS#6938
Change-Id: Ia58cdc82a655d4cc772a84adb675e98961bf86c5
---
A jobs/linux-shallow-clone.yml
1 file changed, 59 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/96/42096/1

diff --git a/jobs/linux-shallow-clone.yml b/jobs/linux-shallow-clone.yml
new file mode 100644
index 0000000..f1f5332
--- /dev/null
+++ b/jobs/linux-shallow-clone.yml
@@ -0,0 +1,59 @@
+- job:
+    name: linux-shallow-clone
+
+    description: |
+      Update shallow clones of linux.git branches that are relevant for our CI
+      jobs. Other jobs can then quickly clone a branch from this git repository
+      and discard it afterwards. This saves disk space on our jenkins nodes,
+      and keeps the traffic to git.kernel.org minimal.
+
+    concurrent: false
+
+    project-type: matrix
+    axes:
+      - axis:
+          type: slave
+          name: label
+          values:
+            - build4-deb12build-ansible
+            - build5-deb12build-ansible
+
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 120
+
+    parameters:
+      - string:
+          name: BRANCH
+          description: |
+                osmo-ci.git branch
+          default: 'master'
+      - string:
+          name: EMAIL_NOTIFICATIONS
+          description: For failed build notifications, set to empty to disable
+          default: '[email protected]'
+
+    scm:
+      - git:
+          url: https://gerrit.osmocom.org/osmo-ci
+          git-config-name: 'Jenkins Builder'
+          git-config-email: '[email protected]'
+          skip-tag: true
+          branches:
+            - '$BRANCH'
+          wipe-workspace: true
+
+    triggers:
+      - timed: "H H * * *"
+
+    builders:
+      - shell: 'scripts/kernel/linux-shallow-clone.sh ~/linux.git'
+
+    wrappers:
+    - ansicolor:
+        colormap: xterm
+
+    publishers:
+      - email:
+          recipients: '$EMAIL_NOTIFICATIONS'

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42096?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ia58cdc82a655d4cc772a84adb675e98961bf86c5
Gerrit-Change-Number: 42096
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to