Re: How to create custom Jenkins plugin for the .NET project ?

2016-06-24 Thread Gavin Mogan
I'm seconding the updating of the existing plugin

That being said, I did 
write https://github.com/halkeye/AssemblyVersionChanger/blob/master/Main.cs 
a couple jobs ago that created a cli tool that would update the assembly 
information. That might be a good starting point.

There might be better ideas on the user list if you don't want to modify 
the plugin.

On Friday, June 24, 2016 at 8:34:37 AM UTC-7, slide wrote:
>
> I use the MSBuild Community tasks to do this. I generate a 
> GlobalVersion.cs file during the build which is included in my projects. 
> This file contains common assembly attributes. You could even pass in git 
> or other SCM revision information as a property to be included in the 
> version. 
>
> On Fri, Jun 24, 2016 at 5:24 AM Tom Moore  > wrote:
>
>> For Company and Copyright, why aren't you just editing the file and 
>> saving it in your repository?  Those values shouldn't change enough to 
>> warrant build time modification.
>>
>> The values in AssemblyInfo.cs that are most likely candidates for build 
>> time modification are:
>> [assembly: AssemblyVersion("0.0.0")]
>> [assembly: AssemblyFileVersion("0.0.0")]
>> [assembly: AssemblyInformationalVersion("0.0.0")]
>>
>> The last two:
>> AssemblyFileVersion
>> AssemblyInformationalVersion
>>
>> don't get into the file by default and have to be added.
>>
>>
>> On Friday, June 24, 2016 at 2:49:43 AM UTC-4, Oleg Nenashev wrote:
>>>
>>> I think it would be better to integrate the functionality into an 
>>> existing plugin like 
>>> https://wiki.jenkins-ci.org/display/JENKINS/Change+Assembly+Version .
>>>
>>> пятница, 24 июня 2016 г., 7:16:07 UTC+2 пользователь Vadivel Natarajan 
>>> написал:

 Hi All, 

 I would like to modify the AssemblyCopyright and AssemblyCompany in 
 AssemblyInfo.cs file of a .NET project. As far as i searched, i didn't get 
 an any idea. So i decided to write a plugin to achieve this. So, what i 
 have to do first like what are the softwares that should install in server 
 machine and in which programming language do i need to written the code? 
 How to test the written plugin?


 Below are the things i need to change in the file

 [assembly: AssemblyCopyright("2001- 2010")]
 [assembly: AssemblyCompany("The  Software Foundation")]


 Note: I have tried it using text find/replace in jenkins. No use in 
 that. So, please do let me know is there any other way to achieve this.


 Regards,
 Vadivel 

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/5f1d1176-16d6-4f8c-a615-f4d02fd228a6%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a02c9dbb-516b--9a75-c7ca12dc95b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cannot Load Update Center

2016-06-24 Thread moiz
Hi,

Seeing *Cannot load upload center *error message 
on https://wiki.jenkins-ci.org/display/JENKINS/Sauce+OnDemand+Plugin home 
page. Is this related to outage we had today?

Thanks,
Moiz

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/10a27f02-7468-429b-a64d-73aa67b5a7f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] Build Error

2016-06-24 Thread Baptiste Mathus
@Andrew, out of curiosity, what are you trying to do? Do you want to hack
on blueocean, or just want to play with it?

If the latter, then it'd be probably simpler to go with Docker.
I pushed an updated image yesterday at batmat/blueocean-demo.

$ docker run -p 8080:8080 batmat/blueocean-demo

Then point your browser at http://localhost:8080

(since jenkinsci/blueocean is a bit outdated, but should be updated soon).

HTH


2016-06-24 22:13 GMT+02:00 Thomas Zoratto :

> Another process is listening on this port.
>
> Le 24 juin 2016 à 22:10, Andrew Gray  a écrit :
>
> Hey Cliff,
>
> I was able to get further. I installed a newer version of Maven... however
> now after running the following command:
>
> mvn -f blueocean-plugin/pom.xml hpi:run
>
> I receive this error:
>
> FAILED ServerConnector@7b4aa08d{HTTP/1.1}{0.0.0.0:8080}:
> java.net.BindException: Address already in use
>
> Any help is appreciated.
>
> Thanks,
> Andrew
>
>
> On Thursday, June 23, 2016 at 4:35:20 PM UTC-4, Andrew Gray wrote:
>>
>> I tried to follow the github instructions for building/running Blue
>> Ocean... however I encountered some errors I was hoping someone could help
>> me resolve:
>> Any help is appreciated.
>>
>> [INFO] Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO]
>> 
>> [INFO] Building (Alpha) BlueOcean :: Aggregator 1.0-alpha-1-SNAPSHOT
>> [INFO]
>> 
>> [INFO]
>> [INFO] >>> maven-hpi-plugin:1.117:run (default-cli) @ blueocean >>>
>> [WARNING] The POM for
>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT is missing, no
>> dependency information available
>> [WARNING] The POM for
>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for
>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT is missing, no
>> dependency information available
>> [WARNING] The POM for
>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT is
>> missing, no dependency information available
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 4.095s
>> [INFO] Finished at: Thu Jun 23 16:31:50 EDT 2016
>> [INFO] Final Memory: 24M/309M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal on project blueocean: Could not resolve
>> dependencies for project
>> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following
>> artifacts could not be resolved:
>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT,
>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT,
>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT,
>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure
>> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in
>> http://repo.jenkins-ci.org/public/ was cached in the local repository,
>> resolution will not be reattempted until the update interval of
>> repo.jenkins-ci.org has elapsed or updates are forced -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal on project blueocean: Could not resolve dependencies for project
>> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following
>> artifacts could not be resolved:
>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT,
>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT,
>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT,
>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure
>> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in
>> http://repo.jenkins-ci.org/public/ was cached in the local repository,
>> resolution will not be reattempted until the update interval of
>> repo.jenkins-ci.org has elapsed or updates are forced
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at
>> 

Re: Request commit access to flaky-test-handler-plugin

2016-06-24 Thread Steven Peters
Thanks!

On Fri, Jun 24, 2016 at 12:35 PM, Baptiste Mathus  wrote:

> Done.
>
> You should have received an invitation, which you must accept to enable
> your permissions.
>
> Also made you the JIRA component lead.
>
> Cheers
>
> 2016-06-24 18:11 GMT+02:00 Steven Peters :
>
>> Ok, thanks. I'm happy to let someone else run the plugin, but I haven't
>> seen any recent evidence or activity of such a person.
>>
>> My github and jenkins id's are both scpeters
>>
>> Regards,
>> Steve
>>
>> On Fri, Jun 24, 2016 at 8:59 AM, Baptiste Mathus  wrote:
>>
>>> Hi Steven,
>>>
>>> Sorry for the lag. Just pinged the seemingly current/last maintainer in
>>> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5#issuecomment-228384686
>>>
>>> Without answer in a very short term, say before the end of the WE, I'll
>>> grant you the permissions to become the maintainer of that plugin.
>>>
>>> In the meantime, please confirm or provide both your GitHub id (ok, that
>>> one I have), and your Jenkins ID for affecting the issues to you as a new
>>> maintainer.
>>>
>>> Thanks
>>>
>>> 2016-06-22 18:06 GMT+00:00 Steven Peters :
>>>
 I'll repeat this request. I submitted the following pull requests
 (github id scpeters) for the flaky-test-handler-plugin several months ago
 and have received no response. Is it appropriate to ask to be a maintainer
 if the plugin is otherwise unmaintained?

 Regards,
 Steve

 On Wednesday, June 8, 2016 at 12:49:16 AM UTC-7, Steven Peters wrote:
>
> I've had two pull requests to the flaky-test-handler-plugin waiting
> for almost 2 months with no response. #4 adds an exception handler for
> empty junit files, and #5 makes the rendered output easier to read.
>
> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/4
> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5
>
> I think these are safe to merge. Is it reasonable to ask for commit
> access, or should I be asking for a code review on this list?
>
> Regards,
> Steve Peters
> http://osrfoundation.org
>
 --
 You received this message because you are subscribed to the Google
 Groups "Jenkins Developers" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-dev+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-dev/17008f0f-4ce2-45b7-832e-4267b1cce67c%40googlegroups.com
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Jenkins Developers" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/jenkinsci-dev/NAGW867WRtY/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> jenkinsci-dev+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Je%2BwUwtWgteBDge4HVhk7Xxi7d1S1aR1wzOf0tv9tqg%40mail.gmail.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CAHaZ56ru2JDQZ%3DEgDQ0eDy0EtbRikL8FwfjaykUUhKZLLbAALQ%40mail.gmail.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/NAGW867WRtY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5d%3DxAEUhjJbTN307m7nNrCkeZT-oQUjDV63b_2LBMBUw%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.

Re: [Blue Ocean] Build Error

2016-06-24 Thread Thomas Zoratto
Another process is listening on this port.

> Le 24 juin 2016 à 22:10, Andrew Gray  a écrit :
> 
> Hey Cliff,
> 
> I was able to get further. I installed a newer version of Maven... however 
> now after running the following command:
> 
> mvn -f blueocean-plugin/pom.xml hpi:run
> I receive this error:
> 
> FAILED ServerConnector@7b4aa08d{HTTP/1.1}{0.0.0.0:8080}: 
> java.net.BindException: Address already in use
> 
> Any help is appreciated.
> 
> Thanks,
> Andrew
> 
> 
> On Thursday, June 23, 2016 at 4:35:20 PM UTC-4, Andrew Gray wrote:
> I tried to follow the github instructions for building/running Blue Ocean... 
> however I encountered some errors I was hoping someone could help me resolve:
> Any help is appreciated.
> 
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> 
> [INFO] Building (Alpha) BlueOcean :: Aggregator 1.0-alpha-1-SNAPSHOT
> [INFO] 
> 
> [INFO]
> [INFO] >>> maven-hpi-plugin:1.117:run (default-cli) @ blueocean >>>
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT is missing, 
> no dependency information available
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT is missing, 
> no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 4.095s
> [INFO] Finished at: Thu Jun 23 16:31:50 EDT 2016
> [INFO] Final Memory: 24M/309M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project blueocean: Could not resolve 
> dependencies for project 
> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following 
> artifacts could not be resolved: 
> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure to 
> find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in 
> http://repo.jenkins-ci.org/public/  was 
> cached in the local repository, resolution will not be reattempted until the 
> update interval of repo.jenkins-ci.org  has 
> elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal on project blueocean: Could not resolve dependencies for project 
> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following 
> artifacts could not be resolved: 
> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure to 
> find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in 
> http://repo.jenkins-ci.org/public/  was 
> cached in the local repository, resolution will not be reattempted until the 
> update interval of repo.jenkins-ci.org  has 
> elapsed or updates are forced
> at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
> at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at 
> 

Re: [Blue Ocean] Build Error

2016-06-24 Thread Andrew Gray
Hey Cliff,

I was able to get further. I installed a newer version of Maven... however 
now after running the following command:

mvn -f blueocean-plugin/pom.xml hpi:run

I receive this error:

FAILED ServerConnector@7b4aa08d{HTTP/1.1}{0.0.0.0:8080}: 
java.net.BindException: Address already in use

Any help is appreciated.

Thanks,
Andrew


On Thursday, June 23, 2016 at 4:35:20 PM UTC-4, Andrew Gray wrote:
>
> I tried to follow the github instructions for building/running Blue 
> Ocean... however I encountered some errors I was hoping someone could help 
> me resolve:
> Any help is appreciated.
>
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> 
> [INFO] Building (Alpha) BlueOcean :: Aggregator 1.0-alpha-1-SNAPSHOT
> [INFO] 
> 
> [INFO]
> [INFO] >>> maven-hpi-plugin:1.117:run (default-cli) @ blueocean >>>
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT is 
> missing, no dependency information available
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT is missing, no 
> dependency information available
> [WARNING] The POM for 
> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT is 
> missing, no dependency information available
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 4.095s
> [INFO] Finished at: Thu Jun 23 16:31:50 EDT 2016
> [INFO] Final Memory: 24M/309M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project blueocean: Could not resolve 
> dependencies for project 
> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following 
> artifacts could not be resolved: 
> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure 
> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in 
> http://repo.jenkins-ci.org/public/ was cached in the local repository, 
> resolution will not be reattempted until the update interval of 
> repo.jenkins-ci.org has elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal on project blueocean: Could not resolve dependencies for project 
> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following 
> artifacts could not be resolved: 
> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT, 
> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure 
> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in 
> http://repo.jenkins-ci.org/public/ was cached in the local repository, 
> resolution will not be reattempted until the update interval of 
> repo.jenkins-ci.org has elapsed or updates are forced
> at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
> at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at 

Re: Request commit access to flaky-test-handler-plugin

2016-06-24 Thread Baptiste Mathus
Done.

You should have received an invitation, which you must accept to enable
your permissions.

Also made you the JIRA component lead.

Cheers

2016-06-24 18:11 GMT+02:00 Steven Peters :

> Ok, thanks. I'm happy to let someone else run the plugin, but I haven't
> seen any recent evidence or activity of such a person.
>
> My github and jenkins id's are both scpeters
>
> Regards,
> Steve
>
> On Fri, Jun 24, 2016 at 8:59 AM, Baptiste Mathus  wrote:
>
>> Hi Steven,
>>
>> Sorry for the lag. Just pinged the seemingly current/last maintainer in
>> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5#issuecomment-228384686
>>
>> Without answer in a very short term, say before the end of the WE, I'll
>> grant you the permissions to become the maintainer of that plugin.
>>
>> In the meantime, please confirm or provide both your GitHub id (ok, that
>> one I have), and your Jenkins ID for affecting the issues to you as a new
>> maintainer.
>>
>> Thanks
>>
>> 2016-06-22 18:06 GMT+00:00 Steven Peters :
>>
>>> I'll repeat this request. I submitted the following pull requests
>>> (github id scpeters) for the flaky-test-handler-plugin several months ago
>>> and have received no response. Is it appropriate to ask to be a maintainer
>>> if the plugin is otherwise unmaintained?
>>>
>>> Regards,
>>> Steve
>>>
>>> On Wednesday, June 8, 2016 at 12:49:16 AM UTC-7, Steven Peters wrote:

 I've had two pull requests to the flaky-test-handler-plugin waiting for
 almost 2 months with no response. #4 adds an exception handler for empty
 junit files, and #5 makes the rendered output easier to read.

 https://github.com/jenkinsci/flaky-test-handler-plugin/pull/4
 https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5

 I think these are safe to merge. Is it reasonable to ask for commit
 access, or should I be asking for a code review on this list?

 Regards,
 Steve Peters
 http://osrfoundation.org

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-dev+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-dev/17008f0f-4ce2-45b7-832e-4267b1cce67c%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Developers" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-dev/NAGW867WRtY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Je%2BwUwtWgteBDge4HVhk7Xxi7d1S1aR1wzOf0tv9tqg%40mail.gmail.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAHaZ56ru2JDQZ%3DEgDQ0eDy0EtbRikL8FwfjaykUUhKZLLbAALQ%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5d%3DxAEUhjJbTN307m7nNrCkeZT-oQUjDV63b_2LBMBUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Plugin dev] Handling JSONObject from config.jelly

2016-06-24 Thread Jesse Glick
On Fri, Jun 24, 2016 at 11:50 AM, Tiago Lopes  wrote:
> it's not finding with the f:property [searching in the
> wrong package])

Not sure what this means. You do not need low-level `st:include` here.

> now
> I'm storing the values in a different class and not in the one where I need
> them

A simple `.` notation in Java to access the field from a nested object.

Look at `ui-samples-plugin`.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr35ooMg%2Bj86%3DwF8Zi7ymP%3D%3Df1MRndwNbiL3cWyKzxEw8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Groovy DSL arguments

2016-06-24 Thread Jesse Glick
On Fri, Jun 24, 2016 at 8:39 AM, Paul Allen  wrote:
> java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast 
> to java.lang.Class
> at 
> org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:214)

Probably JENKINS-28510. Generally speaking, Pipeline steps are not
designed to take arbitrary data types as parameters, only things which
Jenkins databinding handles: primitives, `Describable`s, and
`List`s/arrays of the above.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1ipk2j6AL%2B1Zwfa2Oy1fL4fUMNNqpqVApFd6PsDsT0GA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ATTN] eclipse users - neon doa

2016-06-24 Thread James Nord
Hi all,

If you are an eclipse user and a Jenkins developer this is your early 
warning not to upgrade to Eclipse Neon as it's compiler is not adhering to 
spec and you won't be able to compile Jenkins and or plugins (Reference 
).

For those of you on windows with HiDPI you can get HiDPI support by 
installing mars, updating the core eclipse platform to neon (but nothing 
else!!), then replace the files in the root of your eclipse install with 
the ones from neon (so you can see the eclipse startup log in the UI).

Happy coding...

/James

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a22a5133-8701-40f4-92ce-ed209e14ceda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] Build Error

2016-06-24 Thread Cliff Meyers
Hi Andrew,

This error in the log file appears to be the culprit:

Detected Maven Version: 3.0.5 is not in the allowed range 3.1.0.

I suggest upgrading to a later version. You can see your current version w/
"mvn -version". If you are using a package manager to install it, hopefully
there's a new one available. If not, you can download from the Apache Maven
site and install to an arbitrary directory. Just make sure your M2_HOME
environment variable is set and that M2_HOME/bin is on your path.

-Cliff


On Fri, Jun 24, 2016 at 11:38 AM, Andrew Gray  wrote:

> Hey Cliff,
>
> Thanks for the response! I am definitely running from the parent
> directory. I tried creating a new directory and pulling the code down and
> running the commands again but ran into the same errors. Here is some more
> information:
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:Ubuntu 14.04.4 LTS
> Release:14.04
> Codename: trusty
>
> I also created a log of the output I received after running mvn clean
> install in the new directory.
>
> Any help is appreciated.
>
> Thanks!
>
> On Thursday, June 23, 2016 at 4:58:06 PM UTC-4, Cliff Meyers wrote:
>>
>> Hi Andrew,
>>
>> It looks like you might be running the shell commands from the
>> "blueocean-plugin" subdirectory. Can you double-check that you are running
>> the shell commands from the parent directory?
>>
>> -Cliff
>>
>>
>> On Thu, Jun 23, 2016 at 4:35 PM, Andrew Gray  wrote:
>>
>>> I tried to follow the github instructions for building/running Blue
>>> Ocean... however I encountered some errors I was hoping someone could help
>>> me resolve:
>>> Any help is appreciated.
>>>
>>> [INFO] Error stacktraces are turned on.
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> [INFO]
>>> 
>>> [INFO] Building (Alpha) BlueOcean :: Aggregator 1.0-alpha-1-SNAPSHOT
>>> [INFO]
>>> 
>>> [INFO]
>>> [INFO] >>> maven-hpi-plugin:1.117:run (default-cli) @ blueocean >>>
>>> [WARNING] The POM for
>>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT is missing, no
>>> dependency information available
>>> [WARNING] The POM for
>>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for
>>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT is missing, no
>>> dependency information available
>>> [WARNING] The POM for
>>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT is
>>> missing, no dependency information available
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 4.095s
>>> [INFO] Finished at: Thu Jun 23 16:31:50 EDT 2016
>>> [INFO] Final Memory: 24M/309M
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal on project blueocean: Could not resolve
>>> dependencies for project
>>> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following
>>> artifacts could not be resolved:
>>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT,
>>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT,
>>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT,
>>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure
>>> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in
>>> http://repo.jenkins-ci.org/public/ was cached in the local repository,
>>> resolution will not be reattempted until the update interval of
>>> repo.jenkins-ci.org has elapsed or updates are forced -> [Help 1]
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>> execute goal on project blueocean: Could not resolve dependencies for
>>> project io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The
>>> following artifacts could not be resolved:
>>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT,
>>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT,
>>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT,
>>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure
>>> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in
>>> http://repo.jenkins-ci.org/public/ was cached in the local repository,
>>> resolution will not be reattempted until the update interval of
>>> repo.jenkins-ci.org has elapsed or updates are forced
>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
>>> at
>>> 

Re: [Plugin dev] Handling JSONObject from config.jelly

2016-06-24 Thread Tiago Lopes
I need a work around for the optionalBlock, because if it's checked 
everything works well, the instance of my separate class (GenerateReport) 
is created and passed to the builder's @DataBoundConstructor, however I 
have set "@Nullable GenerateReport generateReport" because if the 
optionalBlock is not checked the  is never called and no 
object is created, thus losing the values from the generate report 
config.jelly... how can I handle this (persist them regardless of 
optionalBlock option)? 

or replace the optionalBlock with a similar option to hide/show certain 
fields?

On Friday, June 24, 2016 at 4:50:00 PM UTC+1, Tiago Lopes wrote:
>
> I have implemented the separate class, I'm using  to 
> include its config.jelly (it's not finding with the f:property [searching 
> in the wrong package]) and it's working as before, meaning...
>
> this did in no way solve my problem, actually made it more complex, as now 
> I'm storing the values in a different class and not in the one where I need 
> them, also, how come I don't need optionalBlock? what's the other option?
>
> All I managed to do was include the configuration form, as it was, still 
> no values being persisted.
>
> On Wednesday, June 22, 2016 at 6:45:08 PM UTC+1, Jesse Glick wrote:
>>
>> You are doing too much work. Create a separate class extending 
>> `AbstractDescribableImpl` with its own `config.jelly` and just use 
>> `f:property` to include its configuration form. You do not need to use 
>> low-level controls like `f:optionalBlock` or deal with raw JSON form 
>> data. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/86499761-0686-4365-93f2-635c13314187%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Request commit access to flaky-test-handler-plugin

2016-06-24 Thread Steven Peters
Ok, thanks. I'm happy to let someone else run the plugin, but I haven't
seen any recent evidence or activity of such a person.

My github and jenkins id's are both scpeters

Regards,
Steve

On Fri, Jun 24, 2016 at 8:59 AM, Baptiste Mathus  wrote:

> Hi Steven,
>
> Sorry for the lag. Just pinged the seemingly current/last maintainer in
> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5#issuecomment-228384686
>
> Without answer in a very short term, say before the end of the WE, I'll
> grant you the permissions to become the maintainer of that plugin.
>
> In the meantime, please confirm or provide both your GitHub id (ok, that
> one I have), and your Jenkins ID for affecting the issues to you as a new
> maintainer.
>
> Thanks
>
> 2016-06-22 18:06 GMT+00:00 Steven Peters :
>
>> I'll repeat this request. I submitted the following pull requests (github
>> id scpeters) for the flaky-test-handler-plugin several months ago and have
>> received no response. Is it appropriate to ask to be a maintainer if the
>> plugin is otherwise unmaintained?
>>
>> Regards,
>> Steve
>>
>> On Wednesday, June 8, 2016 at 12:49:16 AM UTC-7, Steven Peters wrote:
>>>
>>> I've had two pull requests to the flaky-test-handler-plugin waiting for
>>> almost 2 months with no response. #4 adds an exception handler for empty
>>> junit files, and #5 makes the rendered output easier to read.
>>>
>>> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/4
>>> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5
>>>
>>> I think these are safe to merge. Is it reasonable to ask for commit
>>> access, or should I be asking for a code review on this list?
>>>
>>> Regards,
>>> Steve Peters
>>> http://osrfoundation.org
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/17008f0f-4ce2-45b7-832e-4267b1cce67c%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/NAGW867WRtY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Je%2BwUwtWgteBDge4HVhk7Xxi7d1S1aR1wzOf0tv9tqg%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAHaZ56ru2JDQZ%3DEgDQ0eDy0EtbRikL8FwfjaykUUhKZLLbAALQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Request commit access to flaky-test-handler-plugin

2016-06-24 Thread Baptiste Mathus
Hi Steven,

Sorry for the lag. Just pinged the seemingly current/last maintainer in
https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5#issuecomment-228384686

Without answer in a very short term, say before the end of the WE, I'll
grant you the permissions to become the maintainer of that plugin.

In the meantime, please confirm or provide both your GitHub id (ok, that
one I have), and your Jenkins ID for affecting the issues to you as a new
maintainer.

Thanks

2016-06-22 18:06 GMT+00:00 Steven Peters :

> I'll repeat this request. I submitted the following pull requests (github
> id scpeters) for the flaky-test-handler-plugin several months ago and have
> received no response. Is it appropriate to ask to be a maintainer if the
> plugin is otherwise unmaintained?
>
> Regards,
> Steve
>
> On Wednesday, June 8, 2016 at 12:49:16 AM UTC-7, Steven Peters wrote:
>>
>> I've had two pull requests to the flaky-test-handler-plugin waiting for
>> almost 2 months with no response. #4 adds an exception handler for empty
>> junit files, and #5 makes the rendered output easier to read.
>>
>> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/4
>> https://github.com/jenkinsci/flaky-test-handler-plugin/pull/5
>>
>> I think these are safe to merge. Is it reasonable to ask for commit
>> access, or should I be asking for a code review on this list?
>>
>> Regards,
>> Steve Peters
>> http://osrfoundation.org
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/17008f0f-4ce2-45b7-832e-4267b1cce67c%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Je%2BwUwtWgteBDge4HVhk7Xxi7d1S1aR1wzOf0tv9tqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Plugin dev] Handling JSONObject from config.jelly

2016-06-24 Thread Tiago Lopes
I have implemented the separate class, I'm using  to 
include its config.jelly (it's not finding with the f:property [searching 
in the wrong package]) and it's working as before, meaning...

this did in no way solve my problem, actually made it more complex, as now 
I'm storing the values in a different class and not in the one where I need 
them, also, how come I don't need optionalBlock? what's the other option?

All I managed to do was include the configuration form, as it was, still no 
values being persisted.

On Wednesday, June 22, 2016 at 6:45:08 PM UTC+1, Jesse Glick wrote:
>
> You are doing too much work. Create a separate class extending 
> `AbstractDescribableImpl` with its own `config.jelly` and just use 
> `f:property` to include its configuration form. You do not need to use 
> low-level controls like `f:optionalBlock` or deal with raw JSON form 
> data. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/483380d1-a96f-4bcd-b3bb-580c914acb57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] Build Error

2016-06-24 Thread Andrew Gray
Hey Cliff,

Thanks for the response! I am definitely running from the parent directory. 
I tried creating a new directory and pulling the code down and running the 
commands again but ran into the same errors. Here is some more information:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.4 LTS
Release:14.04
Codename: trusty

I also created a log of the output I received after running mvn clean 
install in the new directory.

Any help is appreciated.

Thanks!

On Thursday, June 23, 2016 at 4:58:06 PM UTC-4, Cliff Meyers wrote:
>
> Hi Andrew,
>
> It looks like you might be running the shell commands from the 
> "blueocean-plugin" subdirectory. Can you double-check that you are running 
> the shell commands from the parent directory?
>
> -Cliff
>
>
> On Thu, Jun 23, 2016 at 4:35 PM, Andrew Gray  > wrote:
>
>> I tried to follow the github instructions for building/running Blue 
>> Ocean... however I encountered some errors I was hoping someone could help 
>> me resolve:
>> Any help is appreciated.
>>
>> [INFO] Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO] 
>> 
>> [INFO] Building (Alpha) BlueOcean :: Aggregator 1.0-alpha-1-SNAPSHOT
>> [INFO] 
>> 
>> [INFO]
>> [INFO] >>> maven-hpi-plugin:1.117:run (default-cli) @ blueocean >>>
>> [WARNING] The POM for 
>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT is missing, no 
>> dependency information available
>> [WARNING] The POM for 
>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT is 
>> missing, no dependency information available
>> [WARNING] The POM for 
>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT is missing, no 
>> dependency information available
>> [WARNING] The POM for 
>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT is 
>> missing, no dependency information available
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 4.095s
>> [INFO] Finished at: Thu Jun 23 16:31:50 EDT 2016
>> [INFO] Final Memory: 24M/309M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal on project blueocean: Could not resolve 
>> dependencies for project 
>> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following 
>> artifacts could not be resolved: 
>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT, 
>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT, 
>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT, 
>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure 
>> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in 
>> http://repo.jenkins-ci.org/public/ was cached in the local repository, 
>> resolution will not be reattempted until the update interval of 
>> repo.jenkins-ci.org has elapsed or updates are forced -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>> goal on project blueocean: Could not resolve dependencies for project 
>> io.jenkins.blueocean:blueocean:hpi:1.0-alpha-1-SNAPSHOT: The following 
>> artifacts could not be resolved: 
>> io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT, 
>> io.jenkins.blueocean:blueocean-dashboard:jar:1.0-alpha-1-SNAPSHOT, 
>> io.jenkins.blueocean:blueocean-rest:jar:1.0-alpha-1-SNAPSHOT, 
>> io.jenkins.blueocean:blueocean-rest-impl:jar:1.0-alpha-1-SNAPSHOT: Failure 
>> to find io.jenkins.blueocean:blueocean-web:jar:1.0-alpha-1-SNAPSHOT in 
>> http://repo.jenkins-ci.org/public/ was cached in the local repository, 
>> resolution will not be reattempted until the update interval of 
>> repo.jenkins-ci.org has elapsed or updates are forced
>> at 
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
>> at 
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)

Re: How to create custom Jenkins plugin for the .NET project ?

2016-06-24 Thread Slide
I use the MSBuild Community tasks to do this. I generate a GlobalVersion.cs
file during the build which is included in my projects. This file contains
common assembly attributes. You could even pass in git or other SCM
revision information as a property to be included in the version.

On Fri, Jun 24, 2016 at 5:24 AM Tom Moore  wrote:

> For Company and Copyright, why aren't you just editing the file and saving
> it in your repository?  Those values shouldn't change enough to warrant
> build time modification.
>
> The values in AssemblyInfo.cs that are most likely candidates for build
> time modification are:
> [assembly: AssemblyVersion("0.0.0")]
> [assembly: AssemblyFileVersion("0.0.0")]
> [assembly: AssemblyInformationalVersion("0.0.0")]
>
> The last two:
> AssemblyFileVersion
> AssemblyInformationalVersion
>
> don't get into the file by default and have to be added.
>
>
> On Friday, June 24, 2016 at 2:49:43 AM UTC-4, Oleg Nenashev wrote:
>>
>> I think it would be better to integrate the functionality into an
>> existing plugin like
>> https://wiki.jenkins-ci.org/display/JENKINS/Change+Assembly+Version .
>>
>> пятница, 24 июня 2016 г., 7:16:07 UTC+2 пользователь Vadivel Natarajan
>> написал:
>>>
>>> Hi All,
>>>
>>> I would like to modify the AssemblyCopyright and AssemblyCompany in
>>> AssemblyInfo.cs file of a .NET project. As far as i searched, i didn't get
>>> an any idea. So i decided to write a plugin to achieve this. So, what i
>>> have to do first like what are the softwares that should install in server
>>> machine and in which programming language do i need to written the code?
>>> How to test the written plugin?
>>>
>>>
>>> Below are the things i need to change in the file
>>>
>>> [assembly: AssemblyCopyright("2001- 2010")]
>>> [assembly: AssemblyCompany("The  Software Foundation")]
>>>
>>>
>>> Note: I have tried it using text find/replace in jenkins. No use in
>>> that. So, please do let me know is there any other way to achieve this.
>>>
>>>
>>> Regards,
>>> Vadivel
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/5f1d1176-16d6-4f8c-a615-f4d02fd228a6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVcRn7uHg3wOtji0FCMYKXWLav6QAtpqLruwd-E7vrdrWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] - blueocean ui not available

2016-06-24 Thread Ivan Peshev
Thanks for the info Tom, 

I've tried to build it with static deps still same result, will be looking 
forward to see it in experimental update site soon.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/37e8a064-db66-4ba9-aaf9-1acf7b8c6f79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Groovy DSL arguments

2016-06-24 Thread Paul Allen
Hi Devs, Jesse,

I have written two DSL functions ‘p4fetch’ and ‘p4save’ (extending 
AbstractStepImpl).  The ‘p4fetch’ DSL returns a Map object 
which I can print out and modify. e.g:

   def client = p4fetch id: 'test-001', type: 'client'
   echo "client: ${client}"

   def host = client.get('Host')   
   echo "host: ${host}”


Result:

   client: [Owner:pallen, Description:Created by pallen, Host:pallen-mac.local, 
SubmitOptions:submitunchanged, Update:2014/05/27 20:12:12, Options:noallwrite 
noclobber nocompress unlocked nomodtime normdir, LineEnd:local, specFormatted:, 
Root:/Users/pallen/workspace, View0://depot/test/... //test/foo/..., 
Access:2014/05/29 11:14:09, Client:test]

   host: pallen-mac.local



The second function ‘p4save’ was designed to save the changes, by taking the 
‘client’ (a Map object) as a parameter.  e.g.

   def result = p4save spec: client, type: 'client'


However this throws a 'cannot be cast to java.lang.Class’ exception (see 
below), is there any way I can pass the object back into the DSL with out using 
the [$class …] notation?


Kind regards,
Paul





java.lang.ClassCastException: 
sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to 
java.lang.Class
at 
org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:214)
at 
org.jenkinsci.plugins.workflow.structs.DescribableHelper.buildArguments(DescribableHelper.java:186)
at 
org.jenkinsci.plugins.workflow.structs.DescribableHelper.instantiate(DescribableHelper.java:91)
at 
org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(StepDescriptor.java:95)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:133)
at 
org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:100)
at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at 
com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
at WorkflowScript.run(WorkflowScript:31)
at Unknown.Unknown(Unknown)
at ___cps.transform___(Native Method)
at 
com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69)
at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106)
at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)
at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at 
com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
at 
com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at 
com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
at com.cloudbees.groovy.cps.Next.step(Next.java:58)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145)
at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:268)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:71)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:177)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:175)
at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 

Re: How to create custom Jenkins plugin for the .NET project ?

2016-06-24 Thread Tom Moore
For Company and Copyright, why aren't you just editing the file and saving 
it in your repository?  Those values shouldn't change enough to warrant 
build time modification.

The values in AssemblyInfo.cs that are most likely candidates for build 
time modification are:
[assembly: AssemblyVersion("0.0.0")]
[assembly: AssemblyFileVersion("0.0.0")]
[assembly: AssemblyInformationalVersion("0.0.0")]

The last two:
AssemblyFileVersion
AssemblyInformationalVersion

don't get into the file by default and have to be added.

On Friday, June 24, 2016 at 2:49:43 AM UTC-4, Oleg Nenashev wrote:
>
> I think it would be better to integrate the functionality into an existing 
> plugin like 
> https://wiki.jenkins-ci.org/display/JENKINS/Change+Assembly+Version .
>
> пятница, 24 июня 2016 г., 7:16:07 UTC+2 пользователь Vadivel Natarajan 
> написал:
>>
>> Hi All, 
>>
>> I would like to modify the AssemblyCopyright and AssemblyCompany in 
>> AssemblyInfo.cs file of a .NET project. As far as i searched, i didn't get 
>> an any idea. So i decided to write a plugin to achieve this. So, what i 
>> have to do first like what are the softwares that should install in server 
>> machine and in which programming language do i need to written the code? 
>> How to test the written plugin?
>>
>>
>> Below are the things i need to change in the file
>>
>> [assembly: AssemblyCopyright("2001- 2010")]
>> [assembly: AssemblyCompany("The  Software Foundation")]
>>
>>
>> Note: I have tried it using text find/replace in jenkins. No use in that. 
>> So, please do let me know is there any other way to achieve this.
>>
>>
>> Regards,
>> Vadivel 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/5f1d1176-16d6-4f8c-a615-f4d02fd228a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSoC2016] Jenkins WebUI

2016-06-24 Thread Samat Davletshin
Hello!
Just now I had a presentation of my progress.
https://plus.google.com/events/cj09ur9ikphda1r5dmqu1cse9q8

That was pleasant to hear that my changes may be helpful. 
However, in future I think I would like to spend a bit more time to talk 
with currently involved developers (Manuel) to make sure my changes are on 
point.

Thanks again for those who are joined.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/ccce90d2-f0ae-4b0c-ad25-15f9367e64ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to create custom Jenkins plugin for the .NET project ?

2016-06-24 Thread Oleg Nenashev
I think it would be better to integrate the functionality into an existing 
plugin like 
https://wiki.jenkins-ci.org/display/JENKINS/Change+Assembly+Version .

пятница, 24 июня 2016 г., 7:16:07 UTC+2 пользователь Vadivel Natarajan 
написал:
>
> Hi All, 
>
> I would like to modify the AssemblyCopyright and AssemblyCompany in 
> AssemblyInfo.cs file of a .NET project. As far as i searched, i didn't get 
> an any idea. So i decided to write a plugin to achieve this. So, what i 
> have to do first like what are the softwares that should install in server 
> machine and in which programming language do i need to written the code? 
> How to test the written plugin?
>
>
> Below are the things i need to change in the file
>
> [assembly: AssemblyCopyright("2001- 2010")]
> [assembly: AssemblyCompany("The  Software Foundation")]
>
>
> Note: I have tried it using text find/replace in jenkins. No use in that. 
> So, please do let me know is there any other way to achieve this.
>
>
> Regards,
> Vadivel 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/2c71df02-b51f-40fa-9704-0faf6c735350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.