Multiple hops using SSH through Jenkins

2014-08-26 Thread Debasis Mitra
Hi All, We are trying to do the move build artifacts from our build host to another host.The setup we need is as following - *Build Host -> Intermittent Host -> Final Host* Using the Jenkins SSH Plugin we are able to reach the Intermittent host and then copy the build artifacts to Final Host

Re: Installing Jenkins into a specific directory on Windows using msiexec

2014-08-26 Thread Dirk Kuypers
Hi Luiz, sorry, for the maybe dumb question: Does the user installing the package have admnistrative rights? From the log: MSI (s) (C8:68) [14:47:01:951]: Product: Jenkins 1.577 -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files (x86)\Jenkins. The

p4 plugin: Owner field missing from client specs

2014-08-26 Thread Tom Sackett
Please note: this is about the "p4 plugin", which uses jenkins credentials, rather than the "Perforce plugin". I'm trying to set up my first build using the p4 plugin and a perforce ticket credential in the global domain. The job is configured to create and manage the client spec. However, each

Getting values into post build steps

2014-08-26 Thread Ginga, Dick
Hello, Is there an easy way to get a value from the Build Flow step into a job parameter that is visible in a post build step? e.g. b = build("job-c") I want b.number for a post build step. Dick Ginga, Informatics R&D PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940 W

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
Thank you very much for the reply. My thought was indeed to set up Jenkins slaves running on Windows but I wanted to set it up as a server on one of my machines. I will try setting up as a server on CentOS then, and run Jenkins slaves on windows machines. On Tuesday, 26 August 2014 10:56:14 U

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Mark Waite
I generally run my Jenkins slaves on Windows from the desktop, since usually I want to use them to perform tests which require a desktop (like Selenium tests, or other tests which interact with the screen). The bug report notes that the problem is specific to git ssh authentication when running th

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
Thanks for the reply. So my best bet might be to try run it on Linux as it may not work on Windows at all? On Tuesday, 26 August 2014 10:56:14 UTC+1, Yavor Vrachev wrote: > > Hello, > > I have added my SSH key to my profile in Bitbucket, I have also added a > hook to the repository with endpoint

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Mark Waite
You may want to read the ideas offered in https://issues.jenkins-ci.org/browse/JENKINS-20356 . That is an open bug report against the case where the Jenkins master server is running as a Windows service. Mark Waite On Tue, Aug 26, 2014 at 8:35 AM, Yavor Vrachev wrote: > So basically I no long

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
So basically I no longer receive this error, however after I added LENOVO-PC$ and it's SSH key respectively, it still stops at using GIT_SSH to set credentials > C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress > g...@bitbucket.org:test/test.git +refs/heads/*:refs/remotes/orig

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
I just deleted the old user and created a completely new one for LENOVO-PC$, with a new SSH key. Used git config --global user.name "LENOVO-PC$" git config --global user.email "LENOVO-PC$" But I still get the public key permission error... On Tuesday, 26 August 2014 10:56:14 UTC+1, Yavor Vrach

Re: Masking build environment variables on env variables screen

2014-08-26 Thread Marc Esher
Perfect! I didn't even see the "Global Passwords" section down toward the bottom of the screen. Thanks a lot, Daniel. On Monday, August 25, 2014 9:45:02 PM UTC-4, Daniel Beck wrote: > > If you're using Env-Inject, try using its built-in password support > instead of Mask Passwords. > > On 26.08

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
I just created a new SSH key in id_rsa_pub for LENOVO-PC$ but I got an error associated with access rights - permission denied(publickey) Caused by: hudson.plugins.git.GitException : Command "C:\Program Files (x86

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Rishabh Das
LENOVO-PC$ is the system account for which you need to generate the SSH key (id_rsa.pub) This key then needs to be added to your Bitbucket account. On Tue, Aug 26, 2014 at 6:06 PM, Yavor Vrachev wrote: > Now I got it, I have read somewhere about that but it completelly slipped > my mind. In Jen

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
Now I got it, I have read somewhere about that but it completelly slipped my mind. In Jenkins' systeminfo is user.name - LENOVO-PC$ that is the default user running the tasks. So how can I add this user to Bitbucket? In id_rsa.pub I have only 1 public SSH key. And when logging in to the Jenkins

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Rishabh Das
What i understand is you have two user accounts created on Jenkins names 'test_name' and 'test.name' respectively. Jenkins service is started by jenkins user. No matter what user account you log into from Jenkins dashboard, it uses a system account by default to execute the tasks. You can check th

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
I have only got 2 Jenkins users - test_name and test.name. After I am already signed in as one of them, and I have already pushed the changes, I am then trying to build my free-style software project but it times out. Any help would be appreciated. On Tuesday, 26 August 2014 10:56:14 UTC+1, Ya

Re: Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Rishabh Das
Jenkins by default uses 'jenkins' user to execute a job. You need to create / generate SSH key for this jenkins user and add it to your Bitbucket account. On Tue, Aug 26, 2014 at 3:26 PM, Yavor Vrachev wrote: > Hello, > > I have added my SSH key to my profile in Bitbucket, I have also added a

Copy Jobs Between Jenkins Instances With Build History

2014-08-26 Thread AndyB
Hi, I'd like to transfer some jobs between two Windows Jenkins servers preserving the build history. I can easily transfer the configurations, either using the Job Import plugin or simply copying the config by hand. However I'm having trouble preserving the build history as Jenkins uses soft

how can i remove the jenkins by default output which is present on console output

2014-08-26 Thread chetan parab
MEsan Started by upstream project "CopyBuildToIHServers " build number 115 originally caused by: Started by user anonymous Building on master in

Jenkins timing out when fetching from g...@bitbucket.org:repository

2014-08-26 Thread Yavor Vrachev
Hello, I have added my SSH key to my profile in Bitbucket, I have also added a hook to the repository with endpoint: http://test.name:api-token@my-pc:8080 I have succesfully pushed changes from Git to Bitbucket but when I try to build a Jenkins project I get the error: Started by user test.nam

HTTP ERROR 401

2014-08-26 Thread Piercarlo
Hi all, I'm using Jenkins 1.577 on an Ubuntu box. I'm currently experiencing this weird behaviour: 1. I login in Jenkins - everything is ok, I can browse jobs etc 2. I do any "edit" action - for instance I click on the "configure" link of a job and edit the description, and hit Save