Sandboxing builds to their workspace

2012-11-29 Thread Bjarke Freund-Hansen
Hi Is there some way to sandbox builds to their workspace, such that a build cannot modify or access any files outside of it's workspace? Perhaps using chroot or apparmor? Best Regards /Bjarke Freund-Hansen

Kicking off builds of the same ClearCase UCM project with different parameters

2012-11-29 Thread Ronan Mulvaney
Hi, When I kick off a build with a new baseline it works however when I try then and kick off another build of the same baseline with different parameters I get: [CCUCM] ClearCase UCM Plugin version 1.2.0 [CCUCM] Allow for slave polling: true [CCUCM] Poll for posted deliveries: false [CCUCM]

Email Ext plugin with parameterized booelans

2012-11-29 Thread mickeys
I have a quesiton regarding the email ext plugin. I have setup a groovy script where I would like to send out an email BEFORE a build starts with some diffrent values. For example I have four parameterized booleans: A B C and D and I would like to read out this from the groovy script that email e

losing build history in configuration matrix jobs

2012-11-29 Thread Michaël Serisier
Hi all, I have several jobs set to use a configuration matrix. Since I upgraded to 1.492, it looks like builds are lost after each Jenkins restart. This happens for some jobs only. I have already had problems loading the old builds in such jobs in the past (after the changes made to improve Je

Re: Sandboxing builds to their workspace

2012-11-29 Thread domi
use a slave (even if on the same server as the master) and connect with a user which has only permissions for the directories you want him to. /Domi On 29.11.2012, at 10:37, Bjarke Freund-Hansen wrote: > Hi > > Is there some way to sandbox builds to their workspace, such that a build > cannot

RE: Email Ext plugin with parameterized booelans

2012-11-29 Thread Alex Earl
In the groovy template you would need to get a variable resolved from the build instance, then you can resolve your parameters. Sent from my Windows Phone From: mickeys Sent: 11/29/2012 4:12 AM To: jenkinsci-users@googlegroups.com Subject: Email Ext plugin with parameterized booelans I have a ques

Re: Sandboxing builds to their workspace

2012-11-29 Thread Bjarke Freund-Hansen
I wan't to go a level further than that. I already are using slaves, that can only write to the home directory of the user the slave is running under. But two jobs can (potentially) write anywhere to the users home directory, and not only in their workspace. This can cause problems when two job

Build failes with android. The parameter is incorrect

2012-11-29 Thread Jesús Latorre
Hello, When I run a Jenkins task that launches android emulator through the " android emulator plugin" task fails. Until recently everything worked and I think android is installed correctly because when compiling projects with ant, they run without problems. The log appears is the next: [EnvI

Re: Build failes with android. The parameter is incorrect

2012-11-29 Thread Clemens
Hi Jesús, i found multiple answers in the Web, and the most published answer was the character length of the classpath. Not absolute sure about your problem, to less workaround information for me, but maybe this is a direction, you could have a look at, to solve your Problem. Look at this Blog

Re: Build failes with android. The parameter is incorrect

2012-11-29 Thread Jesús Latorre
Hi, Thanks for the reply, but I had already seen this solution and I don't think the problem comes from there because the address isn't very long and because previously worked without problems. Jesús Latorre El jueves, 29 de noviembre de 2012 15:34:19 UTC+1, Clemens escribió: > > Hi Jesús, > >

Access is denied. But it didn't used to be....

2012-11-29 Thread Brian Moffatt
Running Jenkins 1.482 on Windows 7. Everything working fine for several weeks. Several free-style build jobs running consistently without issue. Then a couple days ago, seemingly out of nowhere, they have all begun failing with an "Access is denied." at the point where Jenkins attempts to ru

matrix job aggregation

2012-11-29 Thread Chris Withers
Hi, What's the correct way to do aggregation in matrix jobs? I've configured the email ext plugin to send out emails, and I'd expect either: - one email from the whole multi-config job combining stuff from all the elements in the matrix - one email from each of the elements in the matrix i

Re: Access is denied. But it didn't used to be....

2012-11-29 Thread Brian Moffatt
One additional detail. In my actual build jobs, everything else seems to work. All of ClearCase intergration, sending of emails, etc. still executes successfully. It's just lost its ability to execute the batch file. On Thursday, November 29, 2012 9:16:04 AM UTC-6, Brian Moffatt wrote: > >

Re: Kicking off builds of the same ClearCase UCM project with different parameters

2012-11-29 Thread Ronan Mulvaney
Just to mention that the builds are being kicked off on different slaves from a single master.

Re: FTP publisher plugin appears to succeed, but files are not on the destination machine???

2012-11-29 Thread Steve K
I'll add to my own question-in case it might help someone see what I'm missing: :: NOTE: This is the file I'm attempting to ftp: C:\Jenkins\workspace\z_Try_FTP\Artifacts>dir /b BuildDependency.txt BuildDependency.txt :: Here's my interactive ftp session: C:\Jenkins\workspace\z_Try_FTP\Artifacts>

Moved a slave from a LAN to a WAN and now slave builds are unbearably slow

2012-11-29 Thread Collin Peters
Hi all, I have a master/slave on a LAN and the slave compiled just as fast as the master, 40 seconds for this one job (Java & Maven project). I want to move the slave to our colo so it is next to our production & staging servers. However, after moving the slave (it was a virtual machine so it

Re: FTP publisher plugin appears to succeed, but files are not on the destination machine???

2012-11-29 Thread Scott Evans
Steve, Are you sure your ftp session has write permissions on the target directory? Can you put files elsewhere on the target server (i.e. initial directory when you first initiate the ftp session)? Can you list other files in the target directory (either with an ls or dir command)? One other q

Use Environment Variable in ArtifactDeployer / Copy Artifact

2012-11-29 Thread bearrito
Should be pretty clear what I want to do. I want to use environment variables in the paths referenced by the Artifact plugins. Is this possible? If so what is the syntax?

Re: Use Environment Variable in ArtifactDeployer / Copy Artifact

2012-11-29 Thread bearrito
Nevermind. I was being dense. It is just - E:\JenkinsHome\userContent\$JOB_NAME\SomFolder On Thursday, November 29, 2012 1:50:27 PM UTC-5, bearrito wrote: > > Should be pretty clear what I want to do. > > I want to use environment variables in the paths referenced by the > Artifact plugins. > >

Anyway to force stop or delete a hung run?

2012-11-29 Thread cchen
When you have a build that is hung forever and is unable to be killed or stopped (such as builds that is hung on IO operations) via the stop button (red x button), is there any way to force stop or delete it? Will restarting the master stop it? anyway to stop it without restarting?

No such file or directory

2012-11-29 Thread bxiong
For some reason, I can't run any commands against a file on my project's workspace. I can't edit it or copy. Every time I try something, its just fails and says No such file or directory. I'm completely stumped. I've been trying to resolve this issue for a day now and going to here: https://iss

Repost - How to renumber an existing job build history and its related artifacts safely - quick question

2012-11-29 Thread Z W
Hi We like to renumber an existing job build history and its related artifacts safely. We notice that in Jenkins that there are several files referring to the build history in order to display the build history nicely on the Jenkins web app. eg in our job directory we have these files and director

RE: Repost - How to renumber an existing job build history and its related artifacts safely - quick question

2012-11-29 Thread William Soula
Checkout the Next Build Number Plugin https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin or the Version Number Plugin https://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin Will -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-user

Re: NullPointerException while trying to save job configuration

2012-11-29 Thread David Resnick
Yes, I do have the Build Failure Analyzer plugin installed. Thanks for pointing out the comment in the plugin wiki. I've opened JENKINS-15986for this problem. - David On Wednesday, November 28, 2012 11:47:28 PM UTC+2, Larry Shatzer, Jr. wro

Windows subst command

2012-11-29 Thread Frederick Jensen
I'm a Jenkin's newbie so don't beat me up too much although my last name is Jensen which some people mistake for Jenkins so I got that going for me. :) My Jenkins slaves are windows boxes. I have a Jenkins job that is using the DOS/Windows subst command to map a drive to a path: ie > subst Y:

RE: Windows subst command

2012-11-29 Thread Neerenberg, Aaron
Subst only takes effect for the process tree that issued the operation and below. -Aaron From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Frederick Jensen Sent: Thursday, November 29, 2012 1:31 PM To: jenkinsci-users@googlegroups.com Subject: Windows

Possible to change directory where Jenkins attempts to put its temporary batch file?

2012-11-29 Thread Brian Moffatt
Running Jenkins on Windows 7 as a service. The service is running as my account. For jobs that contain an "Execute Windows batch command" build step, Jenkins attempts something along the lines of the following: C:\Users\xxx\AppData\Local\Temp\hudson6510189398488661865.bat Is there a way

Possible to change the location where Jenkins attempts to put its temporary batch file?

2012-11-29 Thread Brian Moffatt
Running Jenkins on Windows 7 as a service. The service is running as my account. For jobs that contain an "Execute Windows batch command" build step, Jenkins attempts something along the lines of the following: $ cmd /c call C:\Users\xxx\AppData\Local\Temp\hudson6510189398488661865.bat

Jenkins installation fails on Ubuntu 12.4

2012-11-29 Thread Praveen
Hi folks, Is anyone running into this? thanks, Praveen rx# sudo dpkg -i jenkins_1.447.2_all.deb (Reading database ... 142159 files and directories currently installed.) Preparing to replace jenkins 1.447.2 (using jenkins_1.447.2_all.deb) ... Unpacking replacement jenkins ... Setting up je

How to renumber an existing job build history and its related artifacts safely - quick question

2012-11-29 Thread Z W
Hi We like to renumber an existing job build history and its related artifacts safely. We notice that in Jenkins that there are several files referring to the build history in order to display the build history nicely on the Jenkins web app. eg in our job directory we have these files and director

how to renumber and remove other artifacts that refers to the old histories on Hudson web app - quick question

2012-11-29 Thread zw
Hi We like to re-number the build number from scratch from the build history, to begin with #1 again But we also notice that there are quite a few places in Jenkins of a job that refer to these old histories of an existing job. eg lastSuccessful -> builds/2012-11-28_19-35-05 lastStable -> builds

[Solved] Re: login failure - j_acegi_security_check 404

2012-11-29 Thread sohelmk
Hi, I was facing the same issue on ubuntu as well as AIX, where I desperately needed it to work in production settings. I even tried tomcat and apache web servers, still the same issue. Finally changing the class loader as follows made it work in stand-alone mode: java -jar jenkins.war --httpPort=

Re: How to build a project for multiple mobile devices in a single job

2012-11-29 Thread Igor Grankov
Hey Roland, Could you be so kind to describe how did you perform Android build via PhoneGap? I have an svn repository contains www/ folder that including html+css+js. I just stared tp learn about and finished with first .apk version of my web project using Eclipse, but have no idea how I can autom

Deploy to nexus is not working in Jenkins but works from developer work station

2012-11-29 Thread Jerry MJ
I am experiencing a weird issue of deploy artifacts to nexus using Jenkins. When I do it from developer local machine, it works fine. I execute mvn install deploy:deploy When I configure the same job in Jenkins, it throws exceptions. Here is the stack trace. Anyone can help? [INFO] Using al

Re: IMMEDIATE NEED------Project Manager @ Philadelphia, PA

2012-11-29 Thread Andrew Melo
I'm very interested in this position On Thu, Nov 29, 2012 at 9:42 PM, Thomas Brown wrote: > Dear Associates, > Wishes for the Day !!! > We Need consultant for Project Manager > Please share suitable profiles to thomas.br...@panzersolutions.com > > > Job Title : Project Manager > Location : Phil

Translation plugin won't update

2012-11-29 Thread Tony P
Hi, The "Translation Assistance" plugin stubbornly refuses to update. I have my Jenkins master behind a firewall unable to get to the internet yet it continues to report the current version of the plugin is 1.10 and that I only have version 1.8 I have tried all manner and means including downl

Re: IMMEDIATE NEED------Project Manager @ Philadelphia, PA

2012-11-29 Thread Adolfo Rodriguez
looks like a consulting project for US government http://nces.ed.gov/programs/slds/index.asp > > De: Andrew Melo >Para: jenkinsci-users@googlegroups.com >Enviado: Viernes 30 de noviembre de 2012 1:56 >Asunto: Re: IMMEDIATE NEED--Project Manager @ Philade

Re: IMMEDIATE NEED------Project Manager @ Philadelphia, PA

2012-11-29 Thread Andrew Melo
That was easy enough, looks like there's a few more addresses to add to the blacklist. On Thu, Nov 29, 2012 at 11:38 PM, Adolfo Rodriguez wrote: > looks like a consulting project for US government > > http://nces.ed.gov/programs/slds/index.asp > > > > > De: Andrew

Jenkins SVN client with SVN server issue - quick questions

2012-11-29 Thread zw
Hi We found that our Jenkins is configured to use Subversion Workspace Version 1.6 (svn:externals to file) We also found that the SVN server is using SVN version Subversion 1.6.16 When running our build, we get the following errors: Svn : Sending changes from your working copy to the repository

What version is SVN client - quick question

2012-11-29 Thread zw
Hi How do we know what vendor of SVN client and its version is Jenkins or Hudson using ? Thanks

how to include Jenkins Build Number in Ant script - quick question

2012-11-29 Thread Z W
Hi We like to sync up Jenkins build number with our version.xml file. Is there a way to include Jenkins build number in our main ant script build.xml so that it would write to our version.xml ? Thanks

Re: how to include Jenkins Build Number in Ant script - quick question

2012-11-29 Thread Benjamin Lau
Take a look at XmlTask for Ant. You can then update your xml file using xpath. Ben [1] http://www.oopsconsultancy.com/software/xmltask/ On Thu, Nov 29, 2012 at 7:20 PM, Z W wrote: > Hi > > We like to sync up Jenkins build number with our version.xml file. > Is there a way to include Jenkins bui

Open visual studio command line for build

2012-11-29 Thread Vineet Hada
Hi, Is there a way in jenkins to run a build in visual studio command line rather then windows command line? Thanks & regards, Vineet

stale jenkins campfire plugin is 2.1, github latest is 2.5

2012-11-29 Thread Kevin G.
The version of the campfire notifier plugin you get using the jenkins UI package manager is 2.1, but the latest on the github project page is 2.5: https://github.com/jenkinsci/campfire-plugin There have been lots of nice improvements and bug fixes since 2.1, notably Brad Greenlee's SmartNotify

Re: Open visual studio command line for build

2012-11-29 Thread bearrito
Why would you ever want to do that? On Thursday, November 29, 2012 10:27:29 PM UTC-5, Vineet Hada wrote: > > Hi, > > Is there a way in jenkins to run a build in visual studio command line > rather then windows command line? > > Thanks & regards, > Vineet >

Git Clone Hang

2012-11-29 Thread bearrito
I've googled for this and seen lots of suggestions but no firm resolution. Checkout of a repo hangs at the following: Checkout:workspace / E:\JenkinsHome\jobs\S4\workspace - hudson.remoting.LocalChannel@1095693 Using strategy: Default Checkout:workspace / E:\JenkinsHome\jobs\S4\workspace - huds

Re: Moved a slave from a LAN to a WAN and now slave builds are unbearably slow

2012-11-29 Thread bearrito
Have you tried any benchmarks other than Jenkins. I would try to see if it is I/O, CPU or Memory bound. Me thinks you be I/O bound though. Just to be clear you don't have network traffic during the build just in copying files to be built? -b On Thursday, November 29, 2012 12:23:43 PM UTC-5, C

Re: jobs workspaces copied between Windows and Linux - quick question

2012-11-29 Thread zw
Hi Clemens Thanks for responding. Just to copy folders Just in case, one Jenkins dies and then have to use the other jenkins to reload the jobs and talk to slaves. So is copying the jobs folders the only folders needed ? On Thursday, November 22, 2012 2:36:09 AM UTC-8, Clemens wrote: > > Hi, >

Antwort: Re: how to include Jenkins Build Number in Ant script - quick question

2012-11-29 Thread Andreas Schilling
Hi, your case sounds like you simply need to pick up the environment variable in your ant script: Then you can use the following variables: https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables e.g. ${env.BUILD_NUMBER}

Re: Using the changeset of the ClearCase UCM plugin

2012-11-29 Thread Lars Kruse
Hi Marc ...sorry for the late reply - maybe you've already solved your issue? The change set is reported against the previous baseline - no matter what it's promotion level is. In your case, you have a stream where there are mixed promotion levels - some are BUILT others are REJECTED - consequen

Re: Open visual studio command line for build

2012-11-29 Thread Vineet Hada
Because there are some environment variables which are set while using vs command line and not available in windows command line. On Nov 30, 2012 5:10 AM, "bearrito" wrote: > Why would you ever want to do that? > > On Thursday, November 29, 2012 10:27:29 PM UTC-5, Vineet Hada wrote: >> >> Hi, >>

Re: Open visual studio command line for build

2012-11-29 Thread Benjamin Lau
I think you need to do something like what is mentioned in this stackoverflow post; http://stackoverflow.com/questions/762539/how-do-i-write-a-build-batch-script-that-runs-vcvars32-bat-and-then-continues-w You need to execute the vcvars32.bat script (and it's entirely possible that the name has ch