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 3.

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

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 http://192.168.0.27:8082/job/CopyBuildToIHServers/ build number 115 http://192.168.0.27:8082/job/CopyBuildToIHServers/115 originally caused by: Started by user anonymous http://192.168.0.27:8082/user/null Building on master in

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

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 yavor.vrac...@gmail.com wrote: Hello, I have added my SSH key to my profile in Bitbucket,

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,

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

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
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 yavor.vrac...@gmail.com wrote: Now I got it, I have read somewhere about that but it completelly

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 http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException: Command C:\Program Files

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.2014,

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 Vrachev

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

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 yavor.vrac...@gmail.com wrote:

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
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

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

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 RD PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 940

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