Skip to content

Commit

Permalink
Should be upper case controller
Browse files Browse the repository at this point in the history
  • Loading branch information
FunPat committed Jun 24, 2024
1 parent c0a6e4f commit 9f7c9bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/jenkins-agent-run.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ AGENT_ARGS+=(-jar "$JENKINS_AGENT_JAR")
[[ -n "$CLIENT_NAME" ]] &&
AGENT_ARGS+=(-name "$CLIENT_NAME")

[[ -n "$controller_URL" ]] &&
AGENT_ARGS+=(-controller "$controller_URL")
[[ -n "$CONTROLLER_URL" ]] &&
AGENT_ARGS+=(-controller "$CONTROLLER_URL")

[[ -n "$LABELS" ]] &&
AGENT_ARGS+=(-labels "$LABELS")
Expand Down

0 comments on commit 9f7c9bf

Please sign in to comment.