From b3b1f63f825dbaa03000648e37c289640642cb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 9 Dec 2024 11:38:08 +0100 Subject: [PATCH] jenkins-job-builder: add passthru.tests --- .../development/python-modules/jenkins-job-builder/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix index 479abaffd66f8..3f9d0187105d0 100644 --- a/pkgs/development/python-modules/jenkins-job-builder/default.nix +++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix @@ -14,6 +14,7 @@ fetchpatch, testtools, pytest-mock, + nixosTests, }: buildPythonPackage rec { @@ -54,6 +55,8 @@ buildPythonPackage rec { pytest-mock ]; + passthru.tests = { inherit (nixosTests) jenkins; }; + meta = { description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git"; mainProgram = "jenkins-jobs";