Antwort: Create a textfile with ${BUILD_NUMBER}

2014-01-28 Thread Andreas Schilling
hi, maybe this helps? http://stackoverflow.com/questions/8606664/how-are-environment-variables-used-in-jenkins-with-windows-batch-command In Windows batch it seems to work with %VARIABLE%. Mit freundlichen Grüßen / kind regards i.A. Andreas Schilling Enterprise Processes & Software --

Jenkins-21540- NPE while renaming job lost all histories of job

2014-01-28 Thread Hiteswar
Hi , Please share comment or fix for issue Jenkins -21540. When do rename job by yo , it throws NPE but job is renamed and lost job history . Detailed Stacktrace is in jira-Jenkins -21540. Thanks Hiteswar -- You received this message because you are subscribed to the Google Groups "Jenkins Us

Re: Raspberry PI as node

2014-01-28 Thread Mark Waite
My Raspberry Pi is configured as a build node and stays online all the time. It currently reports 100 MB free swap space, 9 GB free disc space, and 9 GB free temp space. You may need to increase the size of the flash drive you're using with your Raspberry Pi to resolve the free disc space and free

Authentication problem (?) when building through a Github webhook

2014-01-28 Thread Scott Purcell
Context: I'm maintaining courseware that consists of restructured text source files that we maintain in Github and render into PDFs for our courses. I'm trying to use Jenkins to automatically re-render the PDFs each time changes are committed to the repository. I am a beginning user of Jenkins

Re: API xml responses not complete?

2014-01-28 Thread Scott Evans
Daniel - Thanks! Exactly what I was needing (and missing in reading the documentation). Scott On Tue, Jan 28, 2014 at 3:49 PM, Daniel Beck wrote: > > On 28.01.2014, at 22:45, Scott Evans wrote: > > > 1. Is this expected behavior? > > Yes. > > > 3. If this is the expected response via the /ap

Re: API xml responses not complete?

2014-01-28 Thread Daniel Beck
On 28.01.2014, at 22:45, Scott Evans wrote: > 1. Is this expected behavior? Yes. > 3. If this is the expected response via the /api/xml call, is there any way I > can use an api/xml call on a different url to get the names of the running > jobs on each executor of the given nodename? Quotin

API xml responses not complete?

2014-01-28 Thread Scott Evans
I'm trying to roll my own external monitoring for my Jenkins server using PHP to access the Jenkins API and then parse the returned XML. I'm able to (using curl) pull out XML from Jenkins using the following URL format: https:///computer//api/xml But although I am getting back a bunch of XML dat

How to execute REXX scripts on Windows Slave?

2014-01-28 Thread John Bobinyec
We're thinking of migrating to jenkins. The build machines run rexx scripts on Windows machines. In the project I'm trying to set up a command which will execute the rexx script on the slave. The command is to be executed in an "Execute a Windows batch command" window: "c:\Program Files\ObjR

Raspberry PI as node

2014-01-28 Thread Anders Persson
Hi I have configured my Raspberry PI as a buld node in my jenkins environment. THe master then reports that Raspberry PI node has 0MB "Free Swap SPace" and only 0.241 GB "Free Temp Space" and removes the node. It also reports 12GB of free disk space. Is it something I can do at my Raspberry PI

Re: mirroring releases

2014-01-28 Thread fou noway
Hi Chris, I happened to be redirected to http://ftp.nluug.nl/programming/jenkins/, which does not appear on the mirror status page. We're located in Lyon, France (http://mirror.in2p3.fr/) I spoke with Tyler on IRC. I've got to get back to him when he's less busy. One of the interests in setting

Re: email-ext plugin sending incorrect LDAP email

2014-01-28 Thread Slide
There are a couple of things you can do. 1) Use the new mailmap-resolver-plugin to provide a mapping from username to email address 2) Create user accounts in Jenkins for those users and make sure the email address is added in their profile Either of these should do the trick. slide On Tue, Ja

Re: A way to copy (move) individual build jobs or entire views from one Jenkins to another

2014-01-28 Thread Slide
I've used [1] pretty successfully in my work. It has a few quirks, but does a nice job. slide 1 - https://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin On Tue, Jan 28, 2014 at 8:34 AM, Viktor Sadovnikov wrote: > When your company/project uses multiple installations of Jenkins, quite >

email-ext plugin sending incorrect LDAP email

2014-01-28 Thread Kamal Ahmed
Seems that email-ext plugin constructs email by an LDAP user's first initial and last name and append the @domain (like mail.com) after that. The problem is that some of these addresses do NOT exist in LDAP and are bounced, and sometimes go to another unintended person. How do i resolve this ?

Need Help ! ! ! Run Jenkins just by itself: java -jar jenkins.war (which uses Jetty) use JDBC Realm

2014-01-28 Thread Артур Игоревич Белоусов
Dear users and developers Jenkins, please help me ! If Jenkins uses the default servlet container Jetty that is Embedd in Jenkins.war. How can i override or specify my configuration file (Jenkins.xml or jetty.xml

Re: Loading job configuration pages is excruciatingly slow (minutes)

2014-01-28 Thread bl0ck3r
Thanks for the advice. 1) scrolling to the end while config is loading: it gets to the end (the last post-build step which is editable email notification) very quickly. so it seems it's busy doing something else 2) examining the threadDump while loading the config is hung at the bottom: nothin

A way to copy (move) individual build jobs or entire views from one Jenkins to another

2014-01-28 Thread Viktor Sadovnikov
When your company/project uses multiple installations of Jenkins, quite often you'd like to move build jobs from one server to another. Jenkins does provide an extensive set of CLI command and API via HTTP. However there is nothing (yet), what would connect two build servers. The four scripts,

Re: Create a textfile with ${BUILD_NUMBER}

2014-01-28 Thread Daniel Beck
You're on the wrong list. This is not a Jenkins issue. Use double quotation marks. On 28.01.2014, at 16:06, Robert Pohl wrote: > Hi, > I'm generating a text file with build info but it doesn't work :/ > > Under Build -> Execute Shell, there is a line: > echo 'BuildNumber: ${BUILD_NUMBER}, GIT

Create a textfile with ${BUILD_NUMBER}

2014-01-28 Thread Robert Pohl
Hi, I'm generating a text file with build info but it doesn't work :/ Under Build -> Execute Shell, there is a line: echo 'BuildNumber: ${BUILD_NUMBER}, GITRevision: ${GIT_BUILD_NUMBER}' > public/static/buildinfo.txt But in that textfile it will show exactly "BuildNumber: ${BUILD_NUMBER}, GITR

Re: Loading job configuration pages is excruciatingly slow (minutes)

2014-01-28 Thread Daniel Beck
You probably have a plugin whose job config parts have a really long load time for some reason. While the job config page is loading, open http://(yourjenkins)/threadDump in another window. Search for "Handling GET /job/(jobname)/configure". This will tell you, what part of the code, and often,

Re: Loading job configuration pages is excruciatingly slow (minutes)

2014-01-28 Thread bl0ck3r
I should add that the CPU is railed all the time and that I use Jenkins 1.509.2. There is nothing else on that host but Jenkins. We have about 50 jobs, and thousands of results (and hundreds/thousands of JUnit xml files per build). Have I exceeded Jenkins capacity? How do I discover what Jenkin

Re: How to have downstream job scheduled?

2014-01-28 Thread Eric Pyle
You need the Conditional Build Step plugin . It allows you to execute a build step subject to certain conditions, including the day of the week. Eric On 1/27/2014 5:16 PM, Umesh Prajapati wrote: Hi Jenkins, I have a u

Loading job configuration pages is excruciatingly slow (minutes)

2014-01-28 Thread bl0ck3r
Everything in Jenkins is reasonably fast, but loading job configuration pages is frustratingly slow (minutes). Using Firefox, hosted on linux. Started happening a few months ago. I don't get it since Jenkins should only be loading the config.xml for the job... what else does it do that takes so

Re: I want to deploy jenkins into ecliplse but i'm unable, Sorry i'm newbie please help

2014-01-28 Thread Peter Miklosko
https://wiki.jenkins-ci.org/display/JENKINS/Source+code On 28 January 2014 06:56, Vineet Kharwar wrote: > Hi all, > > I want to deploy jenkins project to eclipse. As i need to do some changes > in the jenkins, can anyone help me with this. > > -- > You received this message because you are subs

Re: Jenkins and Gerrit integration questions - Gerrit-trigger plugin

2014-01-28 Thread JianHua Geng
Zuul, I know that, but looks like it is not easy to setup. Anyway, I will try it. Thanks a lot. 在 2014年1月28日星期二UTC+8下午5时03分02秒,Luca Milanesio写道: > > I saw a presentation at the JUC 2013 @Palo Alto of its usage in the > OpenStack project: seems really interesting ! > > Luca. > > On 28 Jan 2014, a

Re: Build flow, workspace and aggregated results

2014-01-28 Thread Raghu R
here's my dsl as of now //build.properties.each { out.println "$it.key -> $it.value" } def workspace = params["CUSTOM_WORKSPACE"] if (workspace == null || workspace == "" ) { workspace = "workspace/" + build.properties["environment"]["JOB_NAME"] } out.println "Workspace: " + workspace def

Re: Build flow, workspace and aggregated results

2014-01-28 Thread Raghu R
Hi Nicolas, Right - build orchestration is my intention too (mostly). However, workspace isolation is important so that jobs in the build flow have a predictable workspace state. Specific scenarios are in my previous wall of text - but I'll try to summarize the core issue here: Typical Executi

Advice on how "best" to setup a multi-location, multi-platform, multi-branch build.

2014-01-28 Thread stefan pantos
Hi, I have quite a complex scenario which I'm having difficulty in setting up. I've tried multiple different ways and have found issues in all of them and so I'm looking for some inspiration. I'll try my best to describe the situation and then describe how I thought it should be done. I hope

Re: How to set the the mandatory properties "sources" for Sonar in Jenkins

2014-01-28 Thread Maciej Jaros
As the error says: |Exception in thread "main" org.sonar.runner.RunnerException:*You must define mandatory properties: sources* at org.sonar.runner.Runner.checkMandatoryProperties(Runner.java:92) at org.sonar.runner.Runner.execute(Runner.java:75) at org.sonar.runn

Re: Build flow, workspace and aggregated results

2014-01-28 Thread nicolas de loof
build flow is an orchestration DSL, not a replacement for existing plugins (clone workspace, copy artifact, etc) so removal for workspace support. I don't understand what you try to aggregate using a shared workspace. Can you please add some details, with a typical execution chain ? 2014-01-28 Ra

Build flow, workspace and aggregated results

2014-01-28 Thread Raghu R
This is an old topic that has been discussed before in another context I'm trying to migrate from Teamcity to Jenkins. I've started using the build flow plugin to factor out and orchestrate build steps. A little context: I have multiple repos - Repo1, Repo2, Repo3... Each Repo contains a sing

RE: LTS 1.532.2 release date

2014-01-28 Thread James Nord (jnord)
That looks suspiciously like https://issues.jenkins-ci.org/browse/JENKINS-18895 Did this regress? /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: 28 January 2014 11:14 To: jenkinsci-users@googlegroups.com Subject: Re: L

Re: LTS 1.532.2 release date

2014-01-28 Thread Stephen Connolly
At least 13 threads blocked on <0x00070ee143b8> On 28 January 2014 11:09, Stephen Connolly wrote: > Looks like a deadlock/livelock/lock contention that then starves the > servlet thread pool... > > > On 28 January 2014 11:07, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > >>

Re: LTS 1.532.2 release date

2014-01-28 Thread Stephen Connolly
Looks like a deadlock/livelock/lock contention that then starves the servlet thread pool... On 28 January 2014 11:07, Stephen Connolly wrote: > Seems like a lot of these: > > "Handling GET /view/%C2%A7%20Radiators%20%C2%A7/view/-%20ci%20radiator%20-/ : > RequestHandlerThread[#464]" daemon prio=

Re: LTS 1.532.2 release date

2014-01-28 Thread Stephen Connolly
Seems like a lot of these: "Handling GET /view/%C2%A7%20Radiators%20%C2%A7/view/-%20ci%20radiator%20-/ : RequestHandlerThread[#464]" daemon prio=10 tid=0x7f79fc034000 nid=0x4e18 waiting for monitor entry [0x7f79262dd000] java.lang.Thread.State: BLOCKED (on object monitor) at je

Re: LTS 1.532.2 release date

2014-01-28 Thread Arnaud Héritier
No sign of OOME. My JVM is configured with Xmx = 4G Another day, another WSOD : https://gist.github.com/aheritier/8665709 On Mon, Jan 27, 2014 at 11:32 AM, Daniel Beck wrote: > > On 27.01.2014, at 03:33, Arnaud Héritier wrote: > > > My instance is again broken this morning with a With Screen o

Re: copyartifact plugin anamoly

2014-01-28 Thread Daniel Beck
Older versions of Jenkins used the exact name of the file you were uploading in Plugin Manager » Advanced (JENKINS-4543). So if you were e.g. experimenting a bit with different versions of that plugin, all from your Downloads folder (where that's the duplicate naming strategy), this got mirrored

copyartifact plugin anamoly

2014-01-28 Thread Maureen Barger
Hi - I was just restarting jenkins (running under tomcat) and was tailing catalina.out. I noticed this entry INFO: Ignoring /usr/local/jenkins/plugins/copyartifact(1).jpi because /usr/local/jenkins/plugins/copyartifact.jpi is already loaded INFO: Ignoring /usr/local/jenkins/plugins/copyartifact

Re: Need Helpl. Run Jenkins just by itself: java -jar jenkins.war (which uses Jetty) use JDBC Realm

2014-01-28 Thread Артур Игоревич Белоусов
вторник, 28 января 2014 г., 10:52:34 UTC+2 пользователь Daniel Beck написал: > > > On 28.01.2014, at 09:23, Артур Игоревич Белоусов > > > wrote: > > > limited functional Winstone servlet container > > Since 1.535, Jenkins uses Jetty. Which explains the error you get. > > > Expected a subype

Re: Jenkins and Gerrit integration questions - Gerrit-trigger plugin

2014-01-28 Thread Luca Milanesio
I saw a presentation at the JUC 2013 @Palo Alto of its usage in the OpenStack project: seems really interesting ! Luca. On 28 Jan 2014, at 08:46, Robert Ward wrote: > Regarding 2, a piece of software I came across awhile ago called zuul[1] > sounds like it might do what you want. I haven't go

Re: Need Helpl. Run Jenkins just by itself: java -jar jenkins.war (which uses Jetty) use JDBC Realm

2014-01-28 Thread Daniel Beck
On 28.01.2014, at 09:23, Артур Игоревич Белоусов wrote: > limited functional Winstone servlet container Since 1.535, Jenkins uses Jetty. Which explains the error you get. > Expected a subype of interface org.eclipse.jetty.security.LoginService but > got class com.external.winstone.realm.JDBC

Re: Jenkins and Gerrit integration questions - Gerrit-trigger plugin

2014-01-28 Thread Luca Milanesio
Hi JianHua, looping the Gerrit mailing list as people may have answers from there as well. >From knowledge of the plugin, the answers are: 1. Yes: just add the extra event to be monitored in the plugin. 2. No: you can trigger another build *after* the patch is merged but not before (unless you

Re: Need Helpl. Run Jenkins just by itself: java -jar jenkins.war (which uses Jetty) use JDBC Realm

2014-01-28 Thread Артур Игоревич Белоусов
понедельник, 27 января 2014 г., 15:37:27 UTC+2 пользователь Mandeville, Rob написал: > > I don't think that you can do what you're trying to do. > > When you run in standalone mode, you are using the Winstone server ( > winstone.sourceforge.net) as your servlet container. Winstone doesn't > a