Re: New Plugin
Try using developerConnectionscm:git:g...@github.com: jenkinsci/lotus-connections-plugin.git 2012/10/24 Phil Rumble philrum...@hotmail.com I am trying to perform a release and I get this error Any Ideas? [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:04.045s [INFO] Finished at: Wed Oct 24 14:48:37 WST 2012 [INFO] Final Memory: 12M/29M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:perform (default-cli) on project LotusConnectionsPlugin: Unable to checkout from SCM [ERROR] Provider message: [ERROR] The git-clone command failed. [ERROR] Command output: [ERROR] ssh: connect to host github.com port 22: Connection refused [ERROR] fatal: The remote end hung up unexpectedly [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException On Mon, Oct 22, 2012 at 4:28 PM, nicolas de loof nicolas.del...@gmail.com wrote: This should be ok now 2012/10/22 Phil Rumble philrum...@hotmail.com Bump... is there anyone who can help? On Tue, Jul 17, 2012 at 9:19 PM, Phil Rumble philrum...@hotmail.comwrote: I don't how to do that, is there anything that I need to do? On Tue, Jul 17, 2012 at 5:07 PM, Ullrich Hafner ullrich.haf...@gmail.com wrote: Seems that the lotus-connections-plugin is not part of jenkins-ci. I don't know how to fix that with the bot (or in github)... Does anybody know how to assign a project to jenkins-ci? Ulli On 07/17/2012 08:40 AM, Phil Rumble wrote: I don't seem to have commit rights. Can you assist please? On Thu, Jul 12, 2012 at 3:00 PM, nicolas de loof nicolas.del...@gmail.com wrote: + CI job https://jenkins.ci.cloudbees.com/job/plugins/job/lotus-connections/ 2012/7/12 Vojtech Juranek vjura...@redhat.com Hi, forked as lotus-connections-plugin [1]. I got some error when setting up teams, so please verify that you have the commit rights. Welcome aboard! Vojta [1] https://github.com/jenkinsci/lotus-connections-plugin On Thursday 12 July 2012 10:32:20 Phil Rumble wrote: Done. the repo is called LotusConnectionsPlugin On Wed, Jul 11, 2012 at 1:11 PM, Vojtech Juranek vjura...@redhat.comwrote: Hi, could you push your plugin into github (under your account), so that we can fork it under jenkinsci? Thanks Vojta On Tuesday 10 July 2012 22:03:43 Rumble wrote: Hi, I'd like to add a new plugin LotusConnections which will post a build status message to Lotus Connections. My github id is 'philrumble' Thanks
Re: New plugin - builds-chain-fingerprinter
Just have updated readme.md with setup instuctions and screenshots yet. Look for documentaton at https://github.com/advantiss/builds-chain-fingerprinter On Wednesday, October 24, 2012 1:57:58 PM UTC+3, blalor wrote: On Monday, October 22, 2012 5:31:27 AM UTC-4, AdvanTiSS wrote: Hello, let me contribute to jenkins with this plugin please. https://github.com/advantiss/builds-chain-fingerprinter This looks interesting, but can you provide more documentation? How does it work, how is it enabled, etc.
Re: New plugin - builds-chain-fingerprinter
Just have updated readme with setup instuctions and screenshots yet. Look for documentaton at https://github.com/advantiss/builds-chain-fingerprinter On Wednesday, October 24, 2012 1:57:58 PM UTC+3, blalor wrote: On Monday, October 22, 2012 5:31:27 AM UTC-4, AdvanTiSS wrote: Hello, let me contribute to jenkins with this plugin please. https://github.com/advantiss/builds-chain-fingerprinter This looks interesting, but can you provide more documentation? How does it work, how is it enabled, etc.
Re: New plugin - builds-chain-fingerprinter
please also push to jenkinsci repo then, and preferably create a wiki page on wiki.jenkins-ci.org 2012/10/24 AdvanTiSS advant...@gmail.com Just have updated readme.md with setup instuctions and screenshots yet. Look for documentaton at https://github.com/advantiss/** builds-chain-fingerprinterhttps://github.com/advantiss/builds-chain-fingerprinter On Wednesday, October 24, 2012 1:57:58 PM UTC+3, blalor wrote: On Monday, October 22, 2012 5:31:27 AM UTC-4, AdvanTiSS wrote: Hello, let me contribute to jenkins with this plugin please. https://github.com/advantiss/**builds-chain-fingerprinterhttps://github.com/advantiss/builds-chain-fingerprinter This looks interesting, but can you provide more documentation? How does it work, how is it enabled, etc.
Re: New plugin - builds-chain-fingerprinter
you should now 2012/10/24 AdvanTiSS advant...@gmail.com Seems i dont have write access to jenkinsci/b**uilds-chain-fingerprinter On Wednesday, October 24, 2012 2:51:56 PM UTC+3, nicolas de loof wrote: please also push to jenkinsci repo then, and preferably create a wiki page on wiki.jenkins-ci.org 2012/10/24 AdvanTiSS adva...@gmail.com Just have updated readme.md with setup instuctions and screenshots yet. Look for documentaton at https://github.com/advantiss/**b** uilds-chain-fingerprinterhttps://github.com/advantiss/builds-chain-fingerprinter On Wednesday, October 24, 2012 1:57:58 PM UTC+3, blalor wrote: On Monday, October 22, 2012 5:31:27 AM UTC-4, AdvanTiSS wrote: Hello, let me contribute to jenkins with this plugin please. https://github.com/advantiss/**b**uilds-chain-fingerprinterhttps://github.com/advantiss/builds-chain-fingerprinter This looks interesting, but can you provide more documentation? How does it work, how is it enabled, etc.
RE: Parsing build logs
Most of the “things” you see on a build or job page are different types of hudson.model.Action objects that are added to the build or job. If an Action object return something other than null from it’s getDisplayName, getIconFileName and getUrlName methods it will show up on the left side menu. Clicking on the link will navigate to that action-instance’s “index” page. And the index page could be for example an index.jelly file or an implemented doIndex(StaplerRequest r, StaplerResponse s) method in the object if present. For builds the action needs to be added somehow via build.addAction(), it normally is done from a BuildStep, a Recorder or a RunListener in the plugin. The CloudBees blog has an article that explains Actions a bit more http://blog.cloudbees.com/2011/08/jenkins-internal-action-and-its.html Robert Sandell Software Tools Engineer - Tools and Integration Sony Mobile Communications From: jenkinsci-dev@googlegroups.com [mailto:jenkinsci-dev@googlegroups.com] On Behalf Of Terry Hayes Sent: den 24 oktober 2012 15:50 To: jenkinsci-dev@googlegroups.com Subject: Parsing build logs I am trying to find/develop a plugin that will parse a set of build logs created by a build. We are in the process of transitioning to Jenkins from an old proprietary build system that builds using a complex set of build scripts that run multi-threded builds that pipe output to separate files for separate commands. I have read a lot of docs on Jenkins/plugins/java/jelly and have made up a couple simple plugins. I found the log parsing plugin (https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin) for Jenkins and while it seems very useful for builds that run a set of commands in series that send their output to the console I need to be able to present a link to my users (similar to the way this plugin adds one for parsed console output) on the build web page that will take them to a page from which they can select the log they want. I have done most of my coding in PERL and so the Jelly/Java/Javascript stuff in Jenkins is all new to me, as well as the general architecture for how Jenkins interfaces with plugins and the index.jelly files. I have read a lot of documentation on Jenkins plugins but all of it seems to be pretty high level and low detail. I have made a couple of my own and gotten them to do some simple stuff; but what I really need to know is how to add a new link to the page for any/every build (same place as the current console output link) that will take my user to a page where they can see log files for the associated build. I can probably figure out the logic for parsing and presenting those logs to the users myself. I am just banging my head against the whole Jenkins architecture. The code for the Log Parser Plugin seem like a good enough place to start but it is pretty involved and I am trying to learn Java while I figure out how it works. And there does not seem to be any documentation on it's architecture (Log Parser Plugin architecture, not Jenkins. I have read some of that.). Kind of a rambling post I know. I suppose I really just need some sort of a tutorial on how links are generated for pages using the jelly files. I got the Jenkins O'Reilly book and it has some useful information but I haven't found much on plugin development in it. Thanks in advance.
Re: Parsing build logs
A good link. thanks for the quick response. Still digesting what it says, but it looks like this is information on how to add items to the sidebar for a project (under say Jenkins - project name) while I need to add an item to the link for a each build (Jenkins-project name-#42) The sidebar menu for that has items like Status, Changes, Console output, Delete build etc. I would like to add another item there, something like Build logs. The subsection about the URL namespace and the host object does seem to be the right direction I need to go in, however, so I will look into how I get my plugin to get called from the right host object. Thanks again. On Wednesday, October 24, 2012 10:34:32 AM UTC-4, Robert Sandell wrote: Most of the “things” you see on a build or job page are different types of hudson.model.Action objects that are added to the build or job. If an Action object return something other than null from it’s getDisplayName, getIconFileName and getUrlName methods it will show up on the left side menu. Clicking on the link will navigate to that action-instance’s “index” page. And the index page could be for example an index.jelly file or an implemented doIndex(StaplerRequest r, StaplerResponse s) method in the object if present. For builds the action needs to be added somehow via build.addAction(), it normally is done from a BuildStep, a Recorder or a RunListener in the plugin. The CloudBees blog has an article that explains Actions a bit more http://blog.cloudbees.com/2011/08/jenkins-internal-action-and-its.html * * *Robert Sandell* Software Tools Engineer - Tools and Integration Sony Mobile Communications *From:* jenkin...@googlegroups.com javascript: [mailto: jenkin...@googlegroups.com javascript:] *On Behalf Of *Terry Hayes *Sent:* den 24 oktober 2012 15:50 *To:* jenkin...@googlegroups.com javascript: *Subject:* Parsing build logs I am trying to find/develop a plugin that will parse a set of build logs created by a build. We are in the process of transitioning to Jenkins from an old proprietary build system that builds using a complex set of build scripts that run multi-threded builds that pipe output to separate files for separate commands. I have read a lot of docs on Jenkins/plugins/java/jelly and have made up a couple simple plugins. I found the log parsing plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin) for Jenkins and while it seems very useful for builds that run a set of commands in series that send their output to the console I need to be able to present a link to my users (similar to the way this plugin adds one for parsed console output) on the build web page that will take them to a page from which they can select the log they want. I have done most of my coding in PERL and so the Jelly/Java/Javascript stuff in Jenkins is all new to me, as well as the general architecture for how Jenkins interfaces with plugins and the index.jelly files. I have read a lot of documentation on Jenkins plugins but all of it seems to be pretty high level and low detail. I have made a couple of my own and gotten them to do some simple stuff; but what I really need to know is how to add a new link to the page for any/every build (same place as the current console output link) that will take my user to a page where they can see log files for the associated build. I can probably figure out the logic for parsing and presenting those logs to the users myself. I am just banging my head against the whole Jenkins architecture. The code for the Log Parser Plugin seem like a good enough place to start but it is pretty involved and I am trying to learn Java while I figure out how it works. And there does not seem to be any documentation on it's architecture (Log Parser Plugin architecture, not Jenkins. I have read some of that.). Kind of a rambling post I know. I suppose I really just need some sort of a tutorial on how links are generated for pages using the jelly files. I got the Jenkins O'Reilly book and it has some useful information but I haven't found much on plugin development in it. Thanks in advance.
Re: Re: Backports to LTS 1.480.1
RC posted. 2012/10/24 Vojtech Juranek vjura...@redhat.com: FYI: on JonJ there are some failed tests because of time out [1], on our instance it passed without any failure [2], so there shouldn't be any regressions caused by backporting [1] https://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_lts_branch/75/ [2] http://ci.jboss.org/hudson/job/HTS-Jenkins-LTS/31/ On Tuesday 23 October 2012 12:10:02 Kohsuke Kawaguchi wrote: I'm flying back to home today, and planning to take a sweep Tuesday afternoon. 2012/10/22 Vojtech Juranek vjura...@redhat.com: Hi, as agreed on the last Jenkins meeting [1], next LTS will be based on 1.480. I identified and backported following bug fixes: JENKINS-13336 Invalid JSON is produced during remote api operations [2] JENKINS-14667 java.io.InvalidClassException [3] JENKINS-15277 Check view permissions before showing config page [4] JENKINS-15493 Excessive memory usage with large number of request threads [5] Please let me know by Tuesday if there are any other critical or blocker issues need to be backported to 1.480.1. As also agree on the meeting, RC should be available by Wednesday. Thanks Vojta [1] http://meetings.jenkins-ci.org/jenkins/2012/jenkins.2012-10-17-18.02.html [2] https://issues.jenkins-ci.org/browse/JENKINS-13336 [3] https://issues.jenkins-ci.org/browse/JENKINS-14667 [4] https://issues.jenkins-ci.org/browse/JENKINS-15277 [5] https://issues.jenkins-ci.org/browse/JENKINS-15493 -- Kohsuke Kawaguchi
Re: New Plugin
so, you didn't used the ssh mode I suggested for scm : scm:git:g...@github.com:jenkinsci/lotus-connections-plugin.git 2012/10/25 Phil Rumble philrum...@hotmail.com Thank you for information I made the changes, and well here is the output Working directory: /DD/lc/lotus-connections-plugin Username for 'https://github.com': philrumble Password for 'https://philrum...@github.com': [INFO] Release preparation complete. [INFO] [INFO] --- maven-release-plugin:2.0-beta-9:perform (default-cli) @ LotusConnectionsPlugin --- [INFO] Checking out the project to perform the release ... [INFO] Executing: /bin/sh -c cd /DD/lc/lotus-connections-plugin/target git clone git://github.com/jenkinsci/lotus-connections-plugin.git/DD/lc/lotus-connections-plugin/target/checkout [INFO] Working directory: /DD/lc/lotus-connections-plugin/target [ERROR] The git-clone command failed. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:42.861s [INFO] Finished at: Thu Oct 25 09:23:16 WST 2012 [INFO] Final Memory: 12M/33M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:perform (default-cli) on project LotusConnectionsPlugin: Unable to checkout from SCM [ERROR] Provider message: [ERROR] The git-clone command failed. [ERROR] Command output: [ERROR] fatal: unable to connect to github.com: [ERROR] github.com[0: 207.97.227.239]: errno=Connection refused [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException prumble@prumble-desktop:/DD/lc/lotus-connections-plugin$ The pom.xml has scm connectionscm:git:git:// github.com/jenkinsci/lotus-connections-plugin.git/connection developerConnectionscm:git:git:// g...@github.com/jenkinsci/lotus-connections-plugin.git /developerConnection urlhttps://github.com/jenkinsci/lotus-connections-plugin/url /scm On Wed, Oct 24, 2012 at 2:59 PM, nicolas de loof nicolas.del...@gmail.com wrote: Try using developerConnectionscm:git:g...@github.com: jenkinsci/lotus-connections-plugin.git 2012/10/24 Phil Rumble philrum...@hotmail.com I am trying to perform a release and I get this error Any Ideas? [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3:04.045s [INFO] Finished at: Wed Oct 24 14:48:37 WST 2012 [INFO] Final Memory: 12M/29M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:perform (default-cli) on project LotusConnectionsPlugin: Unable to checkout from SCM [ERROR] Provider message: [ERROR] The git-clone command failed. [ERROR] Command output: [ERROR] ssh: connect to host github.com port 22: Connection refused [ERROR] fatal: The remote end hung up unexpectedly [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException On Mon, Oct 22, 2012 at 4:28 PM, nicolas de loof nicolas.del...@gmail.com wrote: This should be ok now 2012/10/22 Phil Rumble philrum...@hotmail.com Bump... is there anyone who can help? On Tue, Jul 17, 2012 at 9:19 PM, Phil Rumble philrum...@hotmail.comwrote: I don't how to do that, is there anything that I need to do? On Tue, Jul 17, 2012 at 5:07 PM, Ullrich Hafner ullrich.haf...@gmail.com wrote: Seems that the lotus-connections-plugin is not part of jenkins-ci. I don't know how to fix that with the bot (or in github)... Does anybody know how to assign a project to jenkins-ci? Ulli On 07/17/2012 08:40 AM, Phil Rumble wrote: I don't seem to have commit rights. Can you assist please? On Thu, Jul 12, 2012 at 3:00 PM, nicolas de loof nicolas.del...@gmail.com wrote: + CI job https://jenkins.ci.cloudbees.com/job/plugins/job/lotus-connections/ 2012/7/12 Vojtech Juranek vjura...@redhat.com Hi, forked as lotus-connections-plugin [1]. I got some error when setting up teams, so please verify that you have the commit rights. Welcome aboard! Vojta [1]