Re: setting hudson.plugins.active-directory.ActiveDirectorySecurityRealm.forceLdaps

2013-09-25 Thread Baptiste Mathus
Not sure but I *think* this is a system property. So you need to add something like -D hudson.plugins.active-directory.ActiveDirectorySecurityRealm.forceLdaps=true to the java command starting Jenkins. Hth Le 25 sept. 2013 16:38, a écrit : > The wiki page for the actuve directory plugin says to >

Re: Problem creating view programatically

2013-09-25 Thread Daniel Beck
It helps if you mention the Jenkins version. On 1.509.3, the following works: def listView = new ListView("my-view", Jenkins.instance) listView.includeRegex = "pattern" listView.includePattern = java.util.regex.Pattern.compile("pattern") Jenkins.instance.addView(listView) Jenkins.instance.save()

Re: unable to connect slaves (behind firewalls) to master (in cloud) - this used to work

2013-09-25 Thread Richard Bywater
I'd say talk with the IT guys who operate the firewalls and get them to check their logs - if it is a firewall issue they should be able to see what is getting dropped and why. One possibility (not knowing how "chatty" Jenkins is with its slaves), is that there is no activity going on the connecti

unable to connect slaves (behind firewalls) to master (in cloud) - this used to work

2013-09-25 Thread Dan Tenenbaum
Hello, Previously I had a Jenkins master running on an EC2 instance in the Amazon cloud, and two slave nodes, one of which was also in EC2 and the other of which is here at my institution, behind a firewall. Both slaves connected to the master using Java Web Start and everything worked fine. N

Re: No longer provided a means to add Jenkins slave as a service. What to do now?

2013-09-25 Thread Ruslan Zasukhin
On 9/25/13 11:59 PM, "Steve K" wrote: > Things are not completely settled yet. > I'm having trouble with my older, Windows XP, machines. > On the XP machines, after I "Click on FIle | Install as service", the process > never completes and I don't get the jenkins-slave.exe in my C:\Jenkins > direc

Re: Jenkins for scala

2013-09-25 Thread Richard Bywater
https://wiki.jenkins-ci.org/display/JENKINS/sbt+plugin ? On Thu, Sep 26, 2013 at 1:20 AM, sara hari prasad wrote: > > Hi All, > > I am very new to Jenkins tool. We are using scala programming language in > my project. I was configure the scalastyle in SBT which plugin i have to > install the je

Problem creating view programatically

2013-09-25 Thread Rui Fernando Hayashi
Hi I'm trying to create a view programatically using code like this: def listView = new ListView("my-view", Jenkins.instance) listView.includeRegex = "myregex" Jenkins.instance.addView(listView) Jenkins.instance.save() The view is created, but the jobs that match the regex are not listed. The jo

Re: No longer provided a means to add Jenkins slave as a service. What to do now?

2013-09-25 Thread Steve K
Things are not completely settled yet. I'm having trouble with my older, Windows XP, machines. On the XP machines, after I "Click on FIle | Install as service", the process never completes and I don't get the jenkins-slave.exe in my C:\Jenkins directory. I'm guessing that something(s) on the XP

Re: Set a property (UNCLASSIFIED)

2013-09-25 Thread Edwin Castro
My guess is that the jenkins.exe service wrapper doesn't know how to respond to the -D option you are trying to pass. The jenkins.exe service wrapper starts a java instance controlled by the C:\Program Files (x86)\Jenkins\jenkins.xml file. I think you need to try adding your -D option in the jenki

RE: Set a property (UNCLASSIFIED)

2013-09-25 Thread Mead, Lance E CTR (US)
Classification: UNCLASSIFIED Caveats: NONE The error message is that it did not respond to the start in a timely fashion -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Pyle Sent: Wednesday, September 25, 2013 12:58 PM

Re: Set a property (UNCLASSIFIED)

2013-09-25 Thread Eric Pyle
You need a hyphen before the "D", so that it is recognized as an option: "-Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps=true" On 9/25/2013 3:55 PM, Mead, Lance E CTR (US) wrote: Classification: UNCLASSIFIED Caveats: NONE I searched the registry and added "Dhudson.

RE: Set a property (UNCLASSIFIED)

2013-09-25 Thread Mead, Lance E CTR (US)
Classification: UNCLASSIFIED Caveats: NONE I searched the registry and added "Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps=true" to the command line so now it is "C:\program files(86)\Jenkins\jenkins.exe Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.

Re: Set a property (UNCLASSIFIED)

2013-09-25 Thread Eric Pyle
What is the command line as shown in the Windows service configuration? Is that where you attempted to add the value? What happens (error message?) when you try to start the service this way? Eric On 9/25/2013 3:13 PM, Mead, Lance E CTR (US) wrote: Classification: UNCLASSIFIED Caveats: NONE

RE: Set a property (UNCLASSIFIED)

2013-09-25 Thread Mead, Lance E CTR (US)
Classification: UNCLASSIFIED Caveats: NONE I attempted to add the value to the windows service but it does not accept the input. I'm trying to change "Hudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps" although it does not say what to set it to. -Original Message---

Re: deploy build artifacts to nexus

2013-09-25 Thread William Soula
Or, if you are running a freestyle build, add the "Invoke top-level Maven targets" build step and then for the goal set "deploy:deploy-file" and pass the url, repositoryId, groupId, artifactId, version, packaging, and file properties. Will On 09/25/13 11:21, Jeff wrote: Are you using Maven to

Re: Set a property

2013-09-25 Thread Eric Pyle
On the command line when you start Jenkins, add the property to the command like this: -Dproperty.name=property.value For example, to set a hypothetical property called requireSecureLogin to true: -DrequireSecureLogin=true Eric On 9/25/2013 12:59 PM, lance.e.mead@mail.mil wrote: I have

Re: BUG? Archived arctifacts OK in Jenkins; 0-bytes in downloaded ZIP

2013-09-25 Thread Trinition
Someone else discovered this issue new in 1.532. It works fine in 1.531. Someone has submitted a fix. https://issues.jenkins-ci.org/browse/JENKINS-19752 On Wednesday, September 25, 2013 1:47:10 PM UTC-4, Trinition wrote: > > We've recently upgraded to Jenkins 1.532 and have started experiencin

Any Kiln users here? Can't clone my repo in Jenkins (installed on Ubuntu)

2013-09-25 Thread bluntcoder
Hi there, I'm trying to get my new project setup on a new Jenkins build, installed on Ubuntu Linux. I use Kiln by FogBugz. I've tried many different solutions based on tons of research on the net. But still this is my output: $ hg clone --rev default --noupdate ssh://myu...@mycompany.kilnhg.co

Re: Issues with starting jenkins

2013-09-25 Thread Boris Kurktchiev
So that fixed the startup issue, but now I am not able to log in with my account. The log is showing/saying nothing and I have it cranked up to 9. On Wed, Sep 25, 2013 at 2:05 PM, Boris Kurktchiev wrote: > I am running the latest version on RHEL6 using the jenkins repo I think I > just upgraded

Re: Issues with starting jenkins

2013-09-25 Thread Boris Kurktchiev
I am running the latest version on RHEL6 using the jenkins repo I think I just upgraded to 1.532 On Wed, Sep 25, 2013 at 1:37 PM, Ulli Hafner wrote: > Ok, I see. The conflicting part is in Jenkins core. > > Please remove the following block and restart: > > >> false >> X-Forwarded-For >

Re: BUG? Archived arctifacts OK in Jenkins; 0-bytes in downloaded ZIP

2013-09-25 Thread Trinition
FWIW, there were some recent ZLIB issues that may be related (loose lay opinion): https://issues.jenkins-ci.org/browse/JENKINS-19473 On Wednesday, September 25, 2013 1:47:10 PM UTC-4, Trinition wrote: > > We've recently upgraded to Jenkins 1.532 and have started experiencing a > new problem. Wh

Re: Combine value from previously defined axis to create GroovyAxis

2013-09-25 Thread Adam Daughterson
...crickets... On Thursday, September 19, 2013 4:01:59 PM UTC-6, Adam Daughterson wrote: > > I have a user-defined axis called VERSION containing values "A B C", and I > would like to create a GroovyAxis with values which are cobbled together > based on values in the VERSION axis. > > Something

BUG? Archived arctifacts OK in Jenkins; 0-bytes in downloaded ZIP

2013-09-25 Thread Trinition
We've recently upgraded to Jenkins 1.532 and have started experiencing a new problem. When we view the archived artifacts of a build, they're fine (e.g. local.config is 1kb). But if we ask for "All Files As Zip", the files in the zip are 0 bytes. The files are all present, but empty. -- You

Re: Issues with starting jenkins

2013-09-25 Thread Ulli Hafner
Ok, I see. The conflicting part is in Jenkins core. Please remove the following block and restart: > > false > X-Forwarded-For > Did you upgrade Jenkins? Or is this a new installation? Which Jenkins version? Am 25.09.2013 um 19:18 schrieb Boris Kurktchiev : > The only other auth r

Re: Issues with starting jenkins

2013-09-25 Thread Boris Kurktchiev
The only other auth related plugin i have enabled is Credentials that I can think of. But just to be sure here is a dump of the plugins directory, i dont see anything in there that should be affecting this: http://pastebin.com/Y1WrBgGs (its a bunch so i figured better off using pastebin than here)

Re: Issues with starting jenkins

2013-09-25 Thread Boris Kurktchiev
I am just using the internal auth single user at the moment. This is my config.xml OldData hudson.diagnosis.TooManyJobsButNoView 1.522 2 NORMAL true true false ${ITEM_ROOTDIR}/workspace ${ITEM_ROOTDIR}/builds false 5 0

Re: Issues with starting jenkins

2013-09-25 Thread Ulli Hafner
Jenkins can read the file but the contents are broken: hudson.security.csrf.DefaultCrumbIssuer.PROXY_HEADER This field cannot be set from the XML file (is missing, etc.) Which plug-in are you using for security? Ulli Am 25.09.2013 um 19:00 schrieb Boris Kurktchiev : > i keep getting org.jvn

Re: No longer provided a means to add Jenkins slave as a service. What to do now?

2013-09-25 Thread Steve K
Curtis, Thank you very much for your reply. That does seem to do the trick. As a note, for the slaves that already had a service entry, I did get errors when I added the service: [Jenkins]$ C:\Jenkins\jenkins-slave.exe installl WMI.WmiException: ...service exists but, it seems to work. This m

Issues with starting jenkins

2013-09-25 Thread Boris Kurktchiev
i keep getting org.jvnet.hudson.reactor.ReactorException: hudson.util.IOException2: Unable to read /opt/local/jenkins/config.xml when i try to start up Jenkins, but the directory and file is owned by jenkins user, i can su to jenkins user and view/edit the file… i am getting stumped. Here is

Set a property

2013-09-25 Thread lance . e . mead . ctr
I have been told by the Jenkins wiki to set a property. The search on how to set a porperty fails to give the instructions. Does anyone know how to specify and set a property that will be checked on start-up aka a security login property? -- You received this message because you are subscri

Re: No longer provided a means to add Jenkins slave as a service. What to do now?

2013-09-25 Thread Curtis Kline
Steve, Instead of using the command line, I run the JNLP agent using the "Launch" button on the Node page. My steps are: 1. Get on the desktop of the slave machine. 2. Open a browser and browse to my Jenkins master. 3. Click on Manage Nodes and then the link for the slave (if I've already set it

Re: deploy build artifacts to nexus

2013-09-25 Thread Jeff
Are you using Maven to build? If so configure your nexus repository in your pom and run 'mvn deploy'. No special jenkins plug ins required. On Sep 24, 2013 11:06 PM, "Irfan Sayed" wrote: > hi, > we are using open source nexus as maven internal repository management tool > is there any Jenkins p

No longer provided a means to add Jenkins slave as a service. What to do now?

2013-09-25 Thread Steve K
Hello, Previously, with Jenkins 1.40x.x, when adding a new slave, I would log in to the slave and use the command provided to me. Something like: java -jar slave.jar With that, I would be given the opportunity to add the slave process as a service. Now, the command includes the -secret , whic

Re: Jenkins Build node CentOS 6.4

2013-09-25 Thread flex . guse
Hi teilo, hi Les, thanks for your answers. I wasn't aware changes in .profile are not global and I wasn't aware of interactive and non-interactive shells. I added a .bashrc file for the jenkins user and set the language - as Les suggested. This works for me, thanks a lot! Christoph -- You r

Re: Jenkins Build node CentOS 6.4

2013-09-25 Thread Les Mikesell
On Wed, Sep 25, 2013 at 7:32 AM, wrote: > It helped to add a Shell script execution as Pre-Build step: > > export LANG=en_US.UTF-8 > export LC_ALL=en_US.UTF-8 > > But this is only a workaround and does not answer the question why the > system settings are not taken correctly. They aren't 'system

Re: stop mirroring Source Control folder structure in jenkins workfolder

2013-09-25 Thread Les Mikesell
On Wed, Sep 25, 2013 at 9:29 AM, Al Jay wrote: > I am using Jenkings 1.531 on Windows 8 for evaluation. I am trying to build > VB6.NET Software with it. > I installed the Visual Source Safe plugin as this still is the version > control we are using. i set it as the SCM in the job I created > I hav

setting hudson.plugins.active-directory.ActiveDirectorySecurityRealm.forceLdaps

2013-09-25 Thread lance . e . mead . ctr
The wiki page for the actuve directory plugin says to set "hudson.plugins.active-directory.ActiveDirectorySecurityRealm.forceLdaps", but no where can I find information on how this is to be done. Is it a line in the config.xml? -- You received this message because you are subscribed to the

stop mirroring Source Control folder structure in jenkins workfolder

2013-09-25 Thread Al Jay
I am using Jenkings 1.531 on Windows 8 for evaluation. I am trying to build VB6.NET Software with it. I installed the Visual Source Safe plugin as this still is the version control we are using. i set it as the SCM in the job I created I have a Job in which I use the version control path $/Solut

Re: Jenkins Build node CentOS 6.4

2013-09-25 Thread teilo
On Wednesday, 25 September 2013 14:49:05 UTC+1, flex...@googlemail.com wrote: > > Hi teilo, > > I created the file custom.sh in /etc/profile.d/ folder: > > export LANG=en_US.UTF-8 > export LC_ALL=en_US.UTF-8 > > which should (as far I know) set the settings system wide. > > no it doesn't - see m

RE: Setting Keep Forever

2013-09-25 Thread Ginga, Dick
Thanks! I will give this a try From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of matthew.web...@diamond.ac.uk Sent: Wednesday, September 25, 2013 9:35 AM To: jenkinsci-users@googlegroups.com Subject: RE: Setting Keep Forever Use https://wiki.jenkins-c

Re: Jenkins Build node CentOS 6.4

2013-09-25 Thread flex . guse
Hi teilo, I created the file custom.sh in /etc/profile.d/ folder: export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 which should (as far I know) set the settings system wide. Calling echo $LANG as jenkins user in the bash shows echo $LANG en_US.UTF-8 -- You received this message because you a

Re: Jenkins Build node CentOS 6.4

2013-09-25 Thread teilo
How did you configure the system settings? an interactive user goes through different initialisation steps in the shell than non-interactive remotly executed commands. e.g. if you add this into your .profile then that would explain the difference. I am presuming you are launching slaves via ssh

Re: LDAP Configuration

2013-09-25 Thread Manjunath DG
Hi Mark, Yes you have to check with your IT team on the already existing LDAP Server details and fill in those in the Jenkins Access Control > Security Realm > select LDAP and fill in up with Server which will be provided by your IT team in the server column.Please find the below screen shoot wh

RE: Setting Keep Forever

2013-09-25 Thread Matthew.Webber
Use https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin to test the release parameter, conditionally run a shell script that does something like: java -jar /path/to/jenkins-cli.jar -s http://jenkins:8080/ keep-build You need to sort out authentication for the jenkins-c

Jenkins for scala

2013-09-25 Thread sara hari prasad
Hi All, I am very new to Jenkins tool. We are using scala programming language in my project. I was configure the scalastyle in SBT which plugin i have to install the jenkins. could anyone please give the suggestion . Best Regards, Hari. -- You received this message because you are subsc

Setting Keep Forever

2013-09-25 Thread Ginga, Dick
Is there a build step available that can mark the current build as Keep Forever? I have a core build job and when it builds a "Release" build based on a parameter, I want that one to stay forever. Dick Ginga, Informatics R&D PerkinElmer Inc. | For the Better HUMAN HEALTH | ENVIRONMENTAL HEALTH 9

Re: Jenkins Build node CentOS 6.4

2013-09-25 Thread flex . guse
It helped to add a Shell script execution as Pre-Build step: export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 But this is only a workaround and does not answer the question why the system settings are not taken correctly. Any ideas? Christoph -- You received this message because you are subs

Jenkins Build node CentOS 6.4

2013-09-25 Thread flex . guse
Hi Everybody, we run a Jenkins 1.532 *Build master* which uses the SSH Slave plugin to communicate with two *Build slaves* (CentOS 6.4 machines). In our configuration the Build slaves are dumb, the Java JDK 1.7 and Maven 3.0.5 is provided by the master. This works, the Build master is able to s

LDAP Configuration

2013-09-25 Thread mak1453
Hello, Please forgive me if I am asking very stupid questions. I am very new to LDAP. I would like to integrate LDAP with Jenkins so that our existing users can use their domain user names to login to Jenkins. I have a server on which Jenkins runs and people login using "Jenkins’s own user da