Plot Plugin

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Plot Plugin

Nigel-7
A plot plugin for Hudson has been posted to
https://hudson.dev.java.net/servlets/ProjectDocumentList

More information, including an example plot, is posted at
http://hudson.gotdns.com/wiki/display/HUDSON/Plot+Plugin

The plugin has these tested featues:
  - collect series data from java properties files
  - ability to set label on y-axis
  - enables multiple plots per project
  - enable multiple data series (lines) per plot
  - enable customization of plot title, y-axis label,
    and data series legend label
  - plot x-axis is always build date
  - mouse-over the x-axis build date shows you the build
    description text
  - data point mouse-over shows actual value
  - data point is clickable if a url is supplied along with the
    y value in the java properties file
  - plot data is stored as a CSV file in the project
    directory, one per plot

Additional features for this plugin are tracked under
https://hudson.dev.java.net/issues/show_bug.cgi?id=219
and I would welcome any help in implementing more of them.

Cheers,
Nige

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Kohsuke Kawaguchi
Administrator
Cool! Thanks. Did "mvn release:prepare release:perform" worked for you?

I updated the navigation bar of Wiki to include the plugin.

2007/7/15, Nigel <[hidden email]>:

> A plot plugin for Hudson has been posted to
> https://hudson.dev.java.net/servlets/ProjectDocumentList
>
> More information, including an example plot, is posted at
> http://hudson.gotdns.com/wiki/display/HUDSON/Plot+Plugin
>
> The plugin has these tested featues:
>   - collect series data from java properties files
>   - ability to set label on y-axis
>   - enables multiple plots per project
>   - enable multiple data series (lines) per plot
>   - enable customization of plot title, y-axis label,
>     and data series legend label
>   - plot x-axis is always build date
>   - mouse-over the x-axis build date shows you the build
>     description text
>   - data point mouse-over shows actual value
>   - data point is clickable if a url is supplied along with the
>     y value in the java properties file
>   - plot data is stored as a CSV file in the project
>     directory, one per plot
>
> Additional features for this plugin are tracked under
> https://hudson.dev.java.net/issues/show_bug.cgi?id=219
> and I would welcome any help in implementing more of them.
>
> Cheers,
> Nige
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Wim Deblauwe
In reply to this post by Nigel-7

  - plot data is stored as a CSV file in the project
    directory, one per plot


What do you mean with the project directory? Is this a directory that hudson creates on the build machine or is it checked into the SCM system?

regards,

Wim

--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Nigel-7
It's the directory that Hudson creates on the build machine.

Cheers,
Nige

On Jul 15, 2007, at 11:23 PM, Wim Deblauwe wrote:

>
>   - plot data is stored as a CSV file in the project
>     directory, one per plot
>
>
> What do you mean with the project directory? Is this a directory  
> that hudson creates on the build machine or is it checked into the  
> SCM system?
>
> regards,
>
> Wim
>
> --
> Vigilog - an open source log file viewer: http://
> vigilog.sourceforge.net
> Blog: http://www.jroller.com/page/Fester

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Nigel-7
In reply to this post by Kohsuke Kawaguchi
release:prepare complained that I didn't have a SNAPSHOT artifact.  I  
looked at some other projects and then tried adding "-SNAPSHOT" to my  
pom.xml file.  This seemed to get me further, but then I failed  
because my local machine login is different from my java.net login.  
At that point I gave up with posting thru mvn.

BTW, thanks for all your help answering questions!

Cheers,
Nige


On Jul 15, 2007, at 4:40 PM, Kohsuke Kawaguchi wrote:

> Cool! Thanks. Did "mvn release:prepare release:perform" worked for  
> you?
>
> I updated the navigation bar of Wiki to include the plugin.
>
> 2007/7/15, Nigel <[hidden email]>:
>> A plot plugin for Hudson has been posted to
>> https://hudson.dev.java.net/servlets/ProjectDocumentList
>>
>> More information, including an example plot, is posted at
>> http://hudson.gotdns.com/wiki/display/HUDSON/Plot+Plugin
>>
>> The plugin has these tested featues:
>>   - collect series data from java properties files
>>   - ability to set label on y-axis
>>   - enables multiple plots per project
>>   - enable multiple data series (lines) per plot
>>   - enable customization of plot title, y-axis label,
>>     and data series legend label
>>   - plot x-axis is always build date
>>   - mouse-over the x-axis build date shows you the build
>>     description text
>>   - data point mouse-over shows actual value
>>   - data point is clickable if a url is supplied along with the
>>     y value in the java properties file
>>   - plot data is stored as a CSV file in the project
>>     directory, one per plot
>>
>> Additional features for this plugin are tracked under
>> https://hudson.dev.java.net/issues/show_bug.cgi?id=219
>> and I would welcome any help in implementing more of them.
>>
>> Cheers,
>> Nige
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> --
> Kohsuke Kawaguchi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Kohsuke Kawaguchi
Administrator
Nigel wrote:
> release:prepare complained that I didn't have a SNAPSHOT artifact.  I  
> looked at some other projects and then tried adding "-SNAPSHOT" to my  
> pom.xml file.  This seemed to get me further, but then I failed  
> because my local machine login is different from my java.net login.  
> At that point I gave up with posting thru mvn.

I added an indirection so that you can do:

   mvn -Djava.net.id=ndelay release:prepare release:perform

The way maven works is that normally your build has a version with
"-SNAPSHOT" and then you run "mvn release:prepare release:perform" to
post a non-snapshot release.

That said, just stick with any development style that works with you.
This is more as FYI for other people who's reading this.

> BTW, thanks for all your help answering questions!

My pleasure.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Wim Deblauwe
You normally set your username in the settings.xml file of maven (that should by in your ~/.m2 directory). Like this:

<settings>
 <servers>
  <server>
    <id> java.net</id>
    <username>your-username-here</username>
  </server>
 </servers>
</settings>

The id should match with the <distributionManagement/> id in your pom.xml.

regards,

Wim

2007/7/17, Kohsuke Kawaguchi <[hidden email]>:
Nigel wrote:
> release:prepare complained that I didn't have a SNAPSHOT artifact.  I
> looked at some other projects and then tried adding "-SNAPSHOT" to my
> pom.xml file.  This seemed to get me further, but then I failed
> because my local machine login is different from my java.net login.
> At that point I gave up with posting thru mvn.

I added an indirection so that you can do:

   mvn - Djava.net.id=ndelay release:prepare release:perform

The way maven works is that normally your build has a version with
"-SNAPSHOT" and then you run "mvn release:prepare release:perform" to
post a non-snapshot release.

That said, just stick with any development style that works with you.
This is more as FYI for other people who's reading this.

> BTW, thanks for all your help answering questions!

My pleasure.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]




--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
Reply | Threaded
Open this post in threaded view
|

Re: Plot Plugin

Stephen Connolly-2

Wim Deblauwe wrote
You normally set your username in the settings.xml file of maven (that
should by in your ~/.m2 directory). Like this:

<settings>
 <servers>
  <server>
    <id>java.net</id>
    <username>your-username-here</username>
  </server>
 </servers>
</settings>

The id should match with the <distributionManagement/> id in your pom.xml.

regards,

Wim
Yeah, but the issue is in how the scm url is defined (including the username).

Maybe we need to fix the scm url in order to use the maven way