Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: How to know which agent runs which build #2117

Closed
adrienverge opened this issue Jul 18, 2017 · 2 comments
Closed

Documentation: How to know which agent runs which build #2117

adrienverge opened this issue Jul 18, 2017 · 2 comments

Comments

@adrienverge
Copy link

Hi,

We use Drone on multiple machines with different hardware capabilities. I'd like to know which builds runs on which agent, for debugging purpose. Unfortunately I couldn't find anything in the docs, in GitHub issues or on stackoverflow/drone.io.

  1. Is there a way to print the agent's name? There does not seem to be an env variable for that. Otherwise is there a way to define custom per-agent variables, like asked in Arbitrary Agent environment variables #1808? If not, is there a way to get this information by ssh-ing on the Drone server (or agents) after builds are complete and containers deleted?

  2. I'd like to improve Drone documentation by answering this question, because I think it's a legitimate one :)

@jmccann
Copy link

jmccann commented Jul 18, 2017

I don't think this is a matter of documentation but rather it is just not possible ATM.

Seems to be related to #1496.

@bradrydzewski
Copy link

closing as duplicate of #1496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants