Pipeline: connection is not authenticated

2016-06-28 Thread Sverre Moe
Our git remote server is Gitolite and is has the public key of all the users git clone ssh://g...@git.company.com/project.git This has worked in Jenkins for standard project types, FreeStyle, Maven, Multiconfiguration. The user jenkins Now using Pipeline, it fails to authenticate indexing the add

Re: Cloning workflowLibs.git with ssh

2016-06-28 Thread Sverre Moe
Yes, that worked. Thanks. onsdag 29. juni 2016 00.14.07 UTC+2 skrev Kohsuke Kawaguchi følgende: > > You should use your user name on Jenkins. You'll also need to register > your public key on Jenkins. See http://LOCATION/me/configure > > On Tue, Jun 28, 2016 at 3:27 AM Sverre Moe > wrote: > >> >

Re: How to break a pipeline manually?

2016-06-28 Thread Michael Neale
If return is called from the "top level" of a script (ie not inside a function) then it should return early. eg: node { echo "42" if (42 == 42) { currentBuild.result = 'UNSTABLE' return } echo "43" } This will exit early and never print "43". On Wednesday, June 29, 201

Re: Error While trying to configure S3 plugin

2016-06-28 Thread Baptiste Mathus
For reference it was done two days ago: [maven-release-plugin] prepare release s3-0.10.5.1 Le 26 juin 2016 11:38 AM, "Thomas Zoratto" a écrit : I don’t know, in a few days maybe if I look at the release history Of course you can patch it on your own and install your custom version on your server

How to override Maven home directory on Jenkins slave?

2016-06-28 Thread praveen
Trying to override Jenkins master maven configuration on on-demand Jenkins slave created using ec2 plugin . As We are using different maven versions of Maven, So I need to override the global configuration with Slave node configu

Re: How to break a pipeline manually?

2016-06-28 Thread Lionel Orellana
>From what I've tried simply returning doesn't stop the execution of the script. If you throw an exception the result seems to always be FAILURE. I would like to know if there is a way to stop execution but leave the result as say UNSTABLE. On Monday, 30 May 2016 18:38:41 UTC+10, Michael Nea

Re: Pipeline - Second JUnitResultArchiver step doesn't mark build UNSTABLE

2016-06-28 Thread Lionel Orellana
Had something to do with having the same surefire suite name in both calls. Hints came from comments in method add(SuiteResult sr) in TestResult.java . I changed the suite name in the second

Pipeline - Second JUnitResultArchiver step doesn't mark build UNSTABLE

2016-06-28 Thread Lionel Orellana
Hello, I have to make two different maven invocations to build my app and run some tests. This is all within the same node/stage at the moment. 1) sh "${global.mvnCmd} -Dmaven.test.failure.ignore clean install " archive '**/*.ear, **/pom.xml' step([$class: 'JUnitResultArchiver', tes

Re: Multiple pipelines in Jenkinsfile

2016-06-28 Thread Michael Neale
If by same DSL, you mean the pipeline script (DSL) - yes, you can do stand alone pipeline jobs, that aren't tied to any specific repo (and aren't multibranch aware). They can be triggered via various means, take parameters etc. But I may be misunderstanding the question. Another pattern I hav

Re: Git fetch intermittently fails

2016-06-28 Thread Jérémie Faucher-Goulet
Hi Mark, Thanks for taking time answering, What do you mean by "git server" and "git as a server"? We currently use (and clone via HTTPS) from a private installation of scm-manager version 1.41. But I don't think the "git server" is at cause since only Jenkins exp

Re: Cloning workflowLibs.git with ssh

2016-06-28 Thread Kohsuke Kawaguchi
You should use your user name on Jenkins. You'll also need to register your public key on Jenkins. See http://LOCATION/me/configure On Tue, Jun 28, 2016 at 3:27 AM Sverre Moe wrote: > >- ssh://USERNAME@server:PORT/workflowLibs.git through Jenkins SSH >

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-28 Thread praveen
@Mark. It's the issue with the permission. Thank you so much for your help. ~Regards Praveen On Thursday, June 23, 2016 at 3:14:20 PM UTC-7, praveen wrote: > > Configured automatic slaves for couple jobs on Jenkins using ec2 plugin >

Re: Git fetch intermittently fails

2016-06-28 Thread Mark Waite
Are you trying to clone a huge repo with JGit on the git server? If so, you might try cloning the same repo with command line git on the server. I don't recognize "Finding sources" or "Getting sizes" as common messages from command line git as a server. Mark Waite On Thursday, June 16, 2016 a

Re: Multiple pipelines in Jenkinsfile

2016-06-28 Thread Patrick Wolf
Alex, Do you multiple jobs for every branch in the repo? A different Jenkinsfile for each job type? There are a couple of options that I can think of: 1. You can use the env.BRANCH_NAME to determine what steps happen in the Pipeline. 2. You could use the commit message on the branch to determine

Re: Multiple pipelines in Jenkinsfile

2016-06-28 Thread Alex Ehlke
We've been interested in having multiple "pipelines" per repo primarily for operational tasks that are independent of delivery. A couple examples: daily logical backups; some jobs that are manually triggered to manage production services in the event of an outage. If it's the case that Jenkinsf

Re: AccuRev SCM Plugin crashes on Save or Apply

2016-06-28 Thread Jim Gorski
Daniel - you are the level best. Next time I'll do a better job searching the open issues before posting. Thank you! Jim G. On Tuesday, June 28, 2016 at 10:59:30 AM UTC-4, Daniel Beck wrote: > > > > On 28.06.2016, at 14:38, Jim Gorski > > wrote: > > > > I see in the changelog that work was d

Jenkins Master Slave migration from one box to another

2016-06-28 Thread Kaushal Shriyan
Hi, I have currently Jenkins Master Slave setup (Jenkins ver. 1.641.) I have a new server and have installed the latest Jenkins ver. 1.651.3. I have https://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin Job Import Plugin to migrate all the jobs from the old server to the new server. I

Re: email-ext-plugin doesn't translate any variable!!!!

2016-06-28 Thread Slide
No, you used JELLY_SCRIPT, which only works if you are using Jelly templates. The code you showed looked like groovy. If you look at my last reply, I said use SCRIPT, not JELLY_SCRIPT. On Tue, Jun 28, 2016 at 8:58 AM Antonio Hernandez wrote: > Hi Slide, > I really appreciate your help but i alre

Re: email-ext-plugin doesn't translate any variable!!!!

2016-06-28 Thread Antonio Hernandez
Hi Slide, I really appreciate your help but i already did everything except the config file provider... Is it must be the problem with the variables? Thanks aga

Re: Unable to update the Jenkins plugin page

2016-06-28 Thread R. Tyler Croy
(replies inline) On Mon, 27 Jun 2016, R Lakshmi Prasad wrote: > As there are not plugins listed in the Available plugins page, I tried to > update in the advanced settings, and this is the error I am getting > > URL: https://jenkins.myweb.com/pluginManager/checkUpdatesServer We had some inter

Re: AccuRev SCM Plugin crashes on Save or Apply

2016-06-28 Thread Daniel Beck
> On 28.06.2016, at 14:38, Jim Gorski wrote: > > I see in the changelog that work was done in this area recently. This issue is tracked as https://issues.jenkins-ci.org/browse/JENKINS-35906 > Does anyone have any suggestions on how to proceed? Downgrade to 2.8 or earlier. Or restore from back

Re: email-ext-plugin doesn't translate any variable!!!!

2016-06-28 Thread Slide
You would need to either install the config file provider plugin and create a new Email Ext Groovy Template, or put the template on the file system in JENKINS_HOME/email-templates. Then you could use the SCRIPT token to specify the template in the content area of the post-build setup. ${SCRIPT, tem

Re: email-ext-plugin doesn't translate any variable!!!!

2016-06-28 Thread Antonio Hernandez
Hi Slide, that's the problem i have, i don't know how to handle it. I have all the ingredients but i don´t know how to put all together in a rich format html. I'm desperate with that because i've never developed in html Thanks again, El martes, 28 de junio de 2016, 14:36:04 (UTC+2), slide es

AccuRev SCM Plugin crashes on Save or Apply

2016-06-28 Thread Jim Gorski
My group just updated our server to 2.11 and now every change to a job using the AccuRev SCM plugin causes this crash: javax.servlet.ServletException: java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"hudson.plugins.accurev.Accurev

Re: email-ext-plugin doesn't translate any variable!!!!

2016-06-28 Thread Slide
How are you specifying the content? On Tue, Jun 28, 2016, 03:20 Antonio Hernandez wrote: > hi there!, > > I'm very confused when i'm trying to send an email with all changes and > also with the console output. > > To get all the information together i'm using: > > one script writing all the chan

Re: error"Invalid login information. Please try again. Try again" for matrix based security

2016-06-28 Thread Abhijit Zanak
stack trace Jun 28, 2016 6:09:48 AM winstone.Logger logInternal INFO: JVM is terminating. Shutting down Winstone Running from: /usr/share/jenkins/jenkins.war Jun 28, 2016 6:09:51 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @466ms Jun 28, 2016 6:09:51 AM winstone.Logger

error"Invalid login information. Please try again. Try again" for matrix based security

2016-06-28 Thread Abhijit Zanak
I have applied matrix based security also added users into credentials , however when I tried to log in getting following error,checked the server log as well there is no fruitful information . Invalid login information. Please try again. Try again

Cloning workflowLibs.git with ssh

2016-06-28 Thread Sverre Moe
- ssh://USERNAME@server:PORT/workflowLibs.git through Jenkins SSH - http://LOCATION/workflowLibs.git (when your Jenkins app is located on the url http://LOCATION/). As noted in JENKINS-26537

email-ext-plugin doesn't translate any variable!!!!

2016-06-28 Thread Antonio Hernandez
hi there!, I'm very confused when i'm trying to send an email with all changes and also with the console output. To get all the information together i'm using: one script writing all the changes in a file like this: | Author: [ ] | Subject: [bugfix/XXX-YYY..] | When: [2016-06-23] | Commit

Re: Could not load program curl

2016-06-28 Thread ARYAN SHARMA
HI, I am facing the same error on Jenkins. Kindly share the solution if it has been resolved at your side. Thanks, Sachin On Monday, August 4, 2014 at 11:46:21 PM UTC+2, Max B wrote: > > Rob, > > I am running it from the same server ... i can runs successfully if I try > to do it manually..

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-28 Thread 'Björn Pedersen' via Jenkins Users
Hi, can you check if the necessary parent dirs are there on the slave and have the correct access permissions for the jenkins user? /home/csbuild/build And can the slave reach the https://repo.maven.apache.org