Publish Over SSH via Jump Host is not working

2017-06-09 Thread Bhushan Kittur
Hello , I am working on setting up the Jenkins publish over SSH plug-in to copy build package to destination server via SSH tunneling as firewall exists between Jenkins server and the destination server. However it's not working. See below the screenshot.

Re: Nexus plugins can't connect to my fresh Nexus install

2017-06-09 Thread pierre . colangelo
Dev answer : add your nexus host to the proxy exception on the plugin manager page. https://issues.sonatype.org/plugins/servlet/mobile#issue/NEXUS-13369 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

How to copy an artifact to a remote repository?

2017-06-09 Thread rwells
Hello, I have a project that runs and archives the artifact as a post-build action. I have a second item called "DEMO" that it is supposed to copy that artifact and save it to a remote repo. I have set up the copy artifacts from another project as a build step in the "DEMO" configuration and

Re: Is there a way to pass environment variables from Upstream Job to a Downstream Job without writing properties file to disk or creating extra job parameters?

2017-06-09 Thread Victoria Kozel
Thank you Randy. This is very helpful. Using Hidden Parameter allows me to pass a property from Upstream to Downstream without writing it into an ugly properties file on the disk. The reason I need Hidden Parameter in the first place is because passing a groovy generated list of choices as a

Re: [EXTERNAL] - Re: how to reset build number

2017-06-09 Thread jerome
Just an idea, but if I understand you well, you may want to split the concept of Jenkins build number and the build number for you application. Maybe an SQLite db (or any other database type) where you could read/write with your main version, and make an incremental entry for the version build

Re: Changing the state of completed build from unstable to stable

2017-06-09 Thread Richard Ginga
i think you can only change a build status to "badder" not "gooder". I have had jobs where some post builds steps fail that I don't care about and could not set them as successful from failed. but you can set aa job from unstable to failed e.g. On Fri, Jun 9, 2017 at 1:22 PM, Mark Sinclair

Changing the state of completed build from unstable to stable

2017-06-09 Thread Mark Sinclair
I have a freestyle job that takes a long time to run. The status of buildX is unstable. We manually fixed this build so it's now good to go. I want to change the status to stable - is that possible to do via groovy or the script console? I saw some methods that require restarting Jenkins or

Re: Favorite plugin

2017-06-09 Thread R. Tyler Croy
(replies inline) On Thu, 08 Jun 2017, Christopher Orr wrote: > Hi there, > > On Thu, 8 Jun 2017, at 11:34, Eberhard Beilharz wrote: > > I'm using https://updates.jenkins-ci.org/stable/update-center.json as > > URL for the update site. > > > > When I check the JSON that gets returned from the

Re: Failed to publish TestNG Report in Jenkins

2017-06-09 Thread aditi desai
I am facing the same issue.could you please here?? i ahve installed the testng plugin in jenkins and also gave the target path but gives the below message: TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: \target\surefire-reports\testng-results.xml

Re: Nexus plugins can't connect to my fresh Nexus install

2017-06-09 Thread Dominic Murphy
Thanks Pierre. I moved on after not having any luck but I'll revisit it soon and try your fix. On Friday, 9 June 2017 10:42:22 UTC+1, pierre.c...@gmail.com wrote: > > Ok i got it to work : > > i add to remove my proxy settings in the Plugin Manager, advanced tab. > > On Monday, March 20, 2017

Re: Nexus plugins can't connect to my fresh Nexus install

2017-06-09 Thread pierre . colangelo
Ok i got it to work : i add to remove my proxy settings in the Plugin Manager, advanced tab. On Monday, March 20, 2017 at 9:57:06 PM UTC+1, nav wrote: > > Hi, > > Having same issue, but I am using nexus 3 as well. Anyone got this working > ? If so please share :-) > > > On Wednesday, March

Re: Nexus plugins can't connect to my fresh Nexus install

2017-06-09 Thread pierre . colangelo
Did you manage to get it to work? Because i did not.. . On Monday, March 20, 2017 at 9:57:06 PM UTC+1, nav wrote: > > Hi, > > Having same issue, but I am using nexus 3 as well. Anyone got this working > ? If so please share :-) > > > On Wednesday, March 15, 2017 at 4:08:07 AM UTC-7, Dominic

Re: Jenkins pipeline shell set $HOME to /var/www

2017-06-09 Thread Kirill Peskov
On 08.06.17 18:50, R. Tyler Croy wrote: > (replies inline) > > On Thu, 08 Jun 2017, Changqin Xie wrote: > >> Using the following Jenkinsfile: >> #!/usr/bin/env groovy >> >> pipeline { >> agent any >> >> stages { >> stage('Deploy') { >> steps { >> sh