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

Passing Credentials in Jenkins Slaves Launched Using Amazon EC2 Plugin #13

Open
ashlinnisho opened this issue Feb 23, 2017 · 0 comments

Comments

@ashlinnisho
Copy link

Hi Team,

Am following below document to launch spot jenkins slave. Am able to launch slave successfully and connect to jenkins server and bring it online.

https://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Plugin .

When am trying to run jenkins job in the launched spot slave facing below issue:

  1. All our jobs run as xxx user as our application is configured to use xxx user rather root user.
  2. In our old jenkins when we launch slave manually we have an option to specify to credentials as xxx so that jobs connect to server as xxx user and executes successfully. I have attached screen shot highlighting that option.
  3. But here spot slave doesn't have that option while in configure or later to add manually so here jobs connect to slave as root user rather xxx user which makes jobs fails as all our repo and configs should use xxx user.

Can you please check and let me know how I can add that option to add credentials in slave.

In both old jenkins where slaves launched manually and new one where we use spot slaves has SSH slaves plugin 0.27.

Thanks,
Ashlin
screen shot 2017-02-22 at 5 18 38 pm
screen shot 2017-02-22 at 5 18 31 pm

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

1 participant