java.io.IOException: Could not copy slave.jar into '/homes/bldmgr' on slave

2017-04-26 Thread venkatesh guttal
Hi, I am getting below error in jenkins when i trigger the job. user bldmgr version tcsh 6.17.00 (Astron) 2009-07-10 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,color,filec [04/27/17 08:06:53] [SSH] Checking java version of java [04/27/17 08:06:53] [SSH] java -version returned

Re: Chaining freestyle with a Pipeline on the same Git hash?

2017-04-26 Thread Dan Tran
It turns out my pipeline uses another internal jenkins pipeline library via @Library('@0.0.1') _ this is why it bails. I think the jenkins library tag should be influenced external upstream job git params is it a bug I should file? Thanks -Dan On Wednesday, April 26, 2017 at

jenkins pipeline dsl - executing a list/map of nodes

2017-04-26 Thread dpreilan
Hey, I am building a map of nodes to run in parallel. This works fine: parallel unit.build_nodes However, I am trying to flexible for some jobs that are memory/cpu intensive and NOT in parallel. I want my library/dsl code to be same and do something like: if (do_parallel) { parallel

Re: Help me to figure out Plug in for change repository url and credentials for all the projects from central level

2017-04-26 Thread Victor Martinez
Hi there, I don't know if the below plugins support exactly your use case: - https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin - https://wiki.jenkins-ci.org/display/JENKINS/Scriptler+Plugin They can be customised with some groovy scripting in any case. Cheers On

Re: Can System Groovy Choice Parameter be defined globally?

2017-04-26 Thread Victor Martinez
Hi there, I don't know what plugin you are using exactly. There are different approaches as far as I see: 1) https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin plugin supports the scriptler plugin, that's another way of centralising those scripts. 2) if you are tied to that

Re: How to trigger job when a new patchset is uploaded for an existing change

2017-04-26 Thread Sagar Bhowmik
The version of jenkins is: 2.46.1 Gerrit trigger: 2.23.1 Sorry for the description. Here are some screenshots attached. The project is parameterized: parameter.jpg The gerrit trigger: trigger.jpg gerrit project provided in Plain text and i know it works because it does

Re: Unable to execute Oracle SQL scripts from jenkins

2017-04-26 Thread manushet2
export ORACLE_SID in /etc/profiles On Thursday, October 6, 2016 at 4:43:33 PM UTC+5:30, pradeep palem wrote: > > Hi All, > > I am trying to run the oracle sql script which sits in aws rds from > jenkins server(AWS linux).I have instlled sql*plus on my jenkins server . > I can able to connect

Which class does the method libraryResource() come from???

2017-04-26 Thread TInaTinaTian L
I know that Jenkinsfile pipeline DSL can resolve libraryResource() magically without explicitly providing any context (pardon my poor understanding of the pipeline DSL). But if I want to use libraryResource() as a regular groovy class, how do I use it??? Is it a static method? Which class does

How to compile pipeline steps as regular groovy file???

2017-04-26 Thread TInaTinaTian L
When invoked from Jenkinsfile, pipeline steps work fine and all. But when I want to compile a library with pipeline steps, compilation fails. > > package com.company; > > def read(fileName) { > return libraryResource(fileName) > } > > return this > > How to compile the above code as regular

RE: email-ext circular dependency

2017-04-26 Thread Chanda Unmack
Thanks! I’ve downgraded the plugin and the circular dependency error went away - now getting errors around templates, but that’s another story. I will file a Jira ticket now. One error down, but still an unstable Jenkins – at least it’s slightly easier to get through the logs ☺ From: Victor

Re: Chaining freestyle with a Pipeline on the same Git hash?

2017-04-26 Thread Dan Tran
My apology for the incompleteness Here are my build info * 2 jobs configure with same git repo same branch ( master) * First job ( freestyle) triggers 2nd job with Build Trigger Parameters and passing over 'Pass thru git commit that was built' exception: Checking out Revision

How to properly mixin libraryResource() pipeline task???

2017-04-26 Thread TInaTinaTian L
Hello, package com.mycompany; > import org.jenkinsci.plugins.workflow.libs.*; > > this.metaClass.mixin(ResourceStep) > def read(fileName) { > return libraryResource(fileName) > } > > return this > > I have the above LibraryResource.groovy file that basically just delegates to the

Re: Scripts not permitted to use a method already approve in In-process Script Approval GUI

2017-04-26 Thread Romaric Crailox
I'm pretty sure that it started less than one month. I am on Jenkins 2.55. Furthermore I have Permissive Script Security Plugin installed. Le mercredi 26 avril 2017 04:57:48 UTC+2, Lucas Brendel a écrit : > I have been running in to this exact same issue, in fact i just posted > here

Re: pipeline: parameters documentation.

2017-04-26 Thread Kenneth Johansson
On 2017-04-26 16:14, Björn Pedersen wrote: Am Mittwoch, 26. April 2017 14:43:39 UTC+2 schrieb Kenneth Johansson: hmm I'm starting to question the usefulness of the pipeline system. Its very hard to understand how to do even very basic stuff. Even something as easy as finding

Re: pipeline: parameters documentation.

2017-04-26 Thread 'Björn Pedersen' via Jenkins Users
Am Mittwoch, 26. April 2017 14:43:39 UTC+2 schrieb Kenneth Johansson: > > hmm I'm starting to question the usefulness of the pipeline system. Its > very hard to understand how to do even very basic stuff. > > Even something as easy as finding out what type of parameters I can use > is hard.

pipeline: parameters documentation.

2017-04-26 Thread Kenneth Johansson
hmm I'm starting to question the usefulness of the pipeline system. Its very hard to understand how to do even very basic stuff. Even something as easy as finding out what type of parameters I can use is hard. The documentation on https://jenkins.io/doc/book/pipeline/syntax/ only mention

vSphere plugin - cloning VM successfully, but failed step

2017-04-26 Thread Geoff Gatward
Hi, I'm trying to create a pipeline that involves cloning a VM in vSphere (5.5) and have a couple of issues - not sure if its what I'm doing or a bug... My vSphere environment is vCenter Appliance 5.5 + one esxi 5.5 host with local datastore and no resource pools defined. Jenkins 2.53, vSphere

Re: pipeline: script location

2017-04-26 Thread Kenneth Johansson
On 2017-04-26 13:35, Mark Waite wrote: There is a "Replay" link attached to each build that will allow you to make experimental changes in an editor on the web page. For example, I see "Replay" above the "Pipeline Steps" link in the drop down menu associated with Build #1 of one of my

Re: pipeline: script location

2017-04-26 Thread Mark Waite
There is a "Replay" link attached to each build that will allow you to make experimental changes in an editor on the web page. For example, I see "Replay" above the "Pipeline Steps" link in the drop down menu associated with Build #1 of one of my pipeline jobs that uses Pipeline definition from

pipeline: script location

2017-04-26 Thread Kenneth Johansson
So I have a pipeline job that is using the "pipeline script from SCM" as suggested in the documentation. But for developing code this is really really annoying as I now need to checking every single change even if its just to test something out and for a new user its going to be quite a lot

Jenkins Pipeline (and Docker)

2017-04-26 Thread Max Schindler
At this moment i have the following setup 1) `Jenkins` (running in `docker`) 2) A Cloud configured in jenkins, that is configured to use docker. (Including an image which is a docker template). So i can build on `slaves` 3) A `Multipipeline`configured in jenkins 4) When this build runs it

Re: Building docker images with declarative pipeline

2017-04-26 Thread Max Schindler
I would also be very interested in this. @Thomas: How are you proceeding with your topic? Maybe we can share our experience and help each other on this topic? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Help me to figure out Plug in for change repository url and credentials for all the projects from central level

2017-04-26 Thread Sandeep Grandham
Hi, I am trying to figure out plugin for change repository Url and credentials for all the projects from central level. it means if i change url and credentials from central level it automatically changes the url and credentials for all the projects. Please help me to figureout that plugin.

Chaining freestyle with a Pipeline on the same Git hash?

2017-04-26 Thread Dan Tran
Hi I have no issue chaining 2 freestyle jobs the same git commit, however, not possible from FS to Pipeline which throws exception. Is there any one successfully doing so? Thanks -D -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Jenkins 2.7 vs 2.4

2017-04-26 Thread James Dumay
Yes, I suspect that will be a limitation for some time. Sorry :( On Thursday, April 20, 2017 at 5:36:27 PM UTC+10, Filippo wrote: > > Hi James, > yes, I'm using the 2.46.1 version. > But I can use Blue Ocean only for browsing activity, because our projects > are stored under SVN while Blue Ocean

My Jenkins on a Windows 10 host can’t find the Host as Slave

2017-04-26 Thread Christoph
OS Version/build: Windows 10 Docker App version: Version 17.03.1-ce-win5 (10743) Channel: stable b18e2a5 The Windows 10 that runs docker shoud be a slave for Jenkins, I created a “localhost” Node, when I Start I get the Error: C:\Users\Schindler\Downloads>java -jar slave.jar -jnlpUrl