From 3ad9ae40010cd469d73dbd847c59cf611856c026 Mon Sep 17 00:00:00 2001
From: Bjarke Madsen <bjarke@nordu.net>
Date: Tue, 5 Sep 2023 14:47:36 +0200
Subject: [PATCH] update the Jenkinsfile for new SimplePythonBuild
 implementation

---
 Jenkinsfile | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4d025b1..2f9d076 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,3 +1,14 @@
+// https://gitlab.geant.net/live-projects/jenkins-pipeline/-/tree/master/vars
 library 'SWDPipeline'
 
-SimplePythonBuild('nat-resource-management');
+// Parameters:
+// name (must match the name of the project in GitLab/SWD release jenkins)
+String name = 'nat-resource-management'
+
+// emails of people to always notify on build status changes
+List<String> extraRecipients = ['erik.reid@geant.org']
+
+// python versions (docker tags) to test against, must be explicit versions
+List<String> pythonTestVersions = ['3.10', '3.11']
+
+SimplePythonBuild(name, extraRecipients, pythonTestVersions)
-- 
GitLab