ssh-agent plugin do not actually switch job cridentials

2017-02-08 Thread Moshe Zuisman
Hi. I am using ssh-agent plugin to define cridentials for my job(node is defined with user "ec2-user" but I want to run build script under different user - ctmacc1) I have defined such user on EC2 linux node , with same ssh key as ec2-user. When I connect to machine manually (putty) with ctmacc1 -

Different user in Jenkins node configuration and job.

2017-02-08 Thread Moshe Zuisman
Hi. I am using Jenkins with EC2 plugin. Problem is aas follows. In Jenkins configuration I created definition of EC2 Linux node, with user "ec2-user". Initialisation script of thosenode instalal several packages and creates my aplicative user ("appuser"), under which I actually want to my applicati

How to search jenkins artifacts copied from one job to another.

2017-02-07 Thread Moshe Zuisman
Hi. I have 2 jenkins jobs(both runs on amazon EC2 nodes). One archive some file as artifact. Second is defined to have an access to those artifact. When I comes to second node (that access artifact, created by first one) I see that those artifact lays under directorry : *workspace\label=windows20

Re: How to get ip(public or private of one EC2 node and pass it to second

2017-02-03 Thread Moshe Zuisman
Some additional thought. If there is some way to pass to slave information about jenkins server, that manages it - it could give a kind of workaround. For example I can start some web server or my_sql db server at jenkins node. And bootstrup script that deploy slaves can when deploying sserver

Re: How to get ip(public or private of one EC2 node and pass it to second

2017-02-03 Thread Moshe Zuisman
node put its ip at those server, and client bootstrup script get from there server's ip... пятница, 3 февраля 2017 г., 0:37:46 UTC+2 пользователь Moshe Zuisman написал: > > I am quite a new bee in jenkins. So - it can happen , that I ask > something that already was asked. Whi

How to get ip(public or private of one EC2 node and pass it to second

2017-02-02 Thread Moshe Zuisman
I am quite a new bee in jenkins. So - it can happen , that I ask something that already was asked. While - I did not find anything on those or another forums or documentation. I have 2 jobs on my jenkins server. One creates node (EC2 amazon Windows machine) with application server installed o

Re: Getting started with jenkins CI. getting git to trigger build

2016-02-18 Thread Moshe
build trigger. > > On Thursday, February 18, 2016, Moshe > > wrote: > >> Hey everyone. >> After spending literally hours reading articles, watching videos and what >> not, I'm officialy saying jenkins got the best of me. >> My requirements are as simple a

Getting started with jenkins CI. getting git to trigger build

2016-02-18 Thread Moshe
Hey everyone. After spending literally hours reading articles, watching videos and what not, I'm officialy saying jenkins got the best of me. My requirements are as simple as they can get. I need jenkins to work with my Git repository and to trigger a build each time a change is made to the bran