Re: Summary of changes build information

2016-11-07 Thread Mike Bayliss
If you look at the page for the email-ext plugin there are links to groovy scripts that will find the change history for a job. Mike On Sat, Nov 5, 2016 at 12:21 AM, wrote: > If I view build information I see a "summary of changes",

Permission denied error

2016-11-07 Thread Subramanyeswari Ravinutala
Hi, Our jenkins master is ubuntu and the slaves are windows. With 775 permission on the ClearCase VOB, the builds are failing with permission denied for write operations in the jenkins slave. with 777 (everyone all), the builds are working fine on jenkins slaves. We have given clearcase en

[Pipeline] No error when invoking "git" step w/o installing Git plugin

2016-11-07 Thread Logan MAUZAIZE
I don't if it's a general problem when invoking non-existing function but doing a fresh install from Jenkins 2.19.1 and Pipeline 2.4 ( Pipeline: SCM Step 2.2), bu

Re: Use jenkinsfile from "multi-configuration project"

2016-11-07 Thread Jesús Linares
Hi, I have a repository with a *jenkinsfile *and I need to execute it in several linux distributions like Debian, Ubuntu and so on. From *Pipeline *project I can't use several slaves (a slave for each linux distribution) so I thought the proper project for my goal was *Multi-configuration* pro

Re: How to make the Jenkins build output as downloadable from Jenkins server machine itself?

2016-11-07 Thread Ben Patterson
I realize this is not as pretty as was what you were looking for, but you can always tee your build scripts to a log file, and archive that. (I thought I'd answer in case there's not an easier way; but if there is, hopefully someone can suggest something more Jenkins-y. --cheers) On Monday, No

Re: Iterate FileWrapper, fails with shell script within the loop

2016-11-07 Thread Sverre Moe
Was aware of it. Iterating for loops using for(def foo : foos) will work for List. Using closure forEach does not work in Pipeline without using @NonCPS. > >- Beware for (Foo f: foos) loops and Groovy closure-style operators >like .each and the like. They will not work right in normal P

Re: Use jenkinsfile from "multi-configuration project"

2016-11-07 Thread 'Björn Pedersen' via Jenkins Users
Am Montag, 7. November 2016 11:38:41 UTC+1 schrieb Jesús Linares: > > Hi, > > I have a repository with a *jenkinsfile *and I need to execute it in > several linux distributions like Debian, Ubuntu and so on. From *Pipeline > *project I can't use several slaves (a slave for each linux distributi

Jenkins 2.28 fails with a stack trace when one clicks Manage Jenkins and then clicks Configure System

2016-11-07 Thread Rinaldo DiGiorgio
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/jpgdata/jpg-infra-ci/jenkins/jenkins-home/war/WEB-INF/lib/jenkins-core-2.28.jar!/jenkins/model/Jenkins/configure.jelly:59:84: jar:file:/jpgdata/jpg-infra-ci/jenkins/jenkins-home/war/WEB-INF/lib/jenkins-core-

GitHub Commits aren't triggering builds

2016-11-07 Thread Naveen Srinivasan
Hi, We are using jenkins pipeline with github organization. The github hooks are setup by the plugin and there are notifications coming to the repo AFAIK. In the jenkins logs we could see "Received POST for https://github.com/Revature/core"; but the builds aren't being triggered. And our j

Re: Jenkins 2.28 fails with a stack trace when one clicks Manage Jenkins and then clicks Configure System

2016-11-07 Thread Daniel Beck
Tracked as JENKINS-39414. We really need to change the message shown on the exception screen :( > On 07.11.2016, at 13:22, Rinaldo DiGiorgio wrote: > > javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: > jar:file:/jpgdata/jpg-infra-ci/jenkins/jenkins-home/war/WEB-INF/

Pipeline: Support for DependencyGraph

2016-11-07 Thread Sverre Moe
Dependency Graph is very useful to display any upstream and downstream dependencies. However with Pipeline it seems no longer an option. Is there any plans for *DependencyGraph* pipeline support with *WorkflowMultiBranchProject*? Since *DependencyGraph* can only work with *AbstractProject*, and

Testability

2016-11-07 Thread Rinaldo DiGiorgio
I would like to write some tests for pipeline scripts. Has anyone created a mock pipeline implementation. Development of pipeline script unit tests is pretty convoluted when you have to run the test in jenkins. I am looking for something that allows me to use replacements for existing pipeline

Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Rinaldo DiGiorgio
Hi, I tried to version my jobs with the Jobs SCM plugin for example and it often gets confused and ends up making my system unusable. Perhaps an entire rewrite is needed and the backend store needs to move to something like redis. I don't think version control should be done with optional p

Global "disable triggers" options

2016-11-07 Thread Michael Giroux
We have a large jenkins configuration with 1700 jobs. We have two use cases in which the configuration is copied. We make a copy of the configuration prior to any upgrade: 1. for purposes of testing new version and plugins prior to an upgrade 2. to have a running instance of the previous versio

Re: Use jenkinsfile from "multi-configuration project"

2016-11-07 Thread Jesús Linares
I think is what I need. I don't know why I can select it in "multi configuration project". Anyway, I will try it in a Pipeline project. Thanks a lot. Regards. El lunes, 7 de noviembre de 2016, 13:04:54 (UTC+1), Björn Pedersen escribió: > > > > Am Montag, 7. November 2016 11:38:41 UTC+1 schrieb J

jenkins 2.29 | console log output

2016-11-07 Thread Arnaud bourree
Hello, Since I upgrade from 2.28 to 2.29, console log only print step name but no more step output. I didn't see in change-log any point related to a console log new format. Did someone else fail on same issue? Regards, Arnaud. -- You received this message because you are subscribed to the Go

Run builds on Jenkins Slave nodes through Docker

2016-11-07 Thread Natale Vinto
Hello, I was looking at documentation about running builds on jenkins slave through Docker and everything looks fine with Docker cloud provider and a jenkins slave image running docker on the same Jenkins host, but I didn't understood if it would be possible to run builds on Docker containers a

Re: Integrating Jenkins with chef

2016-11-07 Thread Lavanya pujari
Yes the cookbook pattern is same there. I also done validating syntax it is correct one, the nodes also assigned to that cook book only. On Sunday, November 6, 2016 at 4:04:53 AM UTC-5, Irfan Sayed wrote: > > lavanya, > any update ? > > On Sat, Nov 5, 2016 at 12:12 AM, Irfan Sayed > wrote: > >>

Re: Integrating Jenkins with chef

2016-11-07 Thread Irfan Sayed
can you confirm that user "miracle" is able to ssh to nodes as a pass-wordless authentication? if not, nodes will be return empty On Mon, Nov 7, 2016 at 10:45 PM, Lavanya pujari wrote: > Yes the cookbook pattern is same there. I also done validating syntax it > is correct one, the nodes also ass

Re: Writing integration tests for Global Libraries

2016-11-07 Thread Michael Lasevich
There is no reason why you cannot automate the local running of the Jenkins tests. See how plugin development works - they have setup to start a local Jenkins instance with plugin installed, and it should be relatively simple to automate that to run test jobs and check for output. That said, y

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Michael Lasevich
Not familiar with "Jobs SCM" and unclear as to what you are trying to do - or how Redis or Docker fits it here. If you have some idea, you are welcome to write a plugin and make it work however you want, which is why the plugin system exists - and answers your question as to why this is done wi

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Victor Martinez
Give a try job-dsl-plugin - https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin Supports 1000+ jenkins plugins, local testing, gradle integration, same Jenkins job paradigm, DRY concept and a bunch of other benefits besides of converting jobs in code and therefore scm oriented. Cheers

Most Jenkins way to compare files between builds?

2016-11-07 Thread Rob Gulley
Each build runs test cases which compiles the state to a single text file (e.g. test1=Fail, test2=Pass) What I want to do is diff THIS build's text file to the MOST recent (i.e. BUILD_NUM-1) build's text file. If any tests went from Pass->Fail, then the developer who triggered the change get

Re: Jenkins is hanging

2016-11-07 Thread Rachel Moreno
Hi Mirko, In my personal opinion, I'd open a new issue with more detail (all data in this thread). Best regards, Rachel On Monday, November 7, 2016 at 8:40:15 AM UTC+1, SGD53 wrote: > > Hi Rachel, > > I've attached my "observations" to this >

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Michael Lasevich
Ahh, "Job DSL", I remember that. It was a good thing when it was the only game in town, but (in my opinion) Pipelines pretty much made it obsolete. Of course it is a matter of opinion, but if you are finding Jobs DSL too complicated, Pipelines may be just right for you - it removes a lot of the

Any way to run code in Pipeline Global Library from Scriptler?

2016-11-07 Thread Michael Lasevich
The Functionality in Scriptler and Global Libraries can and does often intersect. I would like to avoid repeating same code in multiple places and I was wondering if there is any way to call one from another? The specific use-case I am looking at is using active parameters in a job that execute

Pipeline shared libraries, can I have a constructor when I don't explicitly declare the enclosing class?

2016-11-07 Thread Jonathan Hodgson
Hi, I'm setting up a folder library as per here. Now in one of their examples they talk about not declaring the enclosing class (so as to allow access to steps) This works fine, in the file MyClass.groovy @package my.package def myMethod(data) { // do stuff with data } return this I

Re: Writing integration tests for Global Libraries

2016-11-07 Thread Michael Kobit
Using the support for @Library seems like a much simpler way to go about testing it, and was thought about as the option. We were hoping to have turnaround time locally as well as having more codified tests. We have seen the Groovy CPS plugin bite us in the ass a few times, so we wanted to get

Re: Most Jenkins way to compare files between builds?

2016-11-07 Thread Victor Martinez
Hi, If I recall correctly, you can use: https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin There are a bunch of different triggers: - https://github.com/jenkinsci/email-ext-plugin/tree/master/src/main/java/hudson/plugins/emailext/plugins/trigger And you can send email to different peo

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Victor Martinez
Both of them are good but they have different approaches... Although, IMO, Pipeline is still an incubating feature atm. I wouldn't say Pipelines are better or worst or even obsolete or modern. If you go for configuration as code, by definition, code should be testable, and I could go further by

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Sean McNamara
On Mon, Nov 7, 2016 at 3:53 PM, Michael Lasevich wrote: > Ahh, "Job DSL", I remember that. It was a good thing when it was the only > game in town, but (in my opinion) Pipelines pretty much made it obsolete. Of > course it is a matter of opinion, but if you are finding Jobs DSL too > complicated,

Adding another co-admin for a plugin

2016-11-07 Thread Ryan Black
All, My Google Fu is lacking in finding an answer to this, so I'm trying here. If I wish to add another Github user as co-admin for a plugin, ideally each of us unable to remove the other, how is this best accomplished? I don't believe I have the ability to modify members of the pluginname-dev

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Michael Lasevich
I did not mean to start a religious war - like I said, this is only an opinion. I only offered that Pipelines are a bit newer - and while CPS is a bear, it does appear, at least to me, to simplify things drastically - allowing much simpler setups and avoiding situations where it "gets confused

Re: Use jenkinsfile from "multi-configuration project"

2016-11-07 Thread Baptiste Mathus
Because matrix builds are an old beast. Like an enhanced freestyle job if you will. Pipelines lets you (any) things in parallel easily. Le 7 nov. 2016 4:32 PM, "Jesús Linares" a écrit : > I think is what I need. I don't know why I can select it in "multi > configuration project". Anyway, I wil

Re: jenkins 2.29 | console log output

2016-11-07 Thread Baptiste Mathus
Known issue. Don't use 2.29. 2.30 is going to be released in the next few hours with the fix. See dev ml if you're interested in details. Cheers Le 7 nov. 2016 4:59 PM, "Arnaud bourree" a écrit : > Hello, > > Since I upgrade from 2.28 to 2.29, console log only print step name but no > more st

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Michael Lasevich
Depends on your perspective - what you call limitations I see as a huge benefit. I am doing pretty large projects using Pipelines and it is has been rock solid and reliable. And yes, since Global Libs came around, you CAN run just about any Groovy or Java code you want- though you may not want

Re: Versioning the entrie system configuration -- not artifacts

2016-11-07 Thread Rinaldo DiGiorgio
Thanks but I was doing CI in 1980 and it is IMO a non started that the core system doesn't implement versioning and uses a local file store instead of a network based store. Given the advances in technology I am seeing less and less value in systems that require more and more plugins for basic

Re: Jenkins 2.28 fails with a stack trace when one clicks Manage Jenkins and then clicks Configure System

2016-11-07 Thread Rinaldo DiGiorgio
Thanks it is also happening with 2.29 -- javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/jpgdata/jpg-infra-ci/jenkins/jenkins-home/war/WEB-INF/lib/jenkins-core-2.29.jar!/jenkins/model/Jenkins/configure.jelly:59:84: jar:file:/jpgdata/jpg-infra-ci/jenkins/j

Can anyone please send an example script or any other reference for deploying to docker container using pipeline jenkins plugin?

2016-11-07 Thread harsha vardhan
I couldnt find any help on how to automate deployment of war file to new aws ec2 instance or docker container using pipeline feature of jenkins. Can anyone send documentation or pipeline script sample to deploy to aws ec2 instance? -- You received this message because you are subscribed to the