Combine multiple login-names to a single user account

2014-07-30 Thread Simon Schlachter
Hi Jenkins Users! Is there any way to map multiple logins to the same user account? The scenario: We use multiple version control systems - in all of them, the same user may have a different name. (e.g. in CVS its the short login name while in git it is My Name myn...@mycompany.org). We would

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-30 Thread Hansen Loke
Where does Jenkins.instance.rootUrlFromRequest get the address from? How can I reproduce that outside of Jenkins? On Tuesday, 29 July 2014 22:26:24 UTC+1, Hansen Loke wrote: Ok, after the move again I ran the commands and now got:

Re: Combine multiple login-names to a single user account

2014-07-30 Thread Daniel Beck
Nicolas wrote the 'Additional Identities Plugin' that seems to do that: https://github.com/ndeloof/additional-identities-plugin It's unreleased though, and I don't know why. Still, worth a try if you know how to build a Maven project. On 30.07.2014, at 08:44, Simon Schlachter simsc...@gmail.com

Jenkins Job to be triggered through Sharepoint

2014-07-30 Thread Preetham Ema
Hi Group, Can anyone share how we can trigger the Jenkins job through sharepoint. I did try the post URL option with Token authentication. It works only if anonymous user is given privileges to the Jenkins job. It will be great if someone can share more information on triggering Jenkins job

How do i pass a build number to a downstream job for jobs that are part of a Build Pipeline

2014-07-30 Thread Eric Wood
I use the build pipeline to manage a series of related jobs (downstream).  I want to be able to pass the build number from the upstream job to be used in the downstream jobs as the build number there.  How is this best accomplished. Thanks, Eric -- You received this message because you are

setting jenkins working and install directory

2014-07-30 Thread Mihamina Rakotomandimby
Hi all, If I launch jenkins with the java -jar jenkins.war command, how can I be sure to setup the working directory? I would like to explicitely set it, so that if it ever create a dotdir for a job (for whatever reason) I know I have to look under a known subdir. I mean the working

Re: How do i pass a build number to a downstream job for jobs that are part of a Build Pipeline

2014-07-30 Thread Chris Williams
Hi, I usually add a Predefined parameter something like MYBUILD_NUMBER=${BUILD_NUMBER} and use that environment variable (Parameter) in the next build step. Chris On 30 July 2014 15:13, Eric Wood eric.w...@rocketmail.com wrote: I use the build pipeline to manage a series of related jobs

How to programmatically set email password

2014-07-30 Thread Carl Austin
Hi, I'm writing ansible scripts to deploy and configure Jenkins, which need to modify, among other things, the email settings. I've taken a look at hudson.tasks.mailer.xml and can see the password is encrypted in the file. How do I go about encrypting a password so I can edit this file

Jenkins modifies known_hosts file (Unnecessarily?)

2014-07-30 Thread ed . 678901
When I have a job configured using the git plugin (haven't tried this with something else) I put the repository URL based on the hostname, e.g. me@host1.machine:repo, and I add and entry in /var/lib/jenkins/.ssh/known_hosts, e.g. host1.machine ssh-rsa AADFASDGASDFA Whenever I build this

Re: How to programmatically set email password

2014-07-30 Thread ed . 678901
I don't know about the mailer, but for the login passwords *py_bcrypt* did the job for me: bcrypt.hashpw(plaintext, bcrypt.gensalt()) and put the value as passwordhash#jbcript:{{put-the-value-here}}/passwordhash. -- Ed -- You received this message because you are subscribed to the Google

package com.ibm.ws.webservices.multiprotocol does not exist Error

2014-07-30 Thread VINEETH RADHAKRISHNAN
Hello, I am using RAD 8.0 to develop our web application and I am able to successfully build it using ANT. But when I create the Jenkins job for building the same code, I am getting these errors. package com.ibm.ws.webservices.multiprotocol does not exist package

Re: Jenkins modifies known_hosts file (Unnecessarily?)

2014-07-30 Thread Mark Waite
I suspect you'll move further and faster if you adapt your process to accept changes made to the known_hosts file, rather than attempting to change a plugin to adapt to your desire for minimal changes to the known_hosts file. I don't find changes to the known_hosts file in the git-client-plugin

Re: Jenkins modifies known_hosts file (Unnecessarily?)

2014-07-30 Thread ed . 678901
Hi Mark, Thanks a lot for taking the time to check through the two git plugins. I had some tea and moved on, somewhat reluctantly. If anyone could explain to me what mechanism is causing this I would still be very grateful, but all in all just some ruffled feathers. Have a great one! -- Ed

Restarts hanging after 1.574 upgrade

2014-07-30 Thread protomouse
Hi all, Upgraded from 1.544 to 1.574 today. I'm now facing permanent hangs on /restart (or via update center). Please wait while Jenkins is restarting... The error log shows only these two rows at the time of restart and no further logging once it hangs. Jul 30, 2014 8:55:38 PM

Multiple projects chaining question

2014-07-30 Thread Oliver Wang
Hello all, I am a newbie to Jenkins, and have a question that I don't know where to start. I have 4 separate projects A, B, C, D, all of which are GNU Autotool based and hosted on github. The result of A, B, C project build are libraries that D will depend on. In regular setting, I would

Jenkins and Jacoco and multiple jobs...

2014-07-30 Thread Mark Wilhelm
Hello, I'm running a Jenkins server with multiple jobs. Part of one of the jobs is to run Jacoco for code coverage metrics. I am using the latest Jacoco plugin. What is happening is that the Jacoco run is going into every job and searching for Jacoco artifacts (classes, exec,etc...) and with

Re: Jenkins and Jacoco and multiple jobs...

2014-07-30 Thread Mark Waite
That is quite surprising. I have many different Jacoco based jobs running on master and on slaves and on Windows and Linux and have never seen it wandering outside its own directory path to find coverage data. Could there be a symbolic link (or the Windows equivalent of it) inside the workspace

How do I get a handle to the job's console output from build variable?

2014-07-30 Thread Frank Merrow
So working with a Plugin that accepts Groovy code. I’ve been given a copy of the “build” variable, but have not been given copy of the “logger”. I want to write a single line of output into the Job’s console output. It has to be possible to get a copy of the logger (Listener) from the

Attempting to call Jenkins API from AngularJS, running into CORS blockage.

2014-07-30 Thread Ed Abshire
Hello! So I am tinkering with AngularJS and Jenkins. In an attempt to call the Jenkins API from AngularJS, I got the Cross Origin policy block. I installed the Secure Requester Whitelist Plugin https://wiki.jenkins-ci.org/display/JENKINS/Secure+Requester+Whitelist+Plugin from the plugin

Fwd: Role based strategy configurations

2014-07-30 Thread Samna Soin
-- Forwarded message -- From: Samna Soin samnas...@gmail.com Date: Thu, Jul 31, 2014 at 9:07 AM Subject: Role based strategy configurations To: jenkinsci-users@googlegroups.com Hi Team I am trying to configure the role based strategy in Jenkins. I have downloaded the plugin