Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

[Windows] Allow JENKINS_URL to not be set when JENKINS_DIRECT_CONNECTION is set #361

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

krische
Copy link
Contributor

@krische krische commented Jun 28, 2023

This fixes jenkinsci/docker-agent#590 by only requiring JENKINS_URL have a value when JENKINS_DIRECT_CONNECTION is not set as well.

Testing done

Made the change on my own Jenkins and verified it worked when JENKINS_URL is not set but JENKINS_DIRECT_CONNECTION is.

Submitter checklist

This fixes #358 by only requiring `JENKINS_URL` have a value when `JENKINS_DIRECT_CONNECTION` is not set as well.
@krische krische requested a review from a team as a code owner June 28, 2023 13:39
@timja timja added the bug label Jun 28, 2023
@timja timja merged commit 1107889 into jenkinsci:master Jun 28, 2023
7 checks passed
lemeurherve pushed a commit to lemeurherve/jenkinsci-docker-inbound-agent that referenced this pull request Jul 8, 2023
lemeurherve pushed a commit to lemeurherve/jenkinsci-docker-inbound-agent that referenced this pull request Jul 8, 2023
lemeurherve pushed a commit to lemeurherve/jenkinsci-docker-inbound-agent that referenced this pull request Nov 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jenkins-agent.ps1 script requires JENKINS_URL to be set, making it incompatible with JENKINS_DIRECT_CONNECTION
2 participants