Algorithm negotiation fail problem

2015-09-17 Thread Ehsan Enayati
Hi, I am trying to build my code on an ubuntu machine. When I start the build I always get below error: [SSH] Exception:Algorithm negotiation fail com.jcraft.jsch.JSchException: Algorithm negotiation fail at com.jcraft.jsch.Session.receive_kexinit(Session.java:520) at com.jcraft.j

config-file-provider's latest is not latest

2015-09-17 Thread Dan Tran
Hi http://mirrors.jenkins-ci.org/plugins/config-file-provider/latest is very old. should I file a JIRA ticket to get it fixed? against the plugin or Jekins? thanks -Dan -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: How Can I copy log (from System Log) from my GUI to my linux machine through plugin/script?

2015-09-17 Thread Maciej Jaros
Shubham Sharma (2015-09-14 13:34): Hi All, I want to copy Log under Manage Jenkins-->>system Log through some script or plugin to my host machine . Please Help how Can I do this. Some logs (like Audit Trail) are in: .../jenkins-data/log Path of the "all" log depends on which server you use

RE: Patterns in Role-based strategy

2015-09-17 Thread Ginga, Dick
Thank you, works -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of matthew.web...@diamond.ac.uk Sent: Wednesday, September 16, 2015 4:50 AM To: jenkinsci-users@googlegroups.com Subject: RE: Patterns in Role-based strategy Tr

Aggregating Downstream test results - Not working though everything is setup fine

2015-09-17 Thread Gergely Brautigam
Hello guys. I know this has been chewed upon many times, and I've read blogs after posts after questions and answers and descriptions and every damn thing I was able to find on the internetz, still, I can't get aggregation to work. I have a project main-aggregator who has 6-10 other jobs confi

Re: Aggregating Downstream test results - Not working though everything is setup fine

2015-09-17 Thread Eric Pyle
I think the way aggregation was intended to work, a job would produce some artifact, fingerprint the artifact, and trigger downstream builds to do something with the artifact. The test results would be aggregated by the upstream job which created the artifact. The fingerprint provides the link

Re: Batch command with slave mode configuration

2015-09-17 Thread Quang Truong
Thanks Victor! I have tried with backlash (actually we can use even Linux syntax here) and use %windir% instead of C:\Windows but still got the syntax error. I don't know how to correct the syntax for this block in FOR command '"%windir%\System32\nbtstat.exe" -A %VM_IP% ^|FIND "<20>"' Thanks,

Re: jenkins DSL Gerrit Project setup

2015-09-17 Thread GC
Thank you HTH, I will try to get it configure block, I have seen the usage of the configure block in the docs but making sure I am not missing anything obvious here. On Wednesday, September 16, 2015 at 9:56:57 PM UTC-7, Baptiste Mathus wrote: > > Yes. Using it for around twenty jobs. > You mi

Re: How to take care of a large Jenkins installation and still keep your sanity

2015-09-17 Thread milki milk
On Monday, August 31, 2015 at 1:25:41 PM UTC-7, Guenther, Marc(AWF) wrote: > > 2. The 'jenkins.yml' files I describe in the blog are purely our own > convention. Neither Jenkins Job Builder nor Job-DSL-Plugin use anything > like that. In particular, they have nothing to do with JJB's yaml files.

Re: Generating parallel flow with Build Flow Plugin

2015-09-17 Thread Jay Neese
Just to follow up, I found a solution. The code looks like this: version = "4.1.0" println "Deploying version " + version def jobsList = ["test1,test2"] - list of jobs, but first element has all jobs def jobNamesString= jobsList.get(0) // Get the comma delimited string of job names def jobs= j

Re: Using @Grab to retrieve Groovy dependencies...

2015-09-17 Thread Joel Young
I ran into the same problem. I assume you're trying to do it in a System Groovy Script. If so, that's the problem. The System Groovy Scripts run under the version of Groovy built into Jenkins. In my case, it's 1.8.5. You'll probably need to run this in a non-system Groovy Script. Then you

Re: Keeping windows slaves up to date

2015-09-17 Thread Oleg Nenashev
We used shared directories to store service binaries & distribute them BTW slave.jar and jenkins-slave.exe can be updated using WinSW features: * https://github.com/kohsuke/winsw#deferred-file-operations * https://github.com/kohsuke/winsw#download-1 вторник, 25 августа 2015 г., 16:05:24 UTC+3 поль

Re: Using @Grab to retrieve Groovy dependencies...

2015-09-17 Thread Jeff
My issue turned out was related to where I was running (Secure Development Environment) and the default Groovy / Ivy configuration that has Maven Central as the first repository by default. It would always fail because our SDE has no external access. Being new to Groovy, I had no idea this file e

Re: Remote build with token parameter crashing

2015-09-17 Thread Christopher Orr
It would probably help to post the error message somewhere. Regarding the Build Token Root Plugin, its documentation says you should use /buildByToken/build?job=NAME&token=TOKEN — so I guess that deciding to use /job/NAME/buildByToken/build?token=TOKEN isn't likely to work. Regards, Chris On 16

Deploy artifacts to Maven Repository with S3 Wagon

2015-09-17 Thread Ryan Hass
I have a project in which I have added the S3 Wagon, which works fine if I run `mvn deploy` or use deploy as the build target, but it seems Jenkins disregards the wagon entirely when using the post-build action, "Deploy artifacts to Maven Repository." Is there any way to make the post-build ac

Re: Is there a way to have a step in a pipeline wait until a specific time to start?

2015-09-17 Thread Michael Neale
I wonder if you could use: https://wiki.jenkins-ci.org/display/JENKINS/Schedule+Build+Plugin with another job, that fires up and checks if it should run as a pre build step, and then runs (downide is that it will run, even if there isn't work to do from upstream, so perhaps there is a better w

Re: Can post to jenkins modify the branch of the SCM?

2015-09-17 Thread Michael Neale
Looks like with parametrized build someone has done it: http://www.sourceprojects.org/jenkins-and-the-git-branch-selection https://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin looks like a formalisation of this. On Thursday, September 17, 2015 at 5:20:56 AM UTC+10, John Cary wrote

Re: Any plugin to parse XML?

2015-09-17 Thread Vikram Bansal
Can we have a sample please? Thanks, Vikram On Friday, September 11, 2015 at 5:17:39 AM UTC-7, Thomas Goeppel wrote: > > > Have not tried it, but it is probably doable. Use readFile to download the >> file contents from the slave. Then use standard Groovy APIs to parse; you >> might need to wr

Jenkins Meetups and CIA

2015-09-17 Thread Alyssa Tong
Hi All, There's an initiative to start Jenkins Area Meetup (JAM) to help local communities stay on top of the latest and greatest Jenkins technology. With over 120,000 active plugins it's important that we continue to

Re: Aggregating Downstream test results - Not working though everything is setup fine

2015-09-17 Thread Gergely Brautigam
And that would be enough to create the connection between the two jobs? Even though there are no tests performed on the timestamp? The connection is enough? I'll try to do that once I get to work. Thank you very much for the suggestion! :-) -- You received this message because you are subscri

Get Build ID when we invoke a Jenkins Job from REST API

2015-09-17 Thread Arjun K.N
Hi All, I am new to Jenkins Rest API calls. I am trying to create a script which will kick Jenkins JOB and wait for the completion of JOB. I am kicking a job using below command: curl -k -x https:///jenkins/job/DOLPHIN-Test/build --user dolphin:swimwithme --data token= I do not get any res

Re: Get Build ID when we invoke a Jenkins Job from REST API

2015-09-17 Thread Victor Martinez
You can use Jenkins CLI in order to run builds and wait for the result, further details: - https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI - https:///jenkins/cli - https:///jenkins/cli/command/build java -jar jenkins-cli.jar

Re: Get Build ID when we invoke a Jenkins Job from REST API

2015-09-17 Thread Victor Martinez
You can use Jenkins CLI in order to run builds and wait for the result, further details: - https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI - https:///jenkins/cli - https:///jenkins/cli/command/build java -jar *jenkins-cli.jar *-s https:///jenkins/ build JOB [-c] [-f] [-p] [-r N] [-s] [-

Re: Aggregating Downstream test results - Not working though everything is setup fine

2015-09-17 Thread Gergely Brautigam
Btw. What did you mean by, simple artefact such as a timestamp? What's a timestamp as an artefact? :) On Friday, 18 September 2015 07:05:00 UTC+2, Gergely Brautigam wrote: > > And that would be enough to create the connection between the two jobs? > Even though there are no tests performed on t