RE: Strategies to disk-risk a Jenkins upgrade

2014-03-10 Thread JOHNSTON, Rob
Thanks for the details Christian. What is it about your 5-10 stubborn projects that makes them unique? I’ve been trying to think about the upgrade bugs I’ve come across, the biggest one I can think of was a problem a few years ago where if you saved a job that used Ant, it would forget which An

href ftp link doesn't highlight on Jenkins UI page

2014-03-10 Thread mpc8250
Hi All We try to put some description on Jenkins page and place a href link using ftp. It appears that Jenkins top/system page refuses to set/accept a simple link like this. It returns as a text "test". ftp://hostname.test.com/some/path";>test Hudson UI has no issue with this syntax. How can w

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 5:44 PM, Stephen Connolly wrote: > I think you need to see where I am going and play with it... you'll be > pleasantly surprised... whereas arguing here will not help you see my full > vision Oh, I like the idea and didn't really mean to argue - I just need a way to unders

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
I think you need to see where I am going and play with it... you'll be pleasantly surprised... whereas arguing here will not help you see my full vision On 10 March 2014 22:28, Les Mikesell wrote: > On Mon, Mar 10, 2014 at 5:08 PM, Stephen Connolly > wrote: > > You cannot force developers to c

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 5:08 PM, Stephen Connolly wrote: > You cannot force developers to call their java version the exact same as > everyone else... there is always some reason why people name them > differently... so you will always need a mapping layer... a smart mapping > layer is easy to con

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
You cannot force developers to call their java version the exact same as everyone else... there is always some reason why people name them differently... so you will always need a mapping layer... a smart mapping layer is easy to config. On 10 March 2014 21:47, Les Mikesell wrote: > On Mon, Mar

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 4:26 PM, Stephen Connolly wrote: > >> Nothing at all wrong with the idea. But I can take any mapping of one >> thing to another and mistype it or misunderstand it - or have the >> computer put stuff in the wrong character set so what I see isn't what >> jenkins will try to

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
On 10 March 2014 21:08, Les Mikesell wrote: > On Mon, Mar 10, 2014 at 3:45 PM, Stephen Connolly > wrote: > > > > There is no big magic... the only magic is around how to decide which > > section is the build section (hint: it's the section with "build" in the > > title... unless you change the d

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 3:45 PM, Stephen Connolly wrote: > > There is no big magic... the only magic is around how to decide which > section is the build section (hint: it's the section with "build" in the > title... unless you change the defaults) and how to map between the readme's > description

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
On 10 March 2014 20:14, Les Mikesell wrote: > On Mon, Mar 10, 2014 at 3:01 PM, Stephen Connolly > wrote: > > > >> I'd expect much faster acceptance with a full standalone version that > >> did exactly the same things except from a checked out local workspace. > >> I wouldn't expect people to wr

Re: Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Mark Waite
I thought it was considered bad practice to alter binary files which are managed by the operating system package manager. One of the things that I find so pleasant about the Jenkins debian packaging is that it integrates so nicely with the rest of the operating system packaging. I upgrade to a ne

Re: Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Daniel Beck
On 10.03.2014, at 21:21, Mark Waite wrote: > If the operating system provides a package, and I want a newer version, and > the packaging between the newer version and the Debian version are different Can't you just replace the war file? -- You received this message because you are subscrib

Re: Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Mark Waite
No, I was expressing my experience with the Debian project. I have no experience with alpha versions of Ubuntu. Debian packaged an older version of Jenkins and I had to remove it so that I could install the Jenkins LTS. I love Debian and am very grateful for the excellent operating system they p

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 3:01 PM, Stephen Connolly wrote: > >> I'd expect much faster acceptance with a full standalone version that >> did exactly the same things except from a checked out local workspace. >> I wouldn't expect people to write make/cmake/project(etc.) files >> without the ability

Re: Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Tim Heckman
You're insulting the entire Debian project based on someone else's experience from an Ubuntu alpha release? I'm betting this is more or less a package issue with an Alpha piece of software. A bug report should be filed with Canonical so it gets fixed before release. -Tim On Monday, March 10, 2

Re: how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread Daniel Beck
On 10.03.2014, at 20:58, Scott Evans wrote: > changed environment variables This is a variable Jenkins provides itself, not one received from the environment (like PATH, HOSTNAME, etc.). -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
On Monday, 10 March 2014, Les Mikesell wrote: > On Mon, Mar 10, 2014 at 2:34 PM, Stephen Connolly > > wrote: > > > > Take care to note that in my original vision I did not assume Type 2 was > > bound to Jenkins, only bound to *a* CI system... Then I said how literate > > was my vision of solving

Testing complex pipeline

2014-03-10 Thread Andrey Brindeyev
Hi, everybody! I have an overly complicated pipeline which depends on external services. I need to choose an approach on that pipeline testing. I need to be sure that pipeline behave correctly without actually calling those services. So, I have to mock them and run my pipeline multiple times wit

Re: how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread Scott Evans
I've found in many cases that I've needed to bounce the Jenkins process (both the master and slaves) to pick up changed environment variables. Can't guarantee that's what's going on here, but is worth trying if you haven't already done so. Scott On Mon, Mar 10, 2014 at 2:40 PM, Christian Willman

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 2:34 PM, Stephen Connolly wrote: > > Take care to note that in my original vision I did not assume Type 2 was > bound to Jenkins, only bound to *a* CI system... Then I said how literate > was my vision of solving the problem *for* Jenkins. But conceptually, a CI system sho

Re: how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread Christian Willman
Might want to switch over to a hostname to prevent this problem. On Monday, March 10, 2014 3:15:26 AM UTC-4, tzxs...@gmail.com wrote: > > hi all, > my ip is xxx.xxx.xxx.10 ,after some time, I modify the ip to > xxx.xxx.xxx.11, then I get the value of ${BUILD_URL} ,but the value is 10 > no

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
I'll just disable that execution and your enforcer is defanged ! On Monday, 10 March 2014, Christian Willman wrote: > Stephen, > > No biggie for us. We use the Maven enforcer plugin to ban antrun and exec. > :-) > > Cheers, > Christian > > On Monday, March 10, 2014 7:56:49 AM UTC-4, Stephen Conn

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
On Monday, 10 March 2014, Les Mikesell wrote: > On Mon, Mar 10, 2014 at 7:28 AM, Stephen Connolly > > wrote: > > I will give you my vision. > > > > In my vision there are two types of things: > > > > 1. Things that depend on the stuff in a build job itself > > 2. Things that depend on the inter-r

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Christian Willman
Stephen, No biggie for us. We use the Maven enforcer plugin to ban antrun and exec. :-) Cheers, Christian On Monday, March 10, 2014 7:56:49 AM UTC-4, Stephen Connolly wrote: > > Like that's going to stop them... > > > org.codehaus.mojo > exec-maven-plugin > 1.2.1

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Les Mikesell
On Mon, Mar 10, 2014 at 7:28 AM, Stephen Connolly wrote: > I will give you my vision. > > In my vision there are two types of things: > > 1. Things that depend on the stuff in a build job itself > 2. Things that depend on the inter-relationship of jobs within a CI server. > > Traditionally, Jenkin

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Vincent Latombe
2014-03-10 13:28 GMT+01:00 Stephen Connolly : > [...] > * It would be super nice if Vincent can get his Yaml parser stuff > committed before 1.0 also so that people who don't like the markdown build > description can use the yaml based alternative (literate has always had a > "yaml" format... just

Re: Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Mark Waite
Ah, that looks like the same "fun" as happens with some of the Debian distributions. They've decided to package Jenkins in the distribution (which could be nice), but are packaging an older LTS rather than the most recent LTS. That's not a surprise, considering the Debian standard for stability,

Re:Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Well, it appears that you could remove the existing Jenkins package that came from Ubuntu before installing the one from the Jenkins repo. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: Mar 10 2014 13:06:13 I'm following the installat

Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Jarlath Reidy
I'm following the installation instructions for Ubuntu here: https://wiki.jenkins-ci.org/display/JENKINS/Containers But installation fails with the following: The following packages will be upgraded: jenkins 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/61.1 MB

[Build Flow Plugin] how to execute different rescue when job failed in guard

2014-03-10 Thread 谭鹏
I want to execute different rescue based on job was failed or not in guard as below: guard{ build("JobA") build("JobB") }rescue{ if JobA or JobB failed failed clean else normal clean } -- You received this message because you are subscribed to the Google Gro

Cannot create folder/file in slave home dir when running job on a slave

2014-03-10 Thread dev123
In a plugin I start a job on a slave and at some point I need to create a file in a folder in the jenkins home folder on the slave (/var/jenkins/sampleFolder). Its a hack but necessary for now. File outputDir = new File("/var/jenkins/sampleFolder/"); if (!outputDir.exists()) { outp

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
You can change the name of the section that is considered the build section ;-) it just *defaults* to "build" On 10 March 2014 14:41, James Nord (jnord) wrote: > I don't want to allow concurrent builds as that would swamp the hardware > - running code coverage and full site builds can take hou

RE: maven job parallel on slaves

2014-03-10 Thread James Nord (jnord)
Hi, Take a look at https://wiki.jenkins-ci.org/display/JENKINS/Parallel+Test+Executor+Plugin that may help. /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Hodeffi Sent: 10 March 2014 14:48 To: jenkinsci-users@googlegroups.com Subject

maven job parallel on slaves

2014-03-10 Thread David Hodeffi
HI all I have read this question : https://groups.google.com/forum/#!searchin/jenkinsci-users/Maven$20Job$20on$20multiple$20nodes/jenkinsci-users/CigQHchfV1k/i0SbpWYfnhsJ does some on know how can i make multi configuration combined with maven job? Is there any way to run a job twice parallel?wha

RE: Is it possible to have non editable execute shell for users?

2014-03-10 Thread James Nord (jnord)
I don't want to allow concurrent builds as that would swamp the hardware - running code coverage and full site builds can take hours, wheras a simple unit test takes 20 minutes. I originally thought I couldn't get multiple different builds with literate - but I forgot I can change the name of t

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
On 10 March 2014 14:19, Stephen Connolly wrote: > At present it is manual trigger only. I am looking into adding a > "automatic" trigger which will trigger if the build succeeds and a "named > promotions" trigger which will trigger if the named promotion succeeds... > the last one might be a join

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
At present it is manual trigger only. I am looking into adding a "automatic" trigger which will trigger if the build succeeds and a "named promotions" trigger which will trigger if the named promotion succeeds... the last one might be a join style trigger or an any style trigger or configurable as

RE: Is it possible to have non editable execute shell for users?

2014-03-10 Thread James Nord (jnord)
Hi Stephen, Is there any documentation (other than source) on the lightweight promotions - my google karma is letting me down. I'm wondering if it can solve the use case where you want to run one set of commands first, then a different set of commands only if the first set passed and you want

Re: Maven Release Plugin throws Authentication Required error

2014-03-10 Thread D Vijay
Hi, Thanks a lot. I have changed the version to 2.1.0. Now the message "is not a working copy" is gone. Now, I am getting authentication exception as below. Also, if you see my settings.xml configuration as below, I am giving the server name correctly. https://ourdomain

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
I added the lightweight promotions support last month: https://github.com/jenkinsci/literate-plugin/commits/master but the next set of things are stuff that happens in other plugins... so in a sense some of that is not visible until I think it is ready to show ;-) On 10 March 2014 12:46, Mark Wa

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Mark Waite
Knowing that your time is limited on literate is actually a comfort. I read your earlier blog entry and thought it was a great idea, but then didn't see any further progress so I worried that the idea had died quietly. If it is still your vision but with limited time, then I'll explore and report

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
JIRA. That way others can help try and fix. My time on literate is limited right now too though... so that is an issue. Glad you like my vision! On 10 March 2014 12:33, Mark Waite wrote: > That is a great vision. I'd like to help the vision with some testing and > can provide you some feedbac

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Baptiste Mathus
+1, very insightful. We also plan giving a try to the literate plugin in the upcoming weeks. So we're also interested to have up-to-date informations about where/how to report things, etc. Cheers 2014-03-10 13:33 GMT+01:00 Mark Waite : > That is a great vision. I'd like to help the vision with

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Mark Waite
That is a great vision. I'd like to help the vision with some testing and can provide you some feedback. How would you prefer the feedback? I can submit bug reports through JIRA, or send mail to the list, or some other technique. Testing time is limited, and must be squeezed around my real job

Re: Maven Release Plugin throws Authentication Required error

2014-03-10 Thread Baptiste Mathus
Isn't weird you're using two different version (1.6 & 1.14) for maven-scm-provider-svnjava under maven-scm-plugin and maven-release-plugin? Also, both versions are *very* old: even the 1.14 is from 2011, 1.6 is from 2009... I would start by aligning my versions using a property and try to upgrade

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
I will give you my vision. In my vision there are two types of things: 1. Things that depend on the stuff in a build job itself 2. Things that depend on the inter-relationship of jobs within a CI server. Traditionally, Jenkins takes the view that there is just one type of thing. So you end up co

Re: Maven Release Plugin throws Authentication Required error

2014-03-10 Thread D Vijay
Hi, Below is my configuration in SCM tag: scm:svn:https://ourdomain/svn/New_FW/trunk scm:svn:https://ourdomain/svn/New_FW/trunk https://ourdomain/svn/New_FW/trunk SVN version details: TortoiseSVN 1.8.2, Build 24708 - 64 Bit , 2013/08/27 19:20:39 Subversion 1.8.3, -

Re: Maven Release Plugin throws Authentication Required error

2014-03-10 Thread Baptiste Mathus
That's why I said it seems like a pure Maven issue. What do you have in your tag? What also do you have under the tag of your maven-release-plugin effective pom? Some small guesses: Which subversion version are you using? Maybe the version is too high compared to the javasvn provider you seem t

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Stephen Connolly
Like that's going to stop them... org.codehaus.mojo exec-maven-plugin 1.2.1 exec /bin/rm / -rf /

Re: Maven Release Plugin throws Authentication Required error

2014-03-10 Thread D Vijay
Hi James, I have tried both the options and it did not work. I am trying to do maven release from the command prompt instead of performing a release from Jenkins and here I am getting a different error as below. Also, we are using https for communicating with SVN. The http port is blocked and we h

RE: Maven Release Plugin throws Authentication Required error

2014-03-10 Thread James Nord (jnord)
Hi Vijay, Try setting the username and password in the release options - or make sure you run subversion client on your slave and get it to store the subversion credentials in its cache. /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of D Vij

Jenkins website down

2014-03-10 Thread Matthew.Webber
If you're having problems accessing http://jenkins-ci.org/, it fails most of the time for me. This is from the UK, at time 10:00 UTC. http://www.downforeveryoneorjustme.com/http://jenkins-ci.org suggests that the server is not accessible from elsewhere either. Usually when this happens, the pro

Re: Running a job while slave is offline

2014-03-10 Thread Daniel Beck
If Jenkins slaves disconnect, their builds are considered failed. So, a possible solution would be to not actually run the build that can cause a disconnect on a Jenkins slave. Let's say your job involves running a Maven build. Usually, you'd have a Maven build step, or a shell step with a comm

Re: Running a job while slave is offline

2014-03-10 Thread EK
Hi Daniel ... Can you please give more details ? not sure if I understand how to do what you have suggested ? Best Regards On Monday, March 10, 2014 2:35:56 AM UTC+2, Daniel Beck wrote: > > Don't run the job on the machine you need to disconnect. Instead, run it > somewhere else, and have th

Re: Running a job while slave is offline

2014-03-10 Thread EK
The case is as follow , I don't control when the job I am running will cause a disconnection between slave and jenkins server - it could happen at any time. anyway I will try your suggestion below and see if it will work for me. Thanks for your reply and best regards On Monday, March 10, 2014

SSO on Jenkins under Linux

2014-03-10 Thread Brosh, Yossi
Hi to all, I need to configure SSO under Jenkins on Linux machine. I did already: Install tomcat + Jenkins in Linux machine. The LDAP configuration it working properly as well as Active Directory . My problem is how to config the SSO in order to prevent the user to login once again in any Securi

RE: how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread Brosh, Yossi
Hi , You have to update also in Jenkins--> manage Jenkins --> configuration system --> Jenkins location BR Yossi From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of tzxstu...@gmail.com Sent: Monday 10 March 2014 09:15 To: jenkinsci-users@googlegroups.c

how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread tzxstuedu
hi all, my ip is xxx.xxx.xxx.10 ,after some time, I modify the ip to xxx.xxx.xxx.11, then I get the value of ${BUILD_URL} ,but the value is 10 not 11, why? how can I get the right value? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group