From 303dfaa0594ddc6d5c3b62de77d5b57e0ead983a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 24 May 2024 12:27:20 +0200 Subject: [PATCH] hosts/jenkins-controller: add rclone to PATH We'll shell out to our patched rclone from the pipeline definition. Signed-off-by: Florian Klink --- .../jenkins-controller/configuration.nix | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/hosts/azure/jenkins-controller/configuration.nix b/hosts/azure/jenkins-controller/configuration.nix index 2729b300..dc981f45 100644 --- a/hosts/azure/jenkins-controller/configuration.nix +++ b/hosts/azure/jenkins-controller/configuration.nix @@ -88,15 +88,19 @@ in { listenAddress = "localhost"; port = 8081; withCLI = true; - packages = with pkgs; [ - bashInteractive # 'sh' step in jenkins pipeline requires this - coreutils - nix - git - zstd - jq - csvkit - ]; + packages = with pkgs; + [ + bashInteractive # 'sh' step in jenkins pipeline requires this + coreutils + nix + git + zstd + jq + csvkit + ] + ++ [ + rclone # used to copy artifacts + ]; extraJavaOptions = [ # Useful when the 'sh' step fails: "-Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true"