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

Use JENKINS_SECRET and JENKINS_NAME env vars if present#24

Merged
oleg-nenashev merged 2 commits intomasterfrom
envvars
Mar 16, 2017
Merged

Use JENKINS_SECRET and JENKINS_NAME env vars if present#24
oleg-nenashev merged 2 commits intomasterfrom
envvars

Conversation

@carlossg
Copy link
Copy Markdown
Contributor

@oleg-nenashev
Copy link
Copy Markdown
Member

@reviewbybees

Copy link
Copy Markdown
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐝

Comment thread jenkins-slave Outdated
# * JENKINS_TUNNEL : HOST:PORT for a tunnel to route TCP traffic to jenkins host, when jenkins can't be directly accessed over network
# * JENKINS_URL : alternate jenkins URL
# * JENKINS_SECRET : agent secret, if not set as an argument
# * JENKINS_NAME : agent name, if not set as an argument
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JENKINS_SLAVE_NAME would be clearer. Or better yet, JENKINS_AGENT_NAME with SLAVE_NAME replaced by AGENT_NAME above.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oleg-nenashev you approved, so WDYT ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC name and secret are the var names used in remoting

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, +1 for JENKINS_AGENT_NAME

@ghost
Copy link
Copy Markdown

ghost commented Feb 25, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@oleg-nenashev
Copy link
Copy Markdown
Member

@reviewbybees done

@oleg-nenashev oleg-nenashev merged commit 0e6b469 into master Mar 16, 2017
@oleg-nenashev oleg-nenashev deleted the envvars branch March 16, 2017 16:19
lemeurherve pushed a commit to lemeurherve/jenkinsci-docker-inbound-agent that referenced this pull request Nov 19, 2023
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
…kinsci/envvars

Use JENKINS_SECRET and JENKINS_NAME env vars if present
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
…kinsci/envvars

Use JENKINS_SECRET and JENKINS_NAME env vars if present
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
…kinsci/envvars

Use JENKINS_SECRET and JENKINS_NAME env vars if present
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
…kinsci/envvars

Use JENKINS_SECRET and JENKINS_NAME env vars if present
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Jan 12, 2024
…nvvars

Use JENKINS_SECRET and JENKINS_NAME env vars if present
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Env variables for secret and slave name

3 participants