diff --git a/hosts/testagent/agents-common.nix b/hosts/testagent/agents-common.nix index ddbea9a3..f1b52c82 100644 --- a/hosts/testagent/agents-common.nix +++ b/hosts/testagent/agents-common.nix @@ -42,6 +42,7 @@ in ++ (with pkgs; [ minicom usbsdmux + grafana-loki ]); # The Jenkins slave service is very barebones @@ -95,7 +96,7 @@ in jenkins-connect-script = pkgs.writeShellScript "jenkins-connect.sh" '' JENKINS_SECRET="$( curl --proto =https -u admin:$ADMIN_PASSWORD \ - $CONTROLLER/computer/${device}/jenkins-agent.jnlp | + $CONTROLLER/computer/${device}/jenkins-agent.jnlp | sed "s/.*\([a-z0-9]*\).*/\1\n/" )" @@ -139,6 +140,7 @@ in netcat python3 usbsdmux + grafana-loki ]); serviceConfig = {