Unexpected '<' in attribute value at [row,col {unknown-source}]

2016-05-23 Thread Manpreet Singh
Hi All I have integrated Robot Framework with Jenkins 1.651.2 and running 3 simple tests in parallel om Chrome and Firefox. The tests run but while publishing the test results, no stats are appearing. While checking the Console Output log, I have found the following er

Format of 'included regions' with multiple SVN modules

2016-05-23 Thread 'Adam Porteous' via Jenkins Users
I have a Jenkins job which pulls in two separate SVN repositories e.g. - http://svn/project1/trunk with local module checkout directory . - http://svn/project2/trunk with local module checkout directory ./opensource I'd like to be able to configure the job so that it only runs when th

Pipeline with notifyCommit

2016-05-23 Thread Sverre Moe
Using Jenkins Pipeline there is no longer Source Code Management because checkout is handled within the pipeline script. How can i get notifyCommit to work while using Pipeline script? https://jenkins/git/notifyCommit?url=ssh://g...@git.company.com/namespace/projectA.git I know there is an SCM c

Re: Template to send a better report by email

2016-05-23 Thread Antonio Hernandez
Hi Slide, I worked-around on it and i changed it with ${JELLY_SCRIPT,template="template"} because i'm using a .jelly template now and it's working. Thanks a lot! *Antonio Hernandez Pinto* *Contact Me:* 2016-05-20 16:03 GMT+02:0

Re: Template to send a better report by email

2016-05-23 Thread Antonio Hernandez
Hi Slide, I worked-around on it and i changed it with ${JELLY_SCRIPT,template="template"} because i'm using a .jelly template now and it's working. Thanks a lot! El jueves, 19 de mayo de 2016, 12:42:35 (UTC+2), Antonio Hernandez escribió: > > Hi everyone, > > I'm working now in a better way to

How to migrate a Jenkins instance from a 1.x server to a 2.x server?

2016-05-23 Thread David Aldrich
Hi I discussed under a separate thread our difficulty in upgrading from Jenkins 1.656 to 2.3. After upgrading jenkins.war our server failed to start. Stephen Connolly advised me: > If you were using AJP then you need to switch to Tomcat as your servlet > container. It seems prudent for us to

Re: File as parameter not working

2016-05-23 Thread Jonathan Hodgson
For the record, I got around this by using a string parameter. It's a bit of a rigmarole, since I have to escape the diff to use it as a string parameter, and then write that string to a file before using it in Hg Patch (it may be possible to skip that step if I can work out how to pass it vias

Groovy script to cancle jobs from queue

2016-05-23 Thread Paweł Wiśniewski
Hi, I'm currently working on script which will cancel jobs from queue that have value of one parameter set to specific value. Current code is this: #!/usr/bin/groovy import jenkins.model.* import hudson.model.* def config = new HashMap() def bindings = getBinding() config.putAll(bindings.getVa

Non Github organization folder?

2016-05-23 Thread Jonathan Hodgson
I have a number of Mercurial repositories, for which I am setting up pipeline scripts. I would like to autobuild them all, and when I add new repository, have it automatically added to the autobuilds. The concept of the Github Organization Folder project seems ideal, except for the obvious fla

Create a temporay file via groovy

2016-05-23 Thread 'Niksan' via Jenkins Users
I'm wanting to create a temporary batchfile on a Jenkins slave via groovy similar to the way Jenkins itself does when invoking a Windows batch file. cmd /c call C:\Windows\TEMP\hudson6180922768700485046.bat How do I go about doing that via groovy in Jenkins? -- You received this message becau

Re: ImportError No module named Image in Jenkins

2016-05-23 Thread Mark Waite
I would guess that the official Jenkins docker image does not include the Python imaging library by default. You probably need to install the python imaging library by adding an entry to your Dockerfile: RUN apt-get update && apt-get install -y python-imaging You may also need to refer to http:/

Re: Regarding information on REST API of Jenkins

2016-05-23 Thread Rohit Sakala
Hey, Thanks for the info. If I archive them,I get the csv file that will have the data for that build only. How can I get the data for all the builds of the job ? (ex :- 180 builds ) [0] . Thanks. [0] https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1

Cannot log into ssh server

2016-05-23 Thread Jonathan Hodgson
Hi, I set up the SSH server on the "Configure System" page, and now my SSH client (Bitviz on windows) can find it. But it can't seem to log in, Jenkins is set to use its own user list (which currently contains just me), so I've used that user name and password in the SSH client, but it fails t

Re: Email only after all retries fail

2016-05-23 Thread Илья Ефимов
Hi. I also have same problem and with latest (1.17 - Mar 12, 2016) version of naginator it seems can be solved with NAGINATOR_COUNT, NAGINATOR_MAXCOUNT, NAGINATOR_BUILD_NUMBER variables. But I have no idea how to make it working. For example my non-working script: def ngc = System.getenv("NAGINA

Re: How to migrate a Jenkins instance from a 1.x server to a 2.x server?

2016-05-23 Thread Baptiste Mathus
If you're not depending on tomcat's security, then just crawl the mailing list for "migration" and the likes. There's nothing specific really about 2.x for that. And always, test it first on a test instance. And make sure your backup works before trying so. Cheers Le 23 mai 2016 11:35 AM, "David

How to get enviroment variables / build parameters from groovy run on slave?

2016-05-23 Thread 'Niksan' via Jenkins Users
Pretty much as the subject says, getting them when running as a system script is easy enough, but as there's no access to 'build' a a none system script run on a slave, how does one do that? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Question about thread settings for Jenkins Gerrit Trigger

2016-05-23 Thread Will Saxon
Hello, We're getting complaints about a Jenkins system we manage, where jobs do not always trigger as quickly as developers expect them to. Our observation is that sometimes there can be a several minute wait between an event in Gerrit and the associated job triggering. We can see this scheduli

Jenkins migrate views between jenkins master (jenkins copy view to new jenkins server)

2016-05-23 Thread Dave Horner
Hello all, I am interested in copying the views defined on one master to another master. I do not see a way to get the view data from the master. there is: create-view Creates a new view by reading stdin as a XML configuration. update-view Updates the view definition XML from stdin. Th

Re: Jenkins migrate views between jenkins master (jenkins copy view to new jenkins server)

2016-05-23 Thread Zoratto Thomas
Hi, I think this is not exactly what you are looking for but when you define your views (along with your jobs) with the job DSL plugin it becomes straightforward to migrate all this stuff from a Jenkins instance to another Good luck Thomas > Le 24 mai 2016 à 00:44, Dave Horner a écrit :