How to restrict user from viewing a particular view?

2012-11-21 Thread Bharathi Ramalingam
Hi All, I would like to restrict a set of users from viewing a particular view I added with some set of jobs. Is there any plugin to do the same or Jenkins has any built-in capability to acheive it? Thanks,

How to create a new page view.

2012-11-21 Thread Bharathi Ramalingam
Hi All, I am developing a plugin where I want to display Job statistics when clicked on the Job link. My question is how can i define a URL and bind it to the page view. Really appreciate any clues or help. Thanks,

Re: Distributed "server", not just agents?

2012-11-21 Thread Les Mikesell
On Wed, Nov 21, 2012 at 12:50 PM, Nathan Neulinger wrote: > > Southern: > Project 1, builds, and repositories > Periodically sync over builds to California site for product testing > > Western: > Project 2,3,4,5,6, builds, and repositories > > Asia: > Currently makes use of build output fr

Re: failure build of jenkins job [ERROR: Failed to create /var/lib/jenkins/.m2]

2012-11-21 Thread Gábor Garami
I guess your Jenkins running under user named 'jenkins' and this user's home is located there. IIRC there is a env var to specify maven's homedir... Garami Gábor gabor.gar...@hron.me Skype: hron84 Tel: +36 20 235 9621 Sent from my T-Mobile G2 Ezt a levelet telefonról adták fel, ékezethibákat tart

Re: why no uninstall option for unused plugin

2012-11-21 Thread Gábor Garami
These plugins coming from jenkins core itself, so no way to uninstall them (and it does not make sense). Garami Gábor gabor.gar...@hron.me Skype: hron84 Tel: +36 20 235 9621 Sent from my T-Mobile G2 Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat. 2012.11.21. 20:20, "Martin d'Anjou

Are there any known limitations on Passwords Jenkins will/can support?

2012-11-21 Thread Merrow, Frank
We have a large number of Jenkins and use "Python Jenkins" to make administering them easier . . . It was all great . . . it was all working . . . then . . . IT forced me to change the service account password. Now with the SAME ACCOUNT (but of course a new password) those same scripts don't w

Re: uninstallation pending message

2012-11-21 Thread Larry Shatzer, Jr.
It is waiting for you to restart Jenkins. -- Larry On Sun, Nov 18, 2012 at 6:43 PM, Martin d'Anjou wrote: > Hi, > > Anyone knows what to do about the message "uninstallation pending" in the > plugin manager after you attempt to uninstall a plugin? > > > > > > Thanks, > Martin > > <>

Re: Grails: Plugin Perform Maven Release

2012-11-21 Thread Larry Shatzer, Jr.
If you are using the Maven integration for Grails, it should be the same, but if you are using the Grails plugin, the only thing you can do is use the standard Release plugin to script it yourself. It's what I did, along with some script code inside a shared plugin across projects that takes care o

Re: Query about running different job steps on different slaves

2012-11-21 Thread Jerry
In addition to Jason's suggestion, you might be able to use the Join Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Join+Plugin) to achieve what you want. StartingJob triggers Slave1Job and Slave2Job, then runs FinishingJob when both are complete. -- Jerry On Wednesday, November 21, 201

Fwd: a lot of jobs

2012-11-21 Thread J Arrizza
It does look similar. However, the parameters it handles ( e.g blockBuildWhenDownstreamBuilding) are part of the default Jenkins behavior. At some point, they will also have to add external plugin support. This is where the bigger problem is waiting for them. If they can find a very simple, very el

Re: Distributed builds - quick question

2012-11-21 Thread Jerry
Hi, zw. Correct on both counts. If you are not doing builds on the master, then you only need enough RAM and other resources to run the Jenkins server, which is pretty minimal. 8GB should be more than adequate. -- Jerry On Wednesday, November 21, 2012 12:52:41 PM UTC-5, zw wrote: > > Hi All >

Questions about Jenkins - Master and Slave

2012-11-21 Thread Doron Shai
I have a Question about the Copy to Slave Plugin I have Jenkins installed on a Windows Server (Master) and I have few shell scripts that I want to execute on another Linux Server (defined as Slave). These scripts have to run on the code that I sync to the Master Jenkins server, and therefore I

uninstallation pending message

2012-11-21 Thread Martin d'Anjou
Hi, Anyone knows what to do about the message "uninstallation pending" in the plugin manager after you attempt to uninstall a plugin? Thanks, Martin <>

failure build of jenkins job [ERROR: Failed to create /var/lib/jenkins/.m2]

2012-11-21 Thread @tiyou
Hi all, I'm tired to make a build of some job from svn repository, the checkout work's fine but the build fails ! My JENKINS_HOME="/pic/dev/jenkins/vcur/var/lib/jenkins" So why is jenkins trying to create .m2 folder in /var/lib/jenkins instead of /pic/dev/jenkins/vcur/var/lib/jenkins/.m2 ?? C

BuildNumber with groovy and api path ends in authentication required

2012-11-21 Thread Sven Finsterwalder
Hello, i try that script in the script-console: import jenkins.* import jenkins.model.* import hudson.model.* import org.apache.commons.httpclient.* import org.apache.commons.httpclient.auth.* import org.apache.commons.httpclient.methods.* def username = "username" def apiToken = "token" def clie

Perform Maven Release without Specify SCM login/password

2012-11-21 Thread rportix
Hi I'm using the plugin Perform Maven Release without Specify SCM login/password, but I've introduced the username a d password with the servlet: hudson/scm/SubversionSCM/enterCredential. I received the error: Provider message: The svn command failed. Command output: svn: Commit failed (details

Grails: Plugin Perform Maven Release

2012-11-21 Thread rportix
Hi, We have a Grails job, and we need the same functionality that M2 Release Plugin for Grails. Dou you know about this? Thanks in advance -- View this message in context: http://jenkins.361315.n4.nabble.com/Grails-Plugin-Perform-Maven-Release-tp4646810.html Sent from the Jenkins users maili

why no uninstall option for unused plugin

2012-11-21 Thread Martin d'Anjou
Hello, Do you know why there is no uninstall button for some of the unused plugins? For example, the External Monitor Job Plugin has not uninstall option: Thanks, Martin <>

Need help to perform a Maven release with Jenkins and Gitorious

2012-11-21 Thread lacribeir...@gmail.com
Hi everyone, I need your help to solve a problem that I have when performing a Maven Release in our new server with Gitorious. When we where in the old server it was working fine, but now that we change to a new server (a vm in amazon cloud) the release isn't working. I can pull, commit or push fro

Re: Maven RedeployPublisher gets wrong user.home

2012-11-21 Thread atiyou
Hi Maxim, Have you resolve the problem with jenkins build ? I have the same ERROR: Failed to create /var/lib/jenkins/.m2 my JENKINS_HOME="/pic/dev/jenkins/vcur/var/lib/jenkins" So i don't know why he try to creatre .m2 folder into /var/lib/jenkins/ instead of /pic/dev/jenkins/vcur/var/lib/jenk

Distributed "server", not just agents?

2012-11-21 Thread Nathan Neulinger
Are there any best practice/tutorial/idea documents for using jenkins in a distributed fashion - not for distributed builds, but rather for distributed sites. In my case, I've got multiple physical locations, separated by slow(er) links. Their is some overlap between sites, but less frequent up

Retrieve server configuration via http

2012-11-21 Thread Don McNamara
Is there a way to retrieve the jenkins server configuration (config.xml) via http? I can get job configuration no problem via the url: http://[servername]/job/[jobname]/config.xml http://[servername]/config.xml returns some data, but nothing that seems useful and definitely not the full confi

RE: a lot of jobs

2012-11-21 Thread William Soula
What you describe sounds very similar to the jenkins-job-builder project from openstack: https://github.com/openstack-ci/jenkins-job-builder Will From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of J Arrizza [cppge...@gmail.com]

Distributed builds - quick question

2012-11-21 Thread Z W
Hi All New users here. We like to create a distributed build architecture, with 1 master and 3 slaves (all linux boxes) 1 - From what we understand thus far, when jobs are kicked off from the master, we suppose the builds are checkout to the slaves and builds are run on the slaves. Is that correct

Jenkins Executor environment variable set incorrectly?

2012-11-21 Thread David Weintraub
I have an Ivy project, and as part of the build, I do a cleancache each time. This makes builds a few seconds longer, but makes sure that I don't have any jar problems. Since I do multiple builds at the same time, I have to make sure each executor is using a different Ivy cache. I do this with

jobs workspaces copied between Windows and Linux - quick question

2012-11-21 Thread Z W
Hi All Is it possible to copy jobs and workspaces configured on Windows to Linux Jenkins/Hudson workspaces directories without issues or side effects ? Thanks

Re: How to tag Jobs for grouping in Dashboard

2012-11-21 Thread Marco Ambu
Is the filter by regular expression not enough? This is built in in Jenkins and filters which projects are shown in each view. The procedure is the same as for a normal jenkins view. On 20 November 2012 04:41, indiws wrote: > Thanks Larry for the heads up. > I found a way to accomplish what i r

Re: Query about running different job steps on different slaves

2012-11-21 Thread Jason Swager
As far as I know, there is no plugin that lets you run individual build steps on a different slave than the one that job originally started on. But there ways to mimic this behavior. We do something like this in our own tests. One job starts up; it has a parameter that indicates another slave

Query about running different job steps on different slaves

2012-11-21 Thread alok kumar
Hi, Can anyone let me know if it is possible to execute different build steps on different slaves from within a single job? Is there any plugin that supports that? If not, what can be the workaround to achieve the same? Any help would be greatly appreciated. Thanks, Alok

Jenkins Job name effects maven build

2012-11-21 Thread DeliveryNinja
Hi, I have a problem with Jenkins where I cannot use a specific name for a build job. This error is driving me crazy. The name I'm using is cf-corpxml-exp-qa-build-jar, when I run the build I get the following error Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-cl

FYI: Jenkins Security Advisory 2012-11-20

2012-11-21 Thread Lars Nordin
I got e-mail of this via cloudbees but wanted to make sure that list members were also aware (I didn't see one): http://www.cloudbees.com/jenkins-advisory/jenkins-security-advisory-2012-11-20.cb Excerpt from security announcement link above: Severity: CloudBees rates these vulnerabilities as high

need help groovy script getBuildnumber

2012-11-21 Thread Sven Finsterwalder
Hello, i hope some one can help me. I have this groovy script: import jenkins.* import jenkins.model.* import hudson.model.* import org.apache.commons.httpclient.* import org.apache.commons.httpclient.auth.* import org.apache.commons.httpclient.methods.* def username = "name" def apiToken = "toke

Antwort: Re: Re: GetBuildnumber of started downstrem Job groovy

2012-11-21 Thread Andreas Schilling
hi Sven, there you go: http://YOURSERVER/job/$ {buildName}/api/xml?xpath=/*/nextBuildNumber" dest="buildNumber.xml" /> To make this work you need to insert the correct URL of your Jenkins instance and the job name you want to get the build number fr

Re: Re: GetBuildnumber of started downstrem Job groovy

2012-11-21 Thread Sven Finsterwalder
Hi Andreas, yes please give me the snippet. I will try it. Thanks. Am Mittwoch, 21. November 2012 08:48:52 UTC+1 schrieb Andreas Schilling: > > Sven, > > as far as I understood the point is that the order of job > execution/triggering is important because the build number you want to have > c

Re: Developing a Jenkins plugin?

2012-11-21 Thread jserup
Thanks! -- View this message in context: http://jenkins.361315.n4.nabble.com/Developing-a-Jenkins-plugin-tp4646762p4646790.html Sent from the Jenkins users mailing list archive at Nabble.com.

Re: How to create custom table layout

2012-11-21 Thread clem
Hey Bharathi, im not sure what exactly your needs are, but have a look at this Plugin. https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View (Maybe this will help you for your developing) Im also using .jelly Files including HTML Tags, or creating HTML Elements like tables, so it is possibl

Should my Jenkins user be a normal one with GUI?

2012-11-21 Thread frankgarcia
My current Jenkins installation runs in the background with a user that has no shell and no GUI So far that is the normal setup I have read around. However my latest unit tests for drag/drop operations are failing because such user does not have a running pasteboard service. I am still trying t