jenkinsci / docker-ssh-agent

Docker image for Jenkins agents connected over SSH
https://hub.docker.com/repository/docker/jenkins/ssh-agent
MIT License
179 stars 175 forks source link

fix: correct TEST_DEBUG retrieval in build.ps1 #422

Closed lemeurherve closed 3 months ago

lemeurherve commented 3 months ago

This PR fixes a typo introduced in #396 preventing activating the debug of tests via (amongst others) an environment variable.

It also removes the duplicated declaration of the docker commands variables, lints the code by replacing double quotes around string without any variable by simple quotes so they're the same in all build.ps1 code, correctly reindents a small section of code and shortens an output log.

Extracted from:

Testing done

Local tests + CI

Submitter checklist