Re: Compatability code

2018-01-16 Thread Mads Nielsen
Thanks!

Den 16. jan. 2018 3.00 PM skrev "Devin Nusbaum" <dnusb...@cloudbees.com>:

> Hi Mads,
>
> This wiki page explains the right configuration to add to pom.xml in your
> plugin: https://wiki.jenkins.io/display/JENKINS/Marking+a+
> new+plugin+version+as+incompatible+with+older+versions
>
> Thanks,
> Devin
>
> On Jan 16, 2018, at 08:24, Mads Nielsen <m...@praqma.net> wrote:
>
> Hey There,
>
> Question: How do you indicate in your plugin to the update center, the
> possibility of a plugin not being compatible with previous versions? I see
> this in the update center in red text when i try to update? Can you control
> this or is automatically done by the update center by some kind of analysis
> of the current instance?
>
> Best regards,
> Mads
> [image: ]
> Mads Nielsen
> Consultant
>
> m...@praqma.net
> +45 50 98 18 09
> Skype: inkspot
> Praqma.com <http://www.praqma.com/>
> Praqma Copenhagen <http://www.praqma.com/about/offices/>
>
>
> <https://www.praqma.com/>
>
>
> --
> 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/CAFariuue%2BfTYdmWXdCL46CpN7VioWMf0gndVD
> vF%3D%2B0pqdFiXjQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAFariuue%2BfTYdmWXdCL46CpN7VioWMf0gndVDvF%3D%2B0pqdFiXjQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> 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/09765C17-31A1-4FE3-A4FD-CA6BE4E700C8%40cloudbees.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/09765C17-31A1-4FE3-A4FD-CA6BE4E700C8%40cloudbees.com?utm_medium=email_source=footer>
> .
> 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/CAFariuvHakLuTBn7TL5%2BALrVCOnXNYNdAkwwq0_axd8BqfOKsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Compatability code

2018-01-16 Thread Mads Nielsen
Hey There,

Question: How do you indicate in your plugin to the update center, the
possibility of a plugin not being compatible with previous versions? I see
this in the update center in red text when i try to update? Can you control
this or is automatically done by the update center by some kind of analysis
of the current instance?

Best regards,
Mads
[image: ]
Mads Nielsen
Consultant

m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma.com <http://www.praqma.com/>
Praqma Copenhagen <http://www.praqma.com/about/offices/>


<https://www.praqma.com/>

-- 
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/CAFariuue%2BfTYdmWXdCL46CpN7VioWMf0gndVDvF%3D%2B0pqdFiXjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


JenkinsCI test

2017-02-07 Thread Mads Nielsen
Hi Everyone,

Is there a maven property you can pass in to increase the default timeout
of 5 minutes for a test to succeed when using the JenkinsRule?

I need this because we're build on a very slow slave..and i haven't seen
any mention of it anywhere?

Best regards,
Mads

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

-- 
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/CAFariut_oo_x9x6j-O-MnBOTbmFyOi63YXEsteGYH6e1NXsmEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Request to Adopt Hudson Post Build Task Plugin

2016-09-23 Thread Mads Nielsen
Hi All,

I'd like to request commit access to the following plugin
https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task

GitHub repo: https://github.com/jenkinsci/postbuild-task-plugin

Im requestiing commit acces because i've fixed
https://issues.jenkins-ci.org/browse/JENKINS-12830

Jenkins wiki id: MadsNielsen
Github id: MadsNielsen

Best regards,
Mads



[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

-- 
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/CAFariutsnAd1qmkvE%2BposYzOsznNTAU0AGe0AYEyi6ByCrvBhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: java.lang.NoClassDefFoundError and java.lang.IllegalStateException, add dependency when build plugin

2016-07-20 Thread Mads Nielsen
I'm pretty sure you only need the dependency declaration.


[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Wed, Jul 20, 2016 at 9:40 AM, Quang Truong <truongdinhquan...@gmail.com>
wrote:

> Hi all,
>
> I have just started to implement the plugin so I grab the Audit2DB plugin
> and modify on my need but when I add dependency in the pom.xml then the
> unit test throw a lot of errors, mostly are 2 errors:
>
> java.lang.NoClassDefFoundError: jenkins/model/RunAction2
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
> at java.lang.Class.getDeclaredMethods(Class.java:1975)
> at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:101)
> at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:71)
> at
> org.jvnet.hudson.annotation_indexer.FilterIterator.fetch(FilterIterator.java:23)
> at
> org.jvnet.hudson.annotation_indexer.FilterIterator.hasNext(FilterIterator.java:42)
> at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:70)
> at hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:55)
> at
> org.jvnet.hudson.reactor.TaskBuilder$2.discoverTasks(TaskBuilder.java:40)
> at org.jvnet.hudson.reactor.Reactor.(Reactor.java:128)
> at org.jvnet.hudson.reactor.Reactor.(Reactor.java:133)
> at jenkins.model.Jenkins$6.(Jenkins.java:821)
> at jenkins.model.Jenkins.executeReactor(Jenkins.java:821)
> at jenkins.model.Jenkins.(Jenkins.java:761)
> at hudson.model.Hudson.(Hudson.java:81)
> at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:441)
> at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:300)
> at
> org.jenkins.plugins.audit2db.test.integration.WhenRunningJobsByDateReport.setUp(WhenRunningJobsByDateReport.java:66)
> at junit.framework.TestCase.runBare(TestCase.java:132)
> at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:285)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 

Re: Run Windows Command in Jenkins Plugin

2016-07-19 Thread Mads Nielsen
I think you need to prepend cmd.exe to the dir command so something like
cmd.exe /C dir


[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Tue, Jul 19, 2016 at 8:52 AM, <michaela...@gmail.com> wrote:

> Hi,
>
> I would like to run a Windows command inside my Jenkins Plugin.
>
> How can I achieve that?
>
> The following code is not working:
>
> @Override
> public void perform(Run build, FilePath workspace, Launcher launcher, 
> TaskListener listener) {
>
> try {
>
> Launcher.ProcStarter 
> procStarter=launcher.launch().pwd(workspace).cmdAsSingleString("dir " + 
> workspace + " &&  attrib -R /S");
>
> procStarter= procStarter.stdout(listener);
> procStarter.join();
>
>  } catch (IOException e) {
> e.printStackTrace();
> listener.getLogger().println("IOException !");
> } catch (InterruptedException e) {
> e.printStackTrace();
> listener.getLogger().println("InterruptedException!");
> }
>
> }
>
>
> I get the following error when I run a Job that uses this plugin:
>
>
> *java.io.IOException: Cannot run program "dir" (in directory
> "C:\LocalJenkins\plugins\michaelPlugin\work\jobs\buildTest\workspace"):
> CreateProcess error=2, The system cannot find the file specified*
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
> at hudson.Proc$LocalProc.(Proc.java:244)
> at hudson.Proc$LocalProc.(Proc.java:216)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:816)
> at hudson.Launcher$ProcStarter.start(Launcher.java:382)
> at hudson.Launcher$ProcStarter.join(Launcher.java:389)
> at
> michaelPlugin.michaelPlugin.HelloWorldBuilder.perform(HelloWorldBuild
> er.java:110)
> at
> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibili
> tyLayer.java:75)
> at
> hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> at
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBui
> ld.java:785)
> at hudson.model.Build$BuildExecution.build(Build.java:205)
> at hudson.model.Build$BuildExecution.doRun(Build.java:162)
> at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.j
> ava:537)
> at hudson.model.Run.execute(Run.java:1741)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> at
> hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:408)
> Caused by: java.io.IOException: CreateProcess error=2, The system cannot
> find th
> e file specified
> at java.lang.ProcessImpl.create(Native Method)
> at java.lang.ProcessImpl.(ProcessImpl.java:386)
> at java.lang.ProcessImpl.start(ProcessImpl.java:137)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
> ... 16 more
> Jul 19, 2016 8:51:12 AM hudson.model.Run execute
> INFO: buildTest #52 main build action completed: SUCCESS
>
> What should be the correct code to run some Windows commands?
>
> Many thanks
>
> --
> 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/3d3bcaef-9079-4d56-96a7-f09719865a7d%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/3d3bcaef-9079-4d56-96a7-f09719865a7d%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CAFariuurb104qcBjU-qBaVJEmWSvpkete%3D%2BywvhkjZENhQgYnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question about SCM - getScm()

2016-06-29 Thread Mads Nielsen
Hey Jesse,

Thanks for the answer, we'll see what we can do instead then. Thanks.

Best regards,
Mads


[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Tue, Jun 28, 2016 at 6:28 PM, Jesse Glick <jgl...@cloudbees.com> wrote:

> On Tue, Jun 28, 2016 at 8:35 AM, Mads Nielsen <m...@praqma.net> wrote:
> > We make heavy use of .getScm() on AbstractProject object in one of
> our plugins, is there a way to obtain the same information from the more
> generic Job ?
>
> You mean, say, from a `WorkflowJob`? No, and the question does not
> even make sense, because there need not be any permanent or unique
> answer. To be compatible, your plugins would need to be reconceived
> somehow.
>
> --
> 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/CANfRfr0QA_fh%3DpP_K4NghvFrH08bmLBUb5fwwqiVzOPoucvpvQ%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/CAFariuuvYjqpjq2UQ84Erj059_vC6Aw%3DvAO%2BTif%2BZS8Y5_AiNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Question about SCM - getScm()

2016-06-28 Thread Mads Nielsen
Hi everyone,

We make heavy use of .getScm() on AbstractProject object in one of our
plugins, is there a way to obtain the same information from the more
generic Job ?

Best regards,
Mads

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

-- 
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/CAFariuvHjp7iv4NwxQQuZG8%3DDxEeVgaeq238XArm1Zq%2BKt_vsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to publish plugin release?

2016-06-06 Thread Mads Nielsen
Hi Mark,

I'm affraid we do it the way you describe...all other options involve git
reset --hard and force pushing changes...so we will end up with a new
release with an extra version number bump, it would be nice if the maven
release plugin could handle this more gracefully, but like you i'm not sure
on how to do this the correct way.

Best regards,
Mads






[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Mon, Jun 6, 2016 at 2:09 PM, Mark Waite <mark.earl.wa...@gmail.com>
wrote:

> Thanks for confirming that I'm not the only one!  I assume R. Tyler Croy
> or one of the other infrastructure experts will need to be involved.
>
> While waiting for that help, is there a recommendation of the best way to
> handle a "failure to release"?
>
> The release commit has been created, the release tag has been placed.
> Once the infrastructure is able to accept a login, is it as simple as "mvn
> deploy -Dusername=MarkEWaite -Dpassword=my-actual-password"?
>
> If it is not that simple, then is the next best to just "lose a version
> number" and use "mvn release:prepare release:perform" to release
> 2.0.0-beta2, rather than attempting to undo the partial release?  I know
> that I can't delete commits from the github.com repo (and I like that I
> can't delete commits).
>
> Mark Waite
>
> On Mon, Jun 6, 2016 at 5:45 AM Mads Nielsen <m...@praqma.net> wrote:
>
>> Hi Mark
>>
>> You're not the only one...i failed to release our plugin yesterday, i
>> even updated it after the password reset. I use the older pom though.
>>
>> Doesn't work :)
>>
>> Best regards,
>> Mads
>>
>>
>> [image: ]
>> Mads Nielsen
>> Consultant
>> m...@praqma.net
>> +45 50 98 18 09 <+45%2050%2098%2018%2009>
>> Skype: inkspot
>> Praqma
>> www.praqma.com
>> DK: CPH, Aarhus, Allerod
>> NO: OSL
>> SE: STHLM
>> +45 36 PRAQMA <+4536772762>
>>
>> <http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>
>>
>> On Mon, Jun 6, 2016 at 6:07 AM, Mark Waite <mark.earl.wa...@gmail.com>
>> wrote:
>>
>>> I completed a series of tests of git client plugin 2.0.0-beta1 and
>>> wanted to release it.  Unfortunately, the command which worked before is
>>> now failing.
>>>
>>> This is the first time I'm trying to release the git client plugin using
>>> the new parent pom (version 2.9).  This is the first time I'm trying to
>>> release a plugin version in over a month.
>>>
>>> Are others able to release new versions of their plugins?
>>>
>>> The commands I use to release are:
>>>
>>> *$* *java -version*
>>> java version "1.7.0_80"
>>> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
>>> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
>>>
>>> *$* *mvn -version*
>>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>>> 2015-11-10T09:41:47-07:00)
>>> Maven home: /home/mwaite/tools/apache-maven-3.3.9
>>> Java version: 1.7.0_80, vendor: Oracle Corporation
>>> Java home: /usr/lib/jvm/java-7-oracle/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "4.2.0-36-generic", arch: "amd64", family:
>>> "unix"
>>>
>>> *$* *mvn release:prepare release:perform*
>>> ... Lost the text from my buffer while experimenting, but think it was
>>> "ReasonPhrase: Unauthorized" as at the end of this message
>>>
>>> I then to deploy just the build:
>>> *$* *git checkout git-client-2.0.0-beta1*
>>> HEAD is now at 36cb042... [maven-release-plugin] prepare release
>>> git-client-2.0.0-beta1
>>>
>>> $ *mvn deploy -Dusername=MarkEWaite
>>> -Dpassword=inserted-my-actual-jenkins-ci-password*
>>> [INFO] Installing
>>> /home/mwaite/git/release/git-client-plugin/target/git-client.jar to
>>> /home/mwaite/.m2/repository/org/jenkins-ci/plugins/git-client/2.0.0-beta1/git-client-2.0.0-beta1.jar
>>> [INFO]
>>> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @
>>> git-client ---
>>>

Re: Unable to publish plugin release?

2016-06-06 Thread Mads Nielsen
Hi Mark

You're not the only one...i failed to release our plugin yesterday, i even
updated it after the password reset. I use the older pom though.

Doesn't work :)

Best regards,
Mads


[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Mon, Jun 6, 2016 at 6:07 AM, Mark Waite <mark.earl.wa...@gmail.com>
wrote:

> I completed a series of tests of git client plugin 2.0.0-beta1 and wanted
> to release it.  Unfortunately, the command which worked before is now
> failing.
>
> This is the first time I'm trying to release the git client plugin using
> the new parent pom (version 2.9).  This is the first time I'm trying to
> release a plugin version in over a month.
>
> Are others able to release new versions of their plugins?
>
> The commands I use to release are:
>
> *$* *java -version*
> java version "1.7.0_80"
> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
>
> *$* *mvn -version*
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T09:41:47-07:00)
> Maven home: /home/mwaite/tools/apache-maven-3.3.9
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.2.0-36-generic", arch: "amd64", family:
> "unix"
>
> *$* *mvn release:prepare release:perform*
> ... Lost the text from my buffer while experimenting, but think it was
> "ReasonPhrase: Unauthorized" as at the end of this message
>
> I then to deploy just the build:
> *$* *git checkout git-client-2.0.0-beta1*
> HEAD is now at 36cb042... [maven-release-plugin] prepare release
> git-client-2.0.0-beta1
>
> $ *mvn deploy -Dusername=MarkEWaite
> -Dpassword=inserted-my-actual-jenkins-ci-password*
> [INFO] Installing
> /home/mwaite/git/release/git-client-plugin/target/git-client.jar to
> /home/mwaite/.m2/repository/org/jenkins-ci/plugins/git-client/2.0.0-beta1/git-client-2.0.0-beta1.jar
> [INFO]
> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ git-client
> ---
> Uploading:
> https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/git-client/2.0.0-beta1/git-client-2.0.0-beta1.hpi
> Uploading:
> https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/git-client/2.0.0-beta1/git-client-2.0.0-beta1.pom
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 50.954 s
> [INFO] Finished at: 2016-06-05T21:56:38-06:00
> [INFO] Final Memory: 76M/761M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
> on project git-client: Failed to deploy artifacts: Could not transfer
> artifact org.jenkins-ci.plugins:git-client:hpi:2.0.0-beta1 from/to
> maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Failed to
> transfer file:
> https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/git-client/2.0.0-beta1/git-client-2.0.0-beta1.hpi.
> Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
>
> Thanks,
> Mark Waite
>
> --
> 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/82b75c7e-3246-479a-b32e-4fc44485e9ab%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/82b75c7e-3246-479a-b32e-4fc44485e9ab%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CAFariuuedj2br2zkNBzg%2BxHdwAyGr9EVB7Pseui5yYif7aFnzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: question about onCheckout

2016-04-07 Thread Mads Nielsen
Hi Robert,

Thanks for the input. This complicates matters for me :) - I need something
that runs right after checkout, regardless of wheather or not the checkout
failed. Do you have any suggestions?

I considered using a buildWrapper and the setUp method...but it looks like
a buildwrapper needs to be enabled through UI, and i don't want this to be
the case, i'm already using the RunListener to report when the build
starts, but i also want something that can report when a checkout
fails...without having to configure or enable it in a configuration.

Any help would be appreciated.

Best regards,
Mads




[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Thu, Apr 7, 2016 at 10:51 AM, Robert Sandell <rsand...@cloudbees.com>
wrote:

> Looks like after checkout and only if successful
>
>
> https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/AbstractBuild.java#L612
>
> Not sure if pipeline or other non AbstractBuild type jobs does something
> different.
>
> /B
>
> On Wed, Apr 6, 2016 at 8:08 PM, Mads Nielsen <m...@praqma.net> wrote:
>
>> Hey Guyes...
>>
>> Question:
>>
>> The SCMListener class has a method, called onCheckout(...) that is called
>> when a build finishes establishing a workspace and immediately after
>> SMC.checkout(). Does this mean this method is called even if the SCM fails
>> to check something out, documentation isn't really clear about it?
>>
>>
>> http://javadoc.jenkins-ci.org/hudson/model/listeners/SCMListener.html#onCheckout(hudson.model.Run,
>> hudson.scm.SCM, hudson.FilePath, hudson.model.TaskListener, java.io.File,
>> hudson.scm.SCMRevisionState)
>>
>> Best regards,
>> Mads
>>
>> [image: ]
>> Mads Nielsen
>> Consultant
>> m...@praqma.net
>> +45 50 98 18 09 <+45%2050%2098%2018%2009>
>> Skype: inkspot
>> Praqma
>> www.praqma.com
>> DK: CPH, Aarhus, Allerod
>> NO: OSL
>> SE: STHLM
>> +45 36 PRAQMA <+4536772762>
>>
>> <http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>
>>
>> --
>> 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/CAFariutjrrj%3DyRguJK6pWHiZmaX7FioZsbBGFh3XMJOC8sN2Tg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAFariutjrrj%3DyRguJK6pWHiZmaX7FioZsbBGFh3XMJOC8sN2Tg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Robert Sandell
> *Software Engineer*
> *CloudBees Inc.*
>
> --
> 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/CALzHZS3ygdLQYC6TUm%3D6DCcjRNWiRDzSZeERd7_5JWvGb-_m6Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3ygdLQYC6TUm%3D6DCcjRNWiRDzSZeERd7_5JWvGb-_m6Q%40mail.gmail.com?utm_medium=email_source=footer>
> .
> 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/CAFariutC%2BKa4HoXTXYFerybQ2Xwqx%2B_MoNh%3DE%3DRRv_K77HDUGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


question about onCheckout

2016-04-06 Thread Mads Nielsen
Hey Guyes...

Question:

The SCMListener class has a method, called onCheckout(...) that is called
when a build finishes establishing a workspace and immediately after
SMC.checkout(). Does this mean this method is called even if the SCM fails
to check something out, documentation isn't really clear about it?

http://javadoc.jenkins-ci.org/hudson/model/listeners/SCMListener.html#onCheckout(hudson.model.Run,
hudson.scm.SCM, hudson.FilePath, hudson.model.TaskListener, java.io.File,
hudson.scm.SCMRevisionState)

Best regards,
Mads

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

-- 
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/CAFariutjrrj%3DyRguJK6pWHiZmaX7FioZsbBGFh3XMJOC8sN2Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Incorrect rendering of job property

2016-03-08 Thread Mads Nielsen
Hi Robert,

Thanks for the reply...No dice on this one. I double checked the values and
made two helper methods on my JobProperty:


  public boolean isTagFileEmpty() {
return StringUtils.isBlank(tagFile);
  }

  public boolean isTaggingEmpty() {
return StringUtils.isBlank(tagging);
  }

Didn't work...i still get the radioBlock rendering the second option even
though it's not checked and added a couple of debug prints to the top:


My jelly template was modified as well:



Tag is empty: ${instance.isTaggingEmpty()}
${instance.tagging}
File is empty: ${instance.isTagFileEmpty()}
${instance.tagFile}












​
This is seriously annoying :P

One thing that happens...if i remove the OptionalBlock wrapping my radio
blocks, it renders correctly on reload (I.e it doesn't render the elements
nested under the second radio block), but i get 2 checkboxes on my jobs
configure page instead of the one i want. I used EnvInject as inspiration
for the template.


Any other suggestions. I think i might abandon this entirely and create
descriptors/describables for my two options...just seems overly complicated
for such a simple control...:/


Best regards
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

On Tue, Mar 8, 2016 at 12:04 PM, Robert Sandell <rsand...@cloudbees.com>
wrote:

> My guess is that instance.tagFile is no longer null because the previous
> form posting set the value to an empty string.
>
> try checked="${not empty instance.tagFile}" or maybe it's the other way
> around (${instance.tagFile not empty}), those jexl expressions confuse me
> sometimes ;)
>
> /B
>
> On Tue, Mar 8, 2016 at 11:31 AM, Mads Nielsen <m...@praqma.net> wrote:
>
>> Hi Guyes,
>>
>> I have a problem. What im trying to do is to have Jenkins render a
>> radio-button group with mutually exclusive options in a Job property. This
>> work fine when the job is getting configured.
>>
>> But when i reload the page...i get this:
>>
>>
>> ​Even though i have not selected the File from workspace option, it still
>> renders the block under the radio button on page load.
>>
>> Here is my jelly code, what am i doing wrong? I checked that my
>> expressions that evaluate the checked state are correct.
>>
>> > xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson"
>> xmlns:f="/lib/form">
>> 
>> > checked="${instance.tagging != null}">
>> 
>> 
>>     
>> 
>> > checked="${instance.tagFile != null}">
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>> Best regards,
>> Mads
>> [image: ]
>> Mads Nielsen
>> Consultant
>> m...@praqma.net
>> +45 50 98 18 09 <+45%2050%2098%2018%2009>
>> Skype: inkspot
>> Praqma
>> www.praqma.com
>> DK: CPH, Aarhus, Allerod
>> NO: OSL
>> SE: STHLM
>> +45 36 PRAQMA <+4536772762>
>>
>> <http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>
>>
>> --
>> 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/CAFariusD05U9jxMLfHD%2BK7xaP40THCFTBOJSwq0H3MowXYE3nA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAFariusD05U9jxMLfHD%2BK7xaP40THCFTBOJSwq0H3MowXYE3nA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Robert Sandell
> *Software Engineer*
> *CloudBees Inc.*
>
> --
> 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 th

Incorrect rendering of job property

2016-03-08 Thread Mads Nielsen
Hi Guyes,

I have a problem. What im trying to do is to have Jenkins render a
radio-button group with mutually exclusive options in a Job property. This
work fine when the job is getting configured.

But when i reload the page...i get this:


​Even though i have not selected the File from workspace option, it still
renders the block under the radio button on page load.

Here is my jelly code, what am i doing wrong? I checked that my expressions
that evaluate the checked state are correct.

















Best regards,
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>
<http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner>

-- 
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/CAFariusD05U9jxMLfHD%2BK7xaP40THCFTBOJSwq0H3MowXYE3nA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Excessive memory usage on test after update to Java 8

2015-11-04 Thread Mads Nielsen
Hi Kanstantin...

It is an open source project...and i also figured out what the problem is.

We have this section in the pom, to limit the resouces used for testing,
since we require an expensive tool (ClearCase UCM) to run on the machine as
well.


  
org.apache.maven.plugins
maven-failsafe-plugin
2.19

*1*
*true*
-Xms512m -Xmx512m -Xss1m





integration-test
verify





The lines i marked with bold seems to be completely ignored in Java 8, it
spawns multiple java processes on the slave and eventually starves the
slave for memory, which causes the tool (ClearCase UCM) to behave
erratically which results in wierd Interrupted exceptions during build:

java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at hudson.remoting.AsyncFutureImpl.get(AsyncFutureImpl.java:73)
at net.praqma.hudson.test.CCUCMRule.buildProject(CCUCMRule.java:380)
at net.praqma.hudson.test.CCUCMRule.initiateBuild(CCUCMRule.java:281)
at net.praqma.hudson.test.CCUCMRule.initiateBuild(CCUCMRule.java:264)
at 
net.praqma.hudson.test.integration.child.BaselinesFoundIT.initiateBuild(BaselinesFoundIT.java:36)
at 
net.praqma.hudson.test.integration.child.BaselinesFoundIT.testRecommended(BaselinesFoundIT.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
net.praqma.clearcase.test.junit.ClearCaseRule$1.evaluate(ClearCaseRule.java:218)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:486)
at 
net.praqma.util.test.junit.LoggingRule$1.evaluate(LoggingRule.java:67)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:344)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:269)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:240)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:184)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

I fixed it by not running the tests using Java 8, 7 is ok since we came
from 6.

Best regards,
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>





<http://www.code-conf.com/day-of-docker-osl15/?src=mailbanner>

On Tue, Nov 3, 2015 at 4:48 PM, Kanstantsin Shautsou <
kanstantsin@gmail.com> wrote:

> Hi, Praqma consultant.
>
> Am i right understand that it some closed sources tests similar to ATH?
> Please provide what java (oracle, open

Re: Questions on hpi:custom-war and preconfigured Jenkins instances

2015-11-04 Thread Mads Nielsen
+1 to getting that out as fast as possible..,

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>





<http://www.code-conf.com/day-of-docker-osl15/?src=mailbanner>

On Wed, Nov 4, 2015 at 2:07 PM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:

> So in cloudbees we use a different parent pom for our plugins:
>
> ...
>
>   
>
> ... base version goes here...
>
> ...
>
>   
>
> ...
>
>  
>
> org.jenkins-ci.main
>
> jenkins-core
>
> ${jenkins.version}
>
>   
>
>   
>
> org.jenkins-ci.main
>
> jenkins-war
>
> ${jenkins.version}
>
> war
>
>   
>
>   
>
> org.jenkins-ci.main
>
> jenkins-test-harness
>
> ${jenkins.version}
>
>   
>
> ...
>
>
>
> This lets us do rather cool stuff like
>
> $ mvn hpi:run -Djenkins.version=1.625.1
>
> To fire up the plugin on a specific jenkins version.
>
>
> It has long been on Jesse and My backlog to move the OSS plugin parent pom
> over to this model as it makes life much much easier... but alas time is
> always short for doing that set of changes
>
>
>
> On 4 November 2015 at 08:07, <t...@praqma.net> wrote:
>
>> Thinking about it, taking the hpi:run path instead of the 'supply the
>> whole .war' will probably be less trouble in the end.
>> I really like the idea of running different versions of Jenkins, too. It
>> could make the project useful beyond the upcoming design meetings.
>> As for automatically setting up some jobs on the new Jenkins instances,
>> I've discovered the Jenkins hook scripts
>> <https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Hook+Script>, they
>> might come in handy.
>>
>> Cheers,
>> Thierry
>>
>> On Tuesday, November 3, 2015 at 10:54:36 PM UTC+1, Baptiste Mathus wrote:
>>>
>>> Funnily, I've been thinking about something along this this morning.
>>> Working on a bug on the chucknorris-plugin that would happen only on some
>>> Jenkins version, I thought about creating a special dev docker image that
>>> you would run with something like:
>>>
>>> $ cd myplugin
>>> $ docker run -e VERSIONS=1.450,1.609.1,1.625 -p 8080-8082:8080-8082 -v
>>> $PWD:/theplugin:ro jenkins/plugin-tester
>>>
>>> And then (for people not using Docker), you would have three Jenkins
>>> versions with your plugin running: 1.450 on port 8080, 1.609.1 on 8081 and
>>> 1.625.1 on 8082.
>>>
>>> Seems like it should be not too difficult to do. In the Docker command,
>>> we would copy the plugin source on N places and launch hpi:run in each
>>> locations from inside the container, remapping ports.
>>>
>>> What do you think?
>>>
>>> -- Baptiste
>>>
>>> 2015-11-03 15:54 GMT+01:00 <t...@praqma.net>:
>>>
>>>> Hey everyone,
>>>>
>>>> I'm currently working on a little project to facilitate some upcoming
>>>> design meetings.
>>>> The idea is pretty straight-forward: Given a SHA-1, spin up an instance
>>>> of Jenkins running that version of your plugin (preferably with some
>>>> preconfigured jobs).
>>>> The point is to allow you to easily play with different versions of
>>>> your plugin, maybe even hack something on the spot and take it for a spin.
>>>> (Just doing a local hpi:run wouldn't really cut it as I'd like to have
>>>> multiple people playing on the same Jenkins instance at the same time.)
>>>> I've bumped into some issues while implementing this and I'm hoping to
>>>> get some answers/feedback/ideas here.
>>>>
>>>> After some brainstorming we figured we could supply Docker images with
>>>> either the plugin hpi and do an hpi:run
>>>> <http://jenkinsci.github.io/maven-hpi-plugin/run-mojo.html>, or a
>>>> jenkins.war with the plugin and all necessary dependencies pre-installed
>>>> and run that.
>>>> We settled for the latter and turned to hpi:custom-war
>>>> <http://jenkinsci.github.io/maven-hpi-plugin/custom-war-mojo.html> to
>>>> supply us with the war file.
>>>> Everything seemed to work like a charm, until we realized the war file
>>>> cre

Excessive memory usage on test after update to Java 8

2015-11-03 Thread Mads Nielsen
Hi Jenkins devs

I recently decided to upgrade our windows test slave, which has the tools
we need to run our Jenkins Integration Tests. We use JenkinsRule to
teardown and setup Jenkins environments before each tests, and it looks
like this has started to leak 'processes' after our upgrade to Java 8.

Has anyone here experienced anything similar? Our builds went from using
~1Gb of memory to more to roughly ~2.5Gb which out of memoried my slave.

Best regards,
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>





<http://www.code-conf.com/day-of-docker-osl15/?src=mailbanner>

-- 
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/CAFariushZdPnNbYoi49i8K5M9OjVKoRsX5_6w9A6HvY32EA9YQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Question about publishers and the order in which they are executed

2015-09-16 Thread Mads Nielsen
Hey everyone,

This is a follow up post to a discussion we had while attending the Jenkins
CI code camp in Copenhagen.

Basically we have a plugin that has to be able to set the result of a
build, and it has to be the final Judge in the overall result of the build,
our build step only runs when the overall result is SUCCESS and our plugin
should have the final-final say in the result of the proces.

We implemented it as a publisher, and I made the mistake of implementing
and overriding the method below.

@Override
public boolean needsToRunAfterFinalized() {
return true;
}

This means that we do run after after the result of the build is final, but
since our publisher itself can fail (we do Git stuff), we end up in the
situation described here:
https://issues.jenkins-ci.org/browse/JENKINS-30465

What makes this a bit tricky is that we actually programatically add our
publisher during build if it isn't present

So i thought about solutions

   1. RunListeners (onCompleted(), onFinalized() - nope they're all after
   the build status has been set
   2. Change to Recorder, and set @Extension(ordinal = Double.MIN_VALUE) to
   add it to the very end of the publisher list
   3. ? Others

Solution 2 seems like a hack to me, and it does not prevent users from
switching the order of the post build steps. It's also further complicated
by the fact that we add the publisher in code during exection of our plugin.

So is there a way we can make sure we're the absolute last plugin to have a
say in the finalized result of a build?

I took a look at how this was handled in for example the GitPublisher
Plugin since it also has the option to only push on succesful builds, the
solution they choose is #2 from above, but it seems kinda fragile as this
can be moved around in the list after it has been added?

It lead to the discussion of the posibility of adding an optional 'Final
Judge' slot in the job configuration, each job could only have one of those
(having one at all would be optional)

Is my use case totally wrong here? Or is it something that could be of
interest to others?

Best regards,
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 <+45%2050%2098%2018%2009>
Skype: inkspot
Praqma
www.praqma.com
DK: CPH, Aarhus, Allerod
NO: OSL
SE: STHLM
+45 36 PRAQMA <+4536772762>









<http://www.praqma.com/events/git>

-- 
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/CAFariuvJZTpt68p3WzJSB0%3DspJLYumCCr1gzhzVLq0HJn%2BP4Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Request to on how get workspace location from Run object - for workflow compatibilty

2015-08-28 Thread Mads Nielsen
Haha..just noticed that too...the case of not being able to see the forrest
because of all the trees! :)

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762

On Fri, Aug 28, 2015 at 10:36 AM, Robert Sandell rsand...@cloudbees.com
wrote:

 I.e. you have it right in front of you :)

 public void setUp(Context context, Run?, ? run,* FilePath workspace*,
 Launcher launcher, TaskListener listener, EnvVars initialEnvironment)

 On Fri, Aug 28, 2015 at 10:05 AM, Daniel Beck m...@beckweb.net wrote:


 On 28.08.2015, at 06:20, Vinodhini Vijay vinodhini.vi...@gmail.com
 wrote:

  I  had overridden the method :
 
  public void setUp(Context context, Run?, ? run, FilePath workspace,
 Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
  throws IOException, InterruptedException
 
  But, how to get the workspace directory location from the Run object?
 (As I have to read some file within workspace)

 The point of SimpleBuildWrapper and similar other interfaces is that it
 tells you e.g. the relevant workspace as a parameter. This way your
 Workflow job/run can have any number of workspaces in parallel.

 ---

 On 28.08.2015, at 08:37, Mads Nielsen m...@praqma.net wrote:

  You can get the Workspace from the run object by doing
 run.getExecutor().getCurrentWorkspace().

 From Javadoc of Executor#getCurrentWorkspace():

  If current executable is AbstractBuild, return the workspace that this
 executor is using, or null if the build hasn't gotten to that point yet.

 So that won't work for Workflow, which isn't based on AbstractBuild.

 --
 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/DAB9D791-D55D-498C-8BB6-AFD300A15964%40beckweb.net
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Robert Sandell
 *Software Engineer*
 *CloudBees Inc.*

 --
 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/CALzHZS1MTHiZdOeXQuG6jxtrP5c6eH2C0f8Se0dzo791iVwPTQ%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS1MTHiZdOeXQuG6jxtrP5c6eH2C0f8Se0dzo791iVwPTQ%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 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/CAFarius00gDAJH0GuS5vUrjk_LmUJWt1ZZZVnpFLoN-Z-BbYbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failure to install plugin dependency

2015-07-07 Thread Mads Nielsen
Spelling mistake strikes again, thanks Daniel.

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Tue, Jul 7, 2015 at 9:20 AM, Daniel Beck m...@beckweb.net wrote:

 The update center generator complains that the wiki page specified in the
 pom does not exist.

 https://ci.jenkins-ci.org/job/infra_update_center_v3/1453/console

  ** Wiki page does not exist, or is not a child of the Plugins wiki page:
 https://wiki.jenkins-ci.org/display/JENKINS/Compatability+Action+Storage+Plugin


 http://jenkins-ci.org/content/new-wiki-url-requirement-plugins

  new plugins that don't provide a wiki URL and don't have an override URL
 will not show up at all.


 While the log also mentions that it adds the plugin anyway, it doesn't
 show up in the JSON file except as dependency:
 http://jenkins.mirror.isppower.de/updates/current/update-center.json

 So please try to add a wiki page for the plugin (as child of the Plugins
 page).

 On 07.07.2015, at 08:58, Mads Nielsen m...@praqma.net wrote:

  Hi Everyone,
 
  A couple of days ago i released a library plugin that my plugin depends
 on (those plugins also got released with mvn release:prepare
 release:perform):
 
  https://github.com/jenkinsci/compatibility-action-storage-plugin
 
  When i try to install one of the plugins that depends on this plugin,
 the installation fails, i do not understand why this happens because
 loooking at it i can easily see my released plugin here:
 
 
 http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/compatibility-action-storage/1.0/
 
  I get the error below, anyone have an idea what might be wrong?
 
  Best regards,
  Mads
 
 
  hudson.util.IOException2: Failed to download from
 http://updates.jenkins-ci.org/download/plugins/compatibility-action-storage/1.0/compatibility-action-storage.hpi
 (redirected to:
 http://mirrors.jenkins-ci.org/plugins/compatibility-action-storage/1.0/compatibility-action-storage.hpi
  )
at
 hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
at
 hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
at
 hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
at
 hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
 hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:745)
  Caused by: java.io.FileNotFoundException:
 
 http://mirrors.jenkins-ci.org/plugins/compatibility-action-storage/1.0/compatibility-action-storage.hpi
 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
 sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
at
 sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
at java.security.AccessController.doPrivileged(Native Method)
at
 sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
at
 hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:756)
... 7 more
  Caused by: java.io.FileNotFoundException:
 
 http://mirrors.jenkins-ci.org/plugins/compatibility-action-storage/1.0/compatibility-action-storage.hpi
 
at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
at
 sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2678)
at
 java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639)
at
 java.net.URLConnection.getContentLengthLong(URLConnection.java:511)
at java.net.URLConnection.getContentLength(URLConnection.java:495)
at
 hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:755)
 
 
 
  Mads Nielsen
  Consultant
  m...@praqma.net
  +45 50 98 18 09
  Skype: inkspotPraqma
  www.praqma.com
  Allerød Stationsvej 4
  DK-3450 Allerød
  +45 36 77 27 62
 
 
  --
  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

Re: Plugin hosting request - External Data Plugin

2015-06-22 Thread Mads Nielsen
Friendly bump on this one!

Cheers!

Best regards,
Mads

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Fri, Jun 19, 2015 at 11:12 AM, Mads Nielsen m...@praqma.net wrote:

 Hi!

 I would like to have this plugin forked to the jenkinsci organisation:

 Repository: https://github.com/Praqma/external-data-plugin/commits/master
 User id: MadsNielsen

 The plugin is a library plugin that i plan to use in two of the plugins we
 maintain in the near future, it provides a mongo database that can be
 shared and used by those other plugins.

 I've updated the readme.md file with a brief discussion and the wiki
 template has been created.

 Best regards
 Mads
 [image: ]
 Mads Nielsen
 Consultant
 m...@praqma.net
 +45 50 98 18 09 +45%2050%2098%2018%2009
 Skype: inkspot
 Praqma
 www.praqma.com
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62 +45%203677%202762
 http://www.code-conf.com/


-- 
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/CAFariusXqVp3Kp5kZZN1GmJcdate6p8Q7%3DP8aK%2BZUcJ_p5hhMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Plugin hosting request - External Data Plugin

2015-06-22 Thread Mads Nielsen
Hi Daniel,

Yeah i've come up with a better and more specific name:

https://github.com/Praqma/compatability-action-storage-plugin

Compatability Action Storage Plugin

That describes more precisely how i am going to use it...hope thats better
for you :)

Github id is still MadsNielsen

Best regards,
Mads


[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Mon, Jun 22, 2015 at 2:14 PM, Daniel Beck m...@beckweb.net wrote:

 Hi Mads,

 the plugin name is quite generic. Is there a more specific name you could
 alternatively use?

 Daniel

 On 19.06.2015, at 11:12, Mads Nielsen m...@praqma.net wrote:

  Hi!
 
  I would like to have this plugin forked to the jenkinsci organisation:
 
  Repository:
 https://github.com/Praqma/external-data-plugin/commits/master
  User id: MadsNielsen
 
  The plugin is a library plugin that i plan to use in two of the plugins
 we maintain in the near future, it provides a mongo database that can be
 shared and used by those other plugins.
 
  I've updated the readme.md file with a brief discussion and the wiki
 template has been created.
 
  Best regards
  Mads
 
  Mads Nielsen
  Consultant
  m...@praqma.net
  +45 50 98 18 09
  Skype: inkspotPraqma
  www.praqma.com
  Allerød Stationsvej 4
  DK-3450 Allerød
  +45 36 77 27 62
 
 
  --
  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/CAFariuvRtzKn8_ymFgJ6kqnGRrq47RMa_51bC8tWp0ySW5E2EQ%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/48D3DF0B-B038-44F1-B309-7F11EFF1A3FA%40beckweb.net
 .
 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/CAFariuv%2Bm3j4j7se6V--bN%3Djyy%2BsUWSoG%2BjOhjrOh-Liq2%2BADw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Plugin hosting request - External Data Plugin

2015-06-22 Thread Mads Nielsen
Done..Fixed typos,

new repo is here:
https://github.com/Praqma/compatibility-action-storage-plugin :)

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Mon, Jun 22, 2015 at 3:33 PM, Mads Nielsen m...@praqma.net wrote:

 Typo...correcting :)

 [image: ]
 Mads Nielsen
 Consultant
 m...@praqma.net
 +45 50 98 18 09 +45%2050%2098%2018%2009
 Skype: inkspot
 Praqma
 www.praqma.com
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62 +45%203677%202762
 http://www.code-conf.com/

 On Mon, Jun 22, 2015 at 3:31 PM, Daniel Beck m...@beckweb.net wrote:

 Compatability ... is that a typo or intended?

 On 22.06.2015, at 15:24, Mads Nielsen m...@praqma.net wrote:

  Hi Daniel,
 
  Yeah i've come up with a better and more specific name:
 
  https://github.com/Praqma/compatability-action-storage-plugin
 
  Compatability Action Storage Plugin
 
  That describes more precisely how i am going to use it...hope thats
 better for you :)
 
  Github id is still MadsNielsen
 
  Best regards,
  Mads
 
 
 
  Mads Nielsen
  Consultant
  m...@praqma.net
  +45 50 98 18 09
  Skype: inkspotPraqma
  www.praqma.com
  Allerød Stationsvej 4
  DK-3450 Allerød
  +45 36 77 27 62
 
 
  On Mon, Jun 22, 2015 at 2:14 PM, Daniel Beck m...@beckweb.net wrote:
  Hi Mads,
 
  the plugin name is quite generic. Is there a more specific name you
 could alternatively use?
 
  Daniel
 
  On 19.06.2015, at 11:12, Mads Nielsen m...@praqma.net wrote:
 
   Hi!
  
   I would like to have this plugin forked to the jenkinsci organisation:
  
   Repository:
 https://github.com/Praqma/external-data-plugin/commits/master
   User id: MadsNielsen
  
   The plugin is a library plugin that i plan to use in two of the
 plugins we maintain in the near future, it provides a mongo database that
 can be shared and used by those other plugins.
  
   I've updated the readme.md file with a brief discussion and the wiki
 template has been created.
  
   Best regards
   Mads
  
   Mads Nielsen
   Consultant
   m...@praqma.net
   +45 50 98 18 09
   Skype: inkspotPraqma
   www.praqma.com
   Allerød Stationsvej 4
   DK-3450 Allerød
   +45 36 77 27 62
  
  
   --
   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/CAFariuvRtzKn8_ymFgJ6kqnGRrq47RMa_51bC8tWp0ySW5E2EQ%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/48D3DF0B-B038-44F1-B309-7F11EFF1A3FA%40beckweb.net
 .
  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/CAFariuv%2Bm3j4j7se6V--bN%3Djyy%2BsUWSoG%2BjOhjrOh-Liq2%2BADw%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/4D9C5590-89E9-4417-A293-6464BD99008B%40beckweb.net
 .
 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/CAFariut%2Bb2rhnBgechDT8GoCMHtec8L5UC3iD9PceJBLmxkGeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Plugin hosting request - External Data Plugin

2015-06-22 Thread Mads Nielsen
Typo...correcting :)

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Mon, Jun 22, 2015 at 3:31 PM, Daniel Beck m...@beckweb.net wrote:

 Compatability ... is that a typo or intended?

 On 22.06.2015, at 15:24, Mads Nielsen m...@praqma.net wrote:

  Hi Daniel,
 
  Yeah i've come up with a better and more specific name:
 
  https://github.com/Praqma/compatability-action-storage-plugin
 
  Compatability Action Storage Plugin
 
  That describes more precisely how i am going to use it...hope thats
 better for you :)
 
  Github id is still MadsNielsen
 
  Best regards,
  Mads
 
 
 
  Mads Nielsen
  Consultant
  m...@praqma.net
  +45 50 98 18 09
  Skype: inkspotPraqma
  www.praqma.com
  Allerød Stationsvej 4
  DK-3450 Allerød
  +45 36 77 27 62
 
 
  On Mon, Jun 22, 2015 at 2:14 PM, Daniel Beck m...@beckweb.net wrote:
  Hi Mads,
 
  the plugin name is quite generic. Is there a more specific name you
 could alternatively use?
 
  Daniel
 
  On 19.06.2015, at 11:12, Mads Nielsen m...@praqma.net wrote:
 
   Hi!
  
   I would like to have this plugin forked to the jenkinsci organisation:
  
   Repository:
 https://github.com/Praqma/external-data-plugin/commits/master
   User id: MadsNielsen
  
   The plugin is a library plugin that i plan to use in two of the
 plugins we maintain in the near future, it provides a mongo database that
 can be shared and used by those other plugins.
  
   I've updated the readme.md file with a brief discussion and the wiki
 template has been created.
  
   Best regards
   Mads
  
   Mads Nielsen
   Consultant
   m...@praqma.net
   +45 50 98 18 09
   Skype: inkspotPraqma
   www.praqma.com
   Allerød Stationsvej 4
   DK-3450 Allerød
   +45 36 77 27 62
  
  
   --
   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/CAFariuvRtzKn8_ymFgJ6kqnGRrq47RMa_51bC8tWp0ySW5E2EQ%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/48D3DF0B-B038-44F1-B309-7F11EFF1A3FA%40beckweb.net
 .
  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/CAFariuv%2Bm3j4j7se6V--bN%3Djyy%2BsUWSoG%2BjOhjrOh-Liq2%2BADw%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/4D9C5590-89E9-4417-A293-6464BD99008B%40beckweb.net
 .
 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/CAFariutuFmO-Omz%3DkDTVFMJPKx-4BQnGHnfaS7bovtET4%2B_E1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Plugin hosting request - External Data Plugin

2015-06-19 Thread Mads Nielsen
Hi!

I would like to have this plugin forked to the jenkinsci organisation:

Repository: https://github.com/Praqma/external-data-plugin/commits/master
User id: MadsNielsen

The plugin is a library plugin that i plan to use in two of the plugins we
maintain in the near future, it provides a mongo database that can be
shared and used by those other plugins.

I've updated the readme.md file with a brief discussion and the wiki
template has been created.

Best regards
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

-- 
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/CAFariuvRtzKn8_ymFgJ6kqnGRrq47RMa_51bC8tWp0ySW5E2EQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Releasing library plugins for plugins, best practice

2015-06-16 Thread Mads Nielsen
Thanks for that info, i'll add that label once i get to the release. Then
it hopefully gets fixed sometime. :)

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Tue, Jun 16, 2015 at 1:06 PM, Robert Sandell rsand...@cloudbees.com
wrote:

 There is a special wiki label you can use to tag the plugin:
 plugin-library, but adding labels seems to be broken at the moment.

 Examples
 https://wiki.jenkins-ci.org/display/JENKINS/Docker+Commons+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Git+Server+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/GitHub+API+Plugin

 /B

 On Tue, Jun 16, 2015 at 12:18 PM, Stephen Connolly 
 stephen.alan.conno...@gmail.com wrote:

 yes

 On 16 June 2015 at 11:12, Mads Nielsen m...@praqma.net wrote:

 Hi Everyone,

 I've got a basic question for you guyes. I've got two plugins:

 https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+UCM+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Config+Rotator+Plugin

 In the comming weeks i am going to introduce a feature that will require
 these two plugins to use/ contribute data from an external data-source
 (First iteration is a mongo-db). For that i have made a plugin which i have
 included as a dependency in BOTH plugins:

 https://github.com/Praqma/nosql-plugin

 What is the correct way to releasing the shared library plugin? The
 plugin i wish to share is not really something that should be intalled on
 it's own, but do you still need to create a wiki for it and have it forked
 to jenkinsci prior to release?

 Best regards,
 Mads






 [image: ]
 Mads Nielsen
 Consultant
 m...@praqma.net
 +45 50 98 18 09 +45%2050%2098%2018%2009
 Skype: inkspot
 Praqma
 www.praqma.com
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62 +45%203677%202762
 http://www.code-conf.com/

 --
 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/CAFariusCEHAz8%2BZWuBMOVqPSpm1GhX2GjRZh_PenhYvvwSg0dw%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CAFariusCEHAz8%2BZWuBMOVqPSpm1GhX2GjRZh_PenhYvvwSg0dw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 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/CA%2BnPnMzuFgbNx_Goo4Mf7VTyoXgViZCtLVocgiqZCk6u8m1bTw%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CA%2BnPnMzuFgbNx_Goo4Mf7VTyoXgViZCtLVocgiqZCk6u8m1bTw%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

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




 --
 Robert Sandell
 *Software Engineer*
 *CloudBees Inc.*

 --
 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/CALzHZS2ZJ0rGWdKqi5SWmiVGdpB32OrMfGdbqrV%3DxXG7Ut34ww%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS2ZJ0rGWdKqi5SWmiVGdpB32OrMfGdbqrV%3DxXG7Ut34ww%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 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/CAFariuvRRd0a_FCeRfPK_n_T7%2BV-ODMwNduutzyGYuAY4m1JOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Releasing library plugins for plugins, best practice

2015-06-16 Thread Mads Nielsen
Hi Everyone,

I've got a basic question for you guyes. I've got two plugins:

https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+UCM+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Config+Rotator+Plugin

In the comming weeks i am going to introduce a feature that will require
these two plugins to use/ contribute data from an external data-source
(First iteration is a mongo-db). For that i have made a plugin which i have
included as a dependency in BOTH plugins:

https://github.com/Praqma/nosql-plugin

What is the correct way to releasing the shared library plugin? The plugin
i wish to share is not really something that should be intalled on it's
own, but do you still need to create a wiki for it and have it forked to
jenkinsci prior to release?

Best regards,
Mads






[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

-- 
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/CAFariusCEHAz8%2BZWuBMOVqPSpm1GhX2GjRZh_PenhYvvwSg0dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question about JUnit rules and console out

2015-06-15 Thread Mads Nielsen
Hi Jesse,

Thanks! that clears it up for me.

Best regards,
Mads

[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Fri, Jun 12, 2015 at 11:18 PM, Jesse Glick jgl...@cloudbees.com wrote:

 On Fri, Jun 12, 2015 at 6:21 AM, Mads Nielsen m...@praqma.net wrote:
  What we noticed is that if we up the parent pom version from 1.532.3 -
 1.554.1 almost all our console output does NOT get displayed in the console
 out when we run our jenkins tests within jenkins (Regular
 System.out.println), we make heavy use of the JenkinsRule in our tests for
 integration test, but i am wondering as to what could have changed in
 between those two, that could cause almost all our console output to not be
 displayed in the console log for our builds?


 https://github.com/jenkinsci/jenkins/commit/f1205fa4d613119909e0266823344dd8e6d5a519

 amended by


 https://github.com/jenkinsci/jenkins/commit/2edf25a26b740f42228b75a56de45dfe4ca8f198

 Still displayed if you pass -Dtest=… to diagnose a failure
 interactively, and still present in Surefire results, just suppressed
 by default from the build log to keep it from being unwieldy.

 --
 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/CANfRfr18sJ08C6%3Drf%2BZeTi%2B-L2MM2tQOX2UTdengxyiWd%2BntoA%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/CAFariutVXhPORy19jDhM4_ks2F_zLBBc5oC_decgk9m%3DpFKaiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Question about JUnit rules and console out

2015-06-12 Thread Mads Nielsen
Hey fellow developers!

I have an issue which i am having a hard time finding out and fixing.
Basically, we have a test-suite which makes uses of custom test rules to
print information to the console about our tests, where we test a custom
tool with parameters and expected results.

What we noticed is that if we up the parent pom version from 1.532.3 -
1.554.1 almost all our console output does NOT get displayed in the console
out when we run our jenkins tests within jenkins (Regular
System.out.println), we make heavy use of the JenkinsRule in our tests for
integration test, but i am wondering as to what could have changed in
between those two, that could cause almost all our console output to not be
displayed in the console log for our builds?

Anyone who can shed some light on this?

Best regards,
Mads



[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

-- 
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/CAFariuu9x5qXD0q-xM0EZGdzncNNYgXLud5yyTuzEgpmbyq6Qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Extending the GitClient plugin

2015-04-15 Thread Mads Nielsen
Hey Everyone,

We're in the proces of creating enhancement for our plugin (Git Pretested
Integration), so that we can use the Credentials API when doing operations
in Git. Since our plugin depends on the Git Plugin we can use the Git
Plugin to create the Git Client for us.

But in order to continue we need some addtional functionality, and i was
wondering if the best place to put those would be in the Git Client plugin?

Namely we're missing the following features in the GitClient plugin:


   1. The ability to force no fast-forwards with the --no-ff flag when
   doing a merge
   2. The ability to perform a squash merge with --squash flag.
   3. The ability to add a custom merge commit message,

So is the GitClient Plugin the correct place to add these changes?

Best regards,
Mads


[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

-- 
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/CAFariusta7Br6WYhFPVYJKd8fSn9sFeUv60dJecM6v%3DJgFLTxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Rendering a describable in global config

2015-04-09 Thread Mads Nielsen
Hey Kanstantin,

I have getters and setters for all the fields in my describable. Atleast i
can see in the XML that is produced that i get them stored correctly...for
example the MongoDB implementation has the follwing

public class MongoProviderImpl extends NoSQLProvider {

private String database,collection,username;
private String host = localhost;
private int port = 27017;
private Secret password;
private MongoDBHolderService service;

@DataBoundConstructor
public MongoProviderImpl(String host, int port, String database, String
collection, String username, Secret password) {
this.port = port;
this.host = host;

}
 .

 /**
 * @return the host
 */
public String getHost() {
return host;
}

/**
 * @param host the host to set
 */
public void setHost(String host) {
this.host = host;
}

So i have getters and setters for every field in my describable object.



[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Thu, Apr 9, 2015 at 4:06 PM, Kanstantsin Shautsou 
kanstantsin@gmail.com wrote:

 Describable binds to config.{groovy||jelly}. Describable must have getter
 methods in form 'getField()' for field that exists in Describable.


 On Thursday, April 9, 2015 at 4:13:12 PM UTC+3, Mads Nielsen wrote:

 Hey Everyone,

 I'm having some issues. I have a plugin which basically only has a global
 configuration that provides access to a mongo database other plugins can
 make use of to store data with via a simple interface. I am having an issue
 with the rendering of the configuration screen

 The main plugin simply just extends Plugin and has a config.jelly with
 the following to show a list of possible datasources

 *j:jelly xmlns:j=jelly:core xmlns:st=jelly:stapler
 xmlns:d=jelly:define xmlns:l=/lib/layout xmlns:t=/lib/hudson
 xmlns:f=/lib/form*
 *f:section title=NoSQL Configuration: ${it.provider}*
 *f:dropdownDescriptorSelector field=provider title=Database
 selection descriptors=${it.getAllProviders()}/*
 */f:section*
 */j:jelly*

 I't populates and renders the list of my describable objects just fine,
 and i can see that the values do get persisted in the xml file on my
 jenkins instance. However, when the i reload and go back to see the
 configuration all the fields are blank in the configuration for my
 describable object.

 I have overriden  the following methods in the Plugin Implemention:

 *@Override*
 *public void configure(StaplerRequest req, JSONObject formData)
 throws IOException, ServletException, Descriptor.FormException {*
 *super.configure(req, formData); //To change body of generated
 methods, choose Tools | Templates.*
 *provider = req.bindJSON(NoSQLProvider.class,
 formData.getJSONObject(provider));*
 *save();*
 *}*

 *@Override*
 *public void start() throws Exception {*
 *super.start(); //To change body of generated methods, choose
 Tools | Templates.*
 *load();*
 *}*

 The base implementation of my describable object looks like this:

 *public abstract class NoSQLProvider implements
 DescribableNoSQLProvider, Serializable {*

 *public abstract T T create(T t) throws NoSQLDataException;*
 *public abstract T T read(Object key, ClassT clazz) throws
 NoSQLDataException;*

 *public abstract static class NoSQLDescriptor extends
 DescriptorNoSQLProvider {*

 *public static ExtensionListNoSQLDescriptor all() {*
 *return
 Jenkins.getInstance().getExtensionList(NoSQLDescriptor.class);*
 *}*

 *}*
 *}*

 I also tried all sorts of things, one of the was calling load() in the
 constructor of my desribables, for example for MongoDB i have the following
 descriptor:

* @Extension*
 *public static final class MongoProviderDescriptor extends
 NoSQLDescriptor {*

 *public MongoProviderDescriptor() {*
 *load();*
 *}*

 *@Override*
 *public String getDisplayName() {*
 *return MongoDB;*
 *}*
 *} *

 What am i missing here? I've done this before...but i can't figure out
 what keeps this from working :)

 Best regards,
 Mads



 [image: ]
 Mads Nielsen
 Consultant
 m...@praqma.net
 +45 50 98 18 09
 Skype: inkspot
 Praqma
 www.praqma.com
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62
 http://www.code-conf.com/

  --
 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

Re: Rendering a describable in global config

2015-04-09 Thread Mads Nielsen
Here you go: This is my describable:

https://github.com/Praqma/nosql-plugin/blob/master/src/main/java/org/jenkinsci/plugins/nosqldb/MongoProviderImpl.java



[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

On Thu, Apr 9, 2015 at 4:18 PM, Kanstantsin Shautsou 
kanstantsin@gmail.com wrote:

 Link to source java and UI files will be appreciated :)

 On Apr 9, 2015, at 17:12, Mads Nielsen m...@praqma.net wrote:

 Hey Kanstantin,

 I have getters and setters for all the fields in my describable. Atleast i
 can see in the XML that is produced that i get them stored correctly...for
 example the MongoDB implementation has the follwing

 public class MongoProviderImpl extends NoSQLProvider {

 private String database,collection,username;
 private String host = localhost;
 private int port = 27017;
 private Secret password;
 private MongoDBHolderService service;

 @DataBoundConstructor
 public MongoProviderImpl(String host, int port, String database,
 String collection, String username, Secret password) {
 this.port = port;
 this.host = host;
 
 }
  .

  /**
  * @return the host
  */
 public String getHost() {
 return host;
 }

 /**
  * @param host the host to set
  */
 public void setHost(String host) {
 this.host = host;
 }

 So i have getters and setters for every field in my describable object.



 [image: ]
 Mads Nielsen
 Consultant
 m...@praqma.net
 +45 50 98 18 09 +45%2050%2098%2018%2009
 Skype: inkspot
 Praqma
 www.praqma.com
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62 +45%203677%202762
 http://www.code-conf.com/

 On Thu, Apr 9, 2015 at 4:06 PM, Kanstantsin Shautsou 
 kanstantsin@gmail.com wrote:

 Describable binds to config.{groovy||jelly}. Describable must have getter
 methods in form 'getField()' for field that exists in Describable.


 On Thursday, April 9, 2015 at 4:13:12 PM UTC+3, Mads Nielsen wrote:

 Hey Everyone,

 I'm having some issues. I have a plugin which basically only has a
 global configuration that provides access to a mongo database other plugins
 can make use of to store data with via a simple interface. I am having an
 issue with the rendering of the configuration screen

 The main plugin simply just extends Plugin and has a config.jelly with
 the following to show a list of possible datasources

 *j:jelly xmlns:j=jelly:core xmlns:st=jelly:stapler
 xmlns:d=jelly:define xmlns:l=/lib/layout xmlns:t=/lib/hudson
 xmlns:f=/lib/form*
 *f:section title=NoSQL Configuration: ${it.provider}*
 *f:dropdownDescriptorSelector field=provider title=Database
 selection descriptors=${it.getAllProviders()}/*
 */f:section*
 */j:jelly*

 I't populates and renders the list of my describable objects just fine,
 and i can see that the values do get persisted in the xml file on my
 jenkins instance. However, when the i reload and go back to see the
 configuration all the fields are blank in the configuration for my
 describable object.

 I have overriden  the following methods in the Plugin Implemention:

 *@Override*
 *public void configure(StaplerRequest req, JSONObject formData)
 throws IOException, ServletException, Descriptor.FormException {*
 *super.configure(req, formData); //To change body of generated
 methods, choose Tools | Templates.*
 *provider = req.bindJSON(NoSQLProvider.class,
 formData.getJSONObject(provider));*
 *save();*
 *}*

 *@Override*
 *public void start() throws Exception {*
 *super.start(); //To change body of generated methods, choose
 Tools | Templates.*
 *load();*
 *}*

 The base implementation of my describable object looks like this:

 *public abstract class NoSQLProvider implements
 DescribableNoSQLProvider, Serializable {*

 *public abstract T T create(T t) throws NoSQLDataException;*
 *public abstract T T read(Object key, ClassT clazz) throws
 NoSQLDataException;*

 *public abstract static class NoSQLDescriptor extends
 DescriptorNoSQLProvider {*

 *public static ExtensionListNoSQLDescriptor all() {*
 *return
 Jenkins.getInstance().getExtensionList(NoSQLDescriptor.class);*
 *}*

 *}*
 *}*

 I also tried all sorts of things, one of the was calling load() in the
 constructor of my desribables, for example for MongoDB i have the following
 descriptor:

* @Extension*
 *public static final class MongoProviderDescriptor extends
 NoSQLDescriptor {*

 *public MongoProviderDescriptor() {*
 *load();*
 *}*

 *@Override*
 *public String getDisplayName

Rendering a describable in global config

2015-04-09 Thread Mads Nielsen
Hey Everyone,

I'm having some issues. I have a plugin which basically only has a global
configuration that provides access to a mongo database other plugins can
make use of to store data with via a simple interface. I am having an issue
with the rendering of the configuration screen

The main plugin simply just extends Plugin and has a config.jelly with the
following to show a list of possible datasources

*j:jelly xmlns:j=jelly:core xmlns:st=jelly:stapler
xmlns:d=jelly:define xmlns:l=/lib/layout xmlns:t=/lib/hudson
xmlns:f=/lib/form*
*f:section title=NoSQL Configuration: ${it.provider}*
*f:dropdownDescriptorSelector field=provider title=Database
selection descriptors=${it.getAllProviders()}/*
*/f:section*
*/j:jelly*

I't populates and renders the list of my describable objects just fine, and
i can see that the values do get persisted in the xml file on my jenkins
instance. However, when the i reload and go back to see the configuration
all the fields are blank in the configuration for my describable object.

I have overriden  the following methods in the Plugin Implemention:

*@Override*
*public void configure(StaplerRequest req, JSONObject formData) throws
IOException, ServletException, Descriptor.FormException {*
*super.configure(req, formData); //To change body of generated
methods, choose Tools | Templates.*
*provider = req.bindJSON(NoSQLProvider.class,
formData.getJSONObject(provider));*
*save();*
*}*

*@Override*
*public void start() throws Exception {*
*super.start(); //To change body of generated methods, choose Tools
| Templates.*
*load();*
*}*

The base implementation of my describable object looks like this:

*public abstract class NoSQLProvider implements DescribableNoSQLProvider,
Serializable {*

*public abstract T T create(T t) throws NoSQLDataException;*
*public abstract T T read(Object key, ClassT clazz) throws
NoSQLDataException;*

*public abstract static class NoSQLDescriptor extends
DescriptorNoSQLProvider {*

*public static ExtensionListNoSQLDescriptor all() {*
*return
Jenkins.getInstance().getExtensionList(NoSQLDescriptor.class);*
*}*

*}*
*}*

I also tried all sorts of things, one of the was calling load() in the
constructor of my desribables, for example for MongoDB i have the following
descriptor:

   * @Extension*
*public static final class MongoProviderDescriptor extends
NoSQLDescriptor {*

*public MongoProviderDescriptor() {*
*load();*
*}*

*@Override*
*public String getDisplayName() {*
*return MongoDB;*
*}*
*} *

What am i missing here? I've done this before...but i can't figure out what
keeps this from working :)

Best regards,
Mads



[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09 +45%2050%2098%2018%2009
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62 +45%203677%202762
http://www.code-conf.com/

-- 
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/CAFariutcTZrnq-JdTmVNuw0nO2CZrf0D7ydnAFHLWcqK8cW9LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Setting up a jenkins development environment with netbeans

2015-03-10 Thread Mads Nielsen
Have you tried installing the stapler/jenkins plugin for netbeans? Try
that, and create a project from the template the plugin provides.

On Tue, Mar 10, 2015 at 12:25 PM, Joel Collins jconl...@gmail.com wrote:

 Thanks Thom, like I said I think i'm missing something major here.  There
 is nothing in the output window since I have no options to run or debug
 anything.  I can build the plugin just fine, but that just creates an .hpi
 file, nothing else.

 I want to make this super clear, I did not setup a development environment
 for jenkins core first.  Is that a prerequisite?  The instructions for the
 plugin development made it seem like merely building a jenkins plugin
 provided enough of a build environment to kick off jenkins itself, but I
 dont see how this is possible.  It also said that if you run mvnDebug
 (where the debugging happens on port 8000), jenkins will magically become
 available on :8080.  Again, I think I'm just confused.  Do I need to also
 follow a tutorial for setting up a development build of Jenkins?

 On Mon, Mar 9, 2015 at 8:08 PM, Thom Ellis teh...@gmail.com wrote:

 What do you get in the output window?

 I just switched to NetBeans from Eclipse a couple days ago, and I had
 been debugging the same way I was previously in Eclipse, which was to build
 with Maven from the command line, and then I would just attach the NetBeans
 debugger which worked fine.  It's a bit more tedious, but it was the flow
 I'd been used to. Might be able to do that as a workaround as well in the
 meantime.

 I did however just try debugging directly through NetBeans, and
 everything seemed to work just fine, it fired open a browser window and
 Jenkins was up and running.

 I'm assuming you can do a clean build through NetBeans without any errors?

 --T


 On Monday, March 9, 2015 at 11:50:48 AM UTC-7, Joel Collins wrote:

 I've been trying to follow the instructions here
 https://wiki.jenkins-ci.org/display/JENKINS/Plugin+
 tutorial#Plugintutorial-SettingUpEnvironment but have been running into
 a lot of mental hurdles.

 I've got jenkins installed from the debian repo (/var/lib/jenkins).
 I've got my source code for the plugin checked out in
 (/home/myname/my-jenkins-plugin).

 The plugin runs successfully if I run mvn install, copy the hpi file
 from ./target over to /var/lib/jenkins/plugins, and restart jenkins.
 However, debugging this was is enormously slow, and I'm trying to setup a
 better development environment.

 In netbeans (8.0.2) I've loaded the project file, and the maven sources
 were downloaded.

 The tutorial now says

 NetBeans 6.7+ users can just hit *Debug*.


 but the debug tab is not working.  Also, I dont understand how a
 netbeans project that only has my plugin in it is supposed to know how to
 kick off the instance of jenkins.

 I've also tried the mvnDebug command and listening on 8000 in netbeans
 with no success.

 What am I doing wrong?

 Thank you!

  --
 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/zSasZNqvRWU/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/760c12da-9c44-4a8a-a221-a214d4e7c07e%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-dev/760c12da-9c44-4a8a-a221-a214d4e7c07e%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 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/CAMCVXr%3D1WHtusYF2Cf4M213Zu4Yu9B20NXAE12cD%2BZfMNSH6UQ%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CAMCVXr%3D1WHtusYF2Cf4M213Zu4Yu9B20NXAE12cD%2BZfMNSH6UQ%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

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




-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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/CAFariusdvNp4ZBT33msodYi5nnvH60A-P8iP0Dg22c%2Bs5UquhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Running a command line instruction in HelloWorld plugin

2015-02-20 Thread Mads Nielsen
i think you can use the launcher parameter in your perform.

So like
launcher.launch().pwd(build.getWorkspace()).cmdAsSingleString(mkdir
new_folder).join()


On Fri, Feb 20, 2015 at 3:48 PM, Bruno bruno.mart...@liebherr.com wrote:

 Hi everyone,

 I'm trying to develop a Jenkins plugin for some internal tools, and I'm a
 complete newbie. Basically, I just want to run some command line
 instructions, (then to collect data from reports generated by the previous
 instructions and to draw graphs).

 In the HelloWorld plugin, the only class is HelloWorldBuilder extending
 Builder. I assume that I have to write some lines in the perform method
 to run, say, a instruction like mkdir new_folder.

 How can I do this ? I've tried to use the BatchFile class to run a .bat
 (instead of a single instruction), but the javadoc page is quite empty..

 Thx in advance.

 Bruno

  --
 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/a4e1d5d1-795d-4a14-9239-1d62767bbf85%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-dev/a4e1d5d1-795d-4a14-9239-1d62767bbf85%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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/CAFariut6JoirzuyUvtz_Hd4-LTjfnvomAVrgeujcy81C%3D4wyog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new plugin - jenkins-lockdown-fullcontrol-auth-plugin

2015-02-17 Thread Mads Nielsen
It's usually a good idea to provide a short descriptive readme.md file in
the root of your repository with a short description / statement of the
purpose your plugin serves.



On Tue, Feb 17, 2015 at 11:35 AM, Nitzan Raz nitz@gmail.com wrote:

 Hi All
 I developed a new plugin and wanted to contribute it, according to this
 https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins

 Plugin is based on standard procedure, pom file is complete because I
 didn't know how to fill the @jenkinsci part.

 My plugin name: jenkins-lockdown-fullcontrol-auth-plugin (Lockdown
 Logged-in Authorization Startegy)
 Personal github ID: BackSlasher
 Existing repo:
 https://github.com/BackSlasher/jenkins-lockdown-fullcontrol-auth-plugin.git

 If some info is missing / the plugin sucks and cannot be possibly accepted
 please LMK

 Thanks

 *Nitzan Raz*
 http://backslasher.net

 --
 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/CAD%2BnROA0LDFn_6FOgEjaoZQvPSsHZEHKcSzOj%2B%2Bq0vqyCKCT%2BQ%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CAD%2BnROA0LDFn_6FOgEjaoZQvPSsHZEHKcSzOj%2B%2Bq0vqyCKCT%2BQ%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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/CAFariutZpAjN5QYwnk1fz5v-817d4BFyZ_ZNa9iKp%3DxKpdyZ7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: new plugin - jenkins-lockdown-fullcontrol-auth-plugin

2015-02-17 Thread Mads Nielsen
I don't think it's mandatory, just good practice. Although i have a general
idea of what your plugin does by looking at the code. If your codebase grew
and the complexity was higher, having a short descriptive readme file makes
it easier for the folks responsible for forking it on jenkinsci to
determine whether the plugins functionality could be merged into existing
plugins.

On Tue, Feb 17, 2015 at 11:41 AM, Nitzan Raz nitz@gmail.com wrote:

 I'm going to. Didn't see it on my inspiration plugin
 https://github.com/jenkinsci/matrix-auth-plugin, so I assumed it was
 not-mandatory.

 *Nitzan Raz*
 http://backslasher.net

 On Tue, Feb 17, 2015 at 12:40 PM, Mads Nielsen m...@praqma.net wrote:

 It's usually a good idea to provide a short descriptive readme.md file
 in the root of your repository with a short description / statement of the
 purpose your plugin serves.



 On Tue, Feb 17, 2015 at 11:35 AM, Nitzan Raz nitz@gmail.com wrote:

 Hi All
 I developed a new plugin and wanted to contribute it, according to this
 https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins

 Plugin is based on standard procedure, pom file is complete because I
 didn't know how to fill the @jenkinsci part.

 My plugin name: jenkins-lockdown-fullcontrol-auth-plugin (Lockdown
 Logged-in Authorization Startegy)
 Personal github ID: BackSlasher
 Existing repo:
 https://github.com/BackSlasher/jenkins-lockdown-fullcontrol-auth-plugin.git

 If some info is missing / the plugin sucks and cannot be possibly
 accepted please LMK

 Thanks

 *Nitzan Raz*
 http://backslasher.net

 --
 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/CAD%2BnROA0LDFn_6FOgEjaoZQvPSsHZEHKcSzOj%2B%2Bq0vqyCKCT%2BQ%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CAD%2BnROA0LDFn_6FOgEjaoZQvPSsHZEHKcSzOj%2B%2Bq0vqyCKCT%2BQ%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 [image: ]
 Mads Nielsen
 Consultant
 m...@praqma.net
 +45 50 98 18 09
 Skype: inkspot
 Praqma
 www.praqma.com
 Allerød Stationsvej 4
 DK-3450 Allerød
 +45 36 77 27 62

  --
 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/CAFariutZpAjN5QYwnk1fz5v-817d4BFyZ_ZNa9iKp%3DxKpdyZ7A%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CAFariutZpAjN5QYwnk1fz5v-817d4BFyZ_ZNa9iKp%3DxKpdyZ7A%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 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/CAD%2BnROBvtCgyctb%3Dh-TQ9v9Zo_DKA7839P9RL%3Dc2Hy0b9HXT0Q%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-dev/CAD%2BnROBvtCgyctb%3Dh-TQ9v9Zo_DKA7839P9RL%3Dc2Hy0b9HXT0Q%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

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




-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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/CAFariuv9fw7OCWg8VfrSk0JCYo6c2%3DygtG0fecWAs1-apRZssw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Open issues link broken?

2015-01-19 Thread Mads Nielsen
Hey Eveyrone,

I am currently having some issue. We use the 'open-issues' widget for our
plugin wiki...When you try opening the issue link, you get this error:

For example the git plugin issue link is broken:
https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hidereset=truejqlQuery=project+%3D+JENKINS+AND+status+in+%28Open%2C+%22In+Progress%22%2C+Reopened%29+AND+component+%3D+%27git%27

And...it looks like the 'search' feature is also broken on
https://issues.jenkins-ci.org/secure/Dashboard.jspa

Is this a known issue?

Best regards,
Mads

-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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/CAFariuvHzw%2B5%2B-iNcmCBuRQqFtNgQrFXFMJPgzFXvN22NYnbXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: update-center.json lists a plugin's really old version as the latest

2014-11-10 Thread Mads Nielsen
Same problem with our plugin:
https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+UCM+Plugin. Shows
latest release 1.4.4 (one year ago, We're currently at 1.5.4),

On Mon, Nov 10, 2014 at 12:12 PM, Cletus D'Souza cletusdso...@hotmail.com
wrote:

 Hi,

 Not sure how this has happened, but the update-center.json shows the
 latest version of the integrity-plugin as 1.17 when in fact the latest is
 1.28.  How do I fix this problem?

 Thanks!
 Cletus

 --
 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.
 For more options, visit https://groups.google.com/d/optout.




-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Plugin status widget borked.

2014-11-07 Thread Mads Nielsen
Hey everyone...has something happened to the plugin status widget?

One of the plugins we maintain

https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+UCM+Plugin

It says lates release is 1.4.4, which is a lie, because if you click the
archive link (nice!) we have quite a few newer releases and the current one
is 1.5.4.

Another thing, the new capcha introduced is incredibly annoying, since the
wiki does not save your edits and picture insertions if you fail to see it
correctly, which for me happens often...

Just wanted to ask, if anyone else is having this issue?

-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [WIKI] Plugin stats not updated in 3 months

2014-10-07 Thread Mads Nielsen
Any update on the plugin status issue?

On Thu, Oct 2, 2014 at 10:51 AM, Jan Molak jan.mo...@smartcodeltd.co.uk
wrote:

 Hi Kohsuke, sorry for bothering you with this stats issue again, but I
 wasn't sure who's taking care of this part of the Jenkins infrastructure.

 Best,
 Jan


 On Wednesday, 24 September 2014 13:33:15 UTC+1, Jan Molak wrote:

 Hi all,

 It seems that plugin stats on the Jenkins wiki haven't been updated since
 June (according to timestamps at http://stats.jenkins-ci.org/
 plugin-installation-trend/).

 Is this someone needs to kick manually, if so, should it be automated?
 And if that's the case is any help needed with that?

 Best,
 Jan

  --
 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.
 For more options, visit https://groups.google.com/d/optout.




-- 
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62
http://www.codecph.dk/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Possible to modify changelog after checkout?

2014-10-06 Thread Mads Nielsen
Hey Everyone,

Is it possible to modify the changelog after checkout() in the pre-build
phase (SCM)? Our situation is quite exotic, and even if there is a hack,
that allows us to write to the changelog and re-parse it after the fact
would be fine.

Best regards,
Mads
[image: ]
Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
Praqma
www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62
http://www.codecph.dk/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Connect jelly and java

2014-09-04 Thread Mads Nielsen
I dont think an action is a describable object? So i dont think tour
approach will work.
Den 04/09/2014 20.26 skrev jenkinsuse...@gmail.com:

 Thanks for replying!
 So now the code looks like this, right?

 public class JavaClass implements Action {

 private AbstractProject ap;
 public String selection;

 public JavaClass(AbstractProject ap) {
 this.ap = ap;
 }

 @DataBoundConstructor
 public JavaClass(String selection) {
 this.selection = selection;
 }

 public String getIconFileName() {
 return null;
 }

 public String getDisplayName() {
 return ;
 }

 public String getUrlName() {
 return something;
 }

 @Extension
 public static final class DescriptorImpl extends
 TransientProjectActionFactory {

 public ListBoxModel doFillSelectionItems() throws IOException {
 ListBoxModel model = new ListBoxModel();
 model.add(test);
 return model;
 }

 @Override
 public Collection? extends Action createFor(AbstractProject target)
 {
 return Arrays.asList(new JavaClass(target));
 }
   }
 }


 However the dropdown list is still empty. The doFill method is never
 called.
 Do you have another hint?

  --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins plugin: text field validation

2014-08-15 Thread Mads Nielsen
I am pretty sure you need to match the package name for you describable
object, so your view code needs to be in a package that matches the fully
qualified class name of your TextBoxValueDescriptor.


On Fri, Aug 15, 2014 at 11:35 AM, Dzmitry Kashlach 
dzmitrykashl...@gmail.com wrote:

 Thank you for quick answer, Mads.

 1.I have changed public FormValidation checkValue(...) to public
 FormValidation doCheckValue(...) and haven't got any effect.
 2.May be, there is an issue in my project structure?

 config.jelly has the following URL:
 hudson/plugins/com/PerformancePublisher/config.jelly

 FormValidation:
 hudson/plugins/com/TextBoxValueValidationDescriptor

 Is it correct?

 --
 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.
 For more options, visit https://groups.google.com/d/optout.




-- 
 [image: ]
 Mads Nielsen
Consultant
m...@praqma.net
+45 50 98 18 09
Skype: inkspot
 Praqma
 www.praqma.com
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62
  http://www.jcicph.dk/codecamp

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Refreshing the Jenkins UI

2014-06-19 Thread Mads Nielsen
Looks great, would it be possibly to vertically center align labels to it's
attached item?, in the second one, the label for the text box is slightly
over the text input field?


On Thu, Jun 19, 2014 at 2:24 AM, Michael Neale michael.ne...@gmail.com
wrote:


 On Wed, Jun 18, 2014 at 10:25 PM, Tom Fennelly tom.fenne...@gmail.com
 wrote:

 Posting back here again to solicit feedback.



 Looks great - I tried on chrome, safari (both mac) and iphone - the
 responsive-isms are much appreciated.

 2 things that stood out:

 Font is still tiny - I find it hard to read (had to bump it up a few
 sizes) - Helvetica (as mentioned in another PR) works nicely here as you
 bump it up a bit - doesn't stand out as much compared to every other web
 app :) Sure with a smaller font you can see a but more - but you end up
 skipping over things as it is too small to read.

 When you narrow the window (eg mobile) the menu links really stand out as
 out of place (I think Gus mentioned that in another thread). A classic
 responsive thing to do here would be to collapse them into some pop-over
 menu (often the infamous pancake icon is used here) - this may be overkill,
 but I thought it was interesting how well responsive worked but for those
 stubborn links and their icons.

 Have attached the before/after with the larger/helvetica font change.

 --
 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.
 For more options, visit https://groups.google.com/d/optout.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: clamav plugin updates

2014-06-06 Thread Mads Nielsen
Strictly speaking a unit test that relies heavily on an external tool is
not a unit test, but more akin to a functional or integration test, would
it be possible to adap the test to strictly test the contract between the
app and your code? Can you mock it instead or something?


On Fri, Jun 6, 2014 at 2:16 PM, Palic, Darko darko.pa...@googlemail.com
wrote:

  Hello Uli,

 thank you for the commit access! Haven't even dreamt about getting it ;-)

 Could you tell me additionally, if the cloudbees or any other server on
 the jenkins build does provide a clamav daemon?
 So I could change the unit-test-code to use it.

 best wishes
 Darko



 On 06.06.2014 13:55, Ulli Hafner wrote:

 You should now have commit access.

  Welcome aboard!

  Ulli

  --
 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.
 For more options, visit https://groups.google.com/d/optout.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Matrix-Reloaded plugin

2014-05-02 Thread Mads Nielsen
Hi all,

This repository, https://github.com/jenkinsci/Matrix-Reloaded-Plugin

Can my github user id *MadsNielsen *be granted sufficient rights to merge
the pending pull requests, i am one of the maintainers of the plugin.

Best regards,
Mads



-- 




*Mads Nielsen ConsultantPraqma A/S*



*Tel: +45 50 98 18 09 %2B45%2050%2098%2018%2009Mail: m...@praqma.net
l...@praqma.net web: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: How to hook pre-build?

2014-04-25 Thread Mads Nielsen
Alternatively, you could check out the BuildWrapper extension point:
http://javadoc.jenkins-ci.org/hudson/tasks/BuildWrapper.html

and use the *setUp(AbstractBuild, Launcher, BuildListener)
http://javadoc.jenkins-ci.org/hudson/tasks/BuildWrapper.html#setUp(hudson.model.AbstractBuild,
hudson.Launcher, hudson.model.BuildListener) method.*


On Thu, Apr 24, 2014 at 6:42 PM, Christopher Ambler
ch...@insiderhouse.comwrote:

 Greetings!

 I am using the hue-light plugin. One thing it does is hook the prebuild()
 event to turn a light blue when a build kicks off. Not only does this
 appear to not work with Maven projects, but it also has a compilation error
 with the latest libraries. I'm told it's a deprecated interface, which
 would explain all of that.

 What I can't seem to find is the appropriate way to get code executed when
 a project's build is kicked off.

 I'd like to fix this bug.

 Can anyone point me to the docs for this?

 The plugin turns a light blue when a build starts, and then hooks the
 results to turn the light green/yellow/red based on the status of the
 build. The latter part works fine. It's the hey, a build is starting, go
 blue part that I need to rework.

 Many thanks in advance!

 Christopher

 --
 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.
 For more options, visit https://groups.google.com/d/optout.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: sharing the data between two plugins

2014-04-25 Thread Mads Nielsen
We usually use actions to svare data. There is an InvisibleAction just for
that purpose.
Den 25/04/2014 12.12 skrev supr...@horoppa.com:

 I have developed two jenkins plugins. one is build plugin and other is
 post build plugin. Now my requirement is the output of build plugin should
 be passed as the input of post build plugin. I dint have any idea on how
 can i do this. Can any one help me how can i share data between the plugins.

 Thanks in advance

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: Intellij License Renewal

2014-03-12 Thread Mads Nielsen
Hey Kohsuke, i'd love to try intellij (using netbeans now)
Working on these plugins:
 * ClearCase UCM Plugin
 * PRQA Plugin
 * MatrixReloaded Plugin
 * DrMemory Plugin
 * ConfigRotator Plugin

So a license would be sweet.


On Mon, Aug 5, 2013 at 8:12 PM, Kohsuke Kawaguchi
kkawagu...@cloudbees.comwrote:


 I got the new key, so those of you who need it, please let me know (along
 with what plugins you work on, as a due diligence.)


 On 08/03/2013 07:25 AM, Stefan Wolf wrote:

 Hi,

 the Intellij License for the Jenkins project will expire on August 7. Is
 the
 renewal already under way?

 Best regards,
 Stefan

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
 Try Jenkins Enterprise, our professional version of Jenkins


 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Pugin development for Pre-tested commit for perforce or any other SCM

2014-01-07 Thread Mads Nielsen
What about this:
https://wiki.jenkins-ci.org/display/JENKINS/Pretested+Integration+Plugin for
inspiration? Using Mercurial.


On Wed, Jan 8, 2014 at 5:34 AM, Sameer Sonaikar samisan...@gmail.comwrote:

 Hi,

 I am interested to know if any plugin development in progress for*
 pre-tested commit* for Perforce or any other SCM?

 What pre-tested commit means?

 In usual CI process, developer has to commit her changes into perforce but
 in pre-test commit developer need to share her files in some way with
 jenkins.
 A developer do share changed files (shelve files in case of perforce).
 Jenkins do sync workspace with this shelved plugin (changelist# provided by
 user) and run a build  along with test cases. Build result will be sent to
 user once build complete.
 User will take further action, either submit or revert the changelist
 according to result of test build.


 *I need certain opinions from experts,*

1. Is this idea feasible?
2. What could be a possible trouble?
3. In which area of plugin I need to focus? It is really difficult to
go through all the plugins code.



 Please let me know if any one of you already working on this plugin task.
 I would like share thoughts and contribute to work. Thanks for your help
 and understanding.

 Thanks,
 Sameer Sonaikar

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Memory Map Plug-in - linker cmd file for linux ubuntu

2013-12-06 Thread Mads Nielsen
Hey Nicolas,

Yes of course, we can always add new compilers. Feel free to contact me on
my email m...@praqma.net for a talk about your posibilities.

Best regards,
Mads


On Thu, Dec 5, 2013 at 11:07 AM, nikelegr...@hotmail.com wrote:

 Thanks you Mads for your quick answers.

 Is it something which can evolve please?
 Regards.

 Nicolas.

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Memory Map Plug-in - linker cmd file for linux ubuntu

2013-12-05 Thread Mads Nielsen
Hi Nicolas,

I'm the plugin maintainer of the memory-map-plugin.

Currently, the memory-map-plugin does not support GCC compiler. I think the
GCC selection was left there by accident.

Best regards,
Mads


On Thu, Dec 5, 2013 at 10:34 AM, nikelegr...@hotmail.com wrote:

 Hi there,

 I am new in Jenkins and continuous integration.

 I am trying to use Memory Map Plug-in, but i don't know which kind of file
 use for Linker Cmd File.
 I am using GCC+ make on ubuntu 12.04 with a Intel Core i5-2400.
 Has anyone of you, guys, have an idea please?

 Thanks by advance.

 Nicolas LE GRAND.

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problem running tests when building maven-plugin

2013-11-18 Thread Mads Nielsen
I thinks the asignee stuff got mixed up, im not involved in the maven
plugin development.. :)


On Mon, Nov 18, 2013 at 2:45 PM, Marco Miller miller.ma...@me.com wrote:

 Hi Mads,

 You might want to review this other related thread,
 in case anything in there could help:

 https://groups.google.com/forum/#!topic/jenkinsci-dev/P_KSh9xVBOg
 -entitled maven-plugin tests not running or..?.

 Cheers,
 Marco.


 On Sunday, November 17, 2013 7:03:32 AM UTC-5, hrmohr wrote:

 Hi,

 I’ve made a simple patch that adds the parsed project version as
 environment variables:

 https://github.com/jenkinsci/maven-plugin/pull/11

 But the test seems to fail. I have run the tests on three different
 systems now, and they all fail but at different times/tests. It looks like
 a problem with memory as the error message in the build is “Maven JVM
 terminated unexpectedly with exit code 137”

 https://jenkins.ci.cloudbees.com/job/plugins/job/maven-plugin/37

 Can anyone please help me out here?

 Cheers, Mads.

  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 




*Mads NielsenConsultantPraqma A/S*



*Tel: +45 50 98 18 09Mail: m...@praqma.net
l...@praqma.netweb: www.praqma.net http://www.praqma.net/*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AW - *PLEASE READ* Re: strange pushes on GitHub

2013-11-11 Thread Mads Nielsen
What is the recommended way to get a full restore, in the case where you do
not happen to have a local clone of the repository which was cloned before
the accident?


On Sun, Nov 10, 2013 at 7:55 PM, Luca Milanesio luca.milane...@gmail.comwrote:

 Hi all,
 I have triggered an involuntary forced push last night on the list of
 Jenkins-CI plugins indicated below in this e-mail.

 *My apology *

 I did not realise that I actually had forced push permissions and I do
 apologise for the inconvenience caused.
 The operations pushed back the all the branches to around 1 month. The
 history is not lost and is still on the GitHub server but on detached
 branches.

 *The solution*

 I can raise a request to GitHub to provide the reflog of those
 repositories and restore the branches to the point before my forced push.
 *Alternatively the owners of those repositories can still perform a
 forced push to restore the correct position of the branches.*
 (if you would like to do so, *please write to the mailing list so that we
 do not overlap the recovery operations*)

 *The full list*

 See below the full list of repositories impacted:

 antexec-plugin.git
 artifactory-plugin.git
 associated-files-plugin.git
 audit2db-plugin.git
 audit-trail-plugin.git
 backend-pull-request-greeter.git
 beaker-builder-plugin.git
 branch-api-plugin.git
 build-flow-plugin.git
 buildgraph-view.git
 build-pipeline-plugin.git
 build-timeout-plugin.git
 buildtriggerbadge-plugin.git
 bytecode-compatibility-transformer.git
 ci-game-plugin.git
 clearcase-plugin.git
 clearcase-ucm-plugin.git
 cloudbees-folder-plugin.git
 cloudbees-plugin-gateway.git
 cloudtest-plugin.git
 clover-plugin.git
 cobertura-plugin.git
 collabnet-plugin.git
 collapsing-console-sections-plugin.git
 compact-columns-plugin.git
 compress-artifacts-plugin.git
 conditional-buildstep-plugin.git
 config-file-provider-plugin.git
 configurationslicing-plugin.git
 copyartifact-plugin.git
 copy-project-link-plugin.git
 copy-to-slave-plugin.git
 cppcheck-plugin.git
 credentials-plugin.git
 crowd2-plugin.git
 crowd-plugin.git
 customtools-plugin.git
 cvsclient.git
 cvs-plugin.git
 dashboard-view-plugin.git
 datical-db-plugin.git
 dependency-check-plugin.git
 deploy-plugin.git
 disable-failed-job-plugin.git
 disk-usage-plugin.git
 doclinks-plugin.git
 dry-plugin.git
 dynamic-axis-plugin.git
 ec2-plugin.git
 elastic-axis-plugin.git
 email-ext-plugin.git
 envinject-lib.git
 envinject-plugin.git
 extended-choice-parameter-plugin.git
 extra-columns-plugin.git
 extras-executable-war.git
 extreme-feedback-plugin.git
 gearman-plugin.git
 gerrit-trigger-plugin.git
 gitbucket-plugin.git
 git-chooser-alternative-plugin.git
 git-client-plugin.git
 git-plugin.git
 global-build-stats-plugin.git
 global-variable-string-parameter-plugin.git
 gradle-jpi-plugin.git
 grails-plugin.git
 greenballs-plugin.git
 groovy-postbuild-plugin.git
 heavy-job-plugin.git
 hockeyapp-plugin.git
 http-request-plugin.git
 humbug-plugin.git
 instant-messaging-plugin.git
 integrity-plugin.git
 ironmq-notifier-plugin.git
 ivytrigger-plugin.git
 jacoco-plugin.git
 jclouds-plugin.git
 jira-plugin.git
 jobConfigHistory-plugin.git
 job-dsl-plugin.git
 job-import-plugin.git
 job-poll-action-plugin.git
 jquery-plugin.git
 jquery-ui-plugin.git
 json-lib.git
 kiuwan-plugin.git
 label-verifier-plugin.git
 ldap-plugin.git
 leiningen-plugin.git
 lib-annotation-indexer.git
 lib-task-reactor.git
 lib-windows-remote-command.git
 literate-cli.git
 logfilesizechecker-plugin.git
 m2release-plugin.git
 m2-repo-reaper-plugin.git
 mailer-plugin.git
 matrix-auth-plugin.git
 maven-hpi-plugin.git
 maven-info-plugin.git
 mercurial-plugin.git
 mesos-plugin.git
 metadata-plugin.git
 mock-security-realm-plugin.git
 msbuild-plugin.git
 naginator-plugin.git
 nerrvana-plugin.git
 nested-view-plugin.git
 next-build-number-plugin.git
 next-executions-plugin.git
 parameterized-trigger-plugin.git
 perforce-plugin.git
 performance-plugin.git
 persona-plugin.git
 pitmutation-plugin.git
 plain-credentials-plugin.git
 plugin-compat-tester.git
 postbuildscript-plugin.git
 promoted-builds-plugin.git
 prqa-plugin.git
 publish-over-cifs-plugin.git
 puppet-jenkins.git
 radiatorview-plugin.git
 rapiddeploy-plugin.git
 release-plugin.git
 repo-plugin.git
 rich-text-publisher-plugin.git
 robot-plugin.git
 run-condition-plugin.git
 rvm-plugin.git
 scm2job-plugin.git
 scm-api-plugin.git
 scoring-load-balancer-plugin.git
 script-scm-plugin.git
 selenium-axis-plugin.git
 selenium-builder-plugin.git
 selenium-tests.git
 skype-im-plugin.git
 skytap-cloud-plugin.git
 smartfrog-plugin.git
 sms-plugin.git
 sounds-plugin.git
 ssh-agent-plugin.git
 ssh-credentials-plugin.git
 sshd-module.git
 ssh-slaves-plugin.git
 starteam-plugin.git
 stashnotifier-plugin.git
 subversion-plugin.git
 suppress-stack-trace-plugin.git
 swarm-plugin.git
 synergy_scm-plugin.git
 tap-plugin.git
 teamconcert-plugin.git
 testlink-plugin.git
 tfs-plugin.git
 thin-backup-plugin.git
 

Re: when the wiki page can show plugin information for new created plugin?

2013-10-18 Thread Mads Nielsen
Thr plugin information widget is cached. Try editing it again.
Den 18/10/2013 08.48 skrev jiafu fujian1...@gmail.com:

 Hi Jenkins devs.

 I create one new plugin and related wiki page for jenkins and I can
 install it from update center now, but the wiki can't show the plugin
 information util now, So my question is when the wiki can show plugin
 information or is there some issues existed caused it.


 https://lh5.googleusercontent.com/-kouWifxjtaI/UmDYHD9s8VI/AHg/dHLQtu2qfEU/s1600/ttt.jpg






 {jenkins-plugin-info:weibo4jenkins}

 the wiki page is:
 https://wiki.jenkins-ci.org/display/JENKINS/Weibo+Plugin

 https://github.com/jenkinsci/weibo-plugin is my github. and the pom.xml's 
 artifactId
 is weibo4jenkins



 weibo4jenkins = Weibo Plugin = {buildDate:Oct 18,
 2013,dependencies:[{name:token-macro,optional:true,version:1.8.1},{name:javadoc,optional:false,version:1.0},{name:maven-plugin,optional:false,version:1.466}],developers:[{developerId:jiafu1115,email:
 fujian1...@gmail.com,name:fu.jian}],excerpt:This plugin allow you
 to post customized message to Sina
 microblog.,gav:org.jenkins-ci.plugins:weibo4jenkins:1.0.0,labels:[notifier],name:weibo4jenkins,releaseTimestamp:2013-10-18T13:19:06.00Z,requiredCore:1.466,scm:
 github.com,sha1:9ORbNM0vPu2nATrdpYthlq8r8Ew=,title:Weibo
 Plugin,url:
 http://updates.jenkins-ci.org/download/plugins/weibo4jenkins/1.0.0/weibo4jenkins.hpi
 ,version:1.0.0,wiki:
 https://wiki.jenkins-ci.org/display/JENKINS/Weibo+Plugin}



 Regards

 jiafu

  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Next LTS: 1.532.1

2013-10-18 Thread Mads Nielsen
would be realy nice if JENKINS-19740 could be backported, would mean that
one of our customers wouldn't have to wait another 6 months for it to be
introduced!

https://issues.jenkins-ci.org/browse/JENKINS-19740


On Fri, Oct 18, 2013 at 5:04 PM, Kohsuke Kawaguchi k...@kohsuke.org wrote:

 As per the project meeting discussion yesterday, the stable branch is
 re-branched from 1.532, and it's ready for receiving backports.


 --
 Kohsuke Kawaguchi

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Next LTS: 1.532.1

2013-10-18 Thread Mads Nielsen
Yes it is an enhancement, we have a plugin that needs to use this extension
point, they currently use this feature with a patched 1.509.3 LTS

Is there anything we can do to make the chances of this getting into the
new LTS bigger?




On Fri, Oct 18, 2013 at 6:12 PM, Jesse Glick jgl...@cloudbees.com wrote:

 On Fri, Oct 18, 2013 at 11:38 AM, Mads Nielsen m...@praqma.net wrote:
  would be realy nice if JENKINS-19740 could be backported

 Seems like it is an RFE rather than a bug per se, though you might
 make a case that lack of such an API constitutes a bug from the user
 perspective.

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Is there a way to 'upvote' a build result?

2013-09-10 Thread Mads Nielsen
Hey everyone,

I'm trying to create a plugin that should be able to override the result of
a given build (to be specific it's the JUnit plugin and xUnit projects
TestResultAction(s), but when looking at setResult(Result r) from the Run
class, it seems to include a check to see if the value you're trying to set
is worse than the current startus, meaning you can't really change a build
from FAILURE -- UNSTABLE for example.

Is there another way in which to 'intercept' or change this behaviour. The
reason for this is that it would allow me to create a very simple plugin
with xUnit as a dependency, but given that feature, i'd have to modify the
xUnit plugin to get my feature in place.

Basically, it's because i want to only fail builds on repeat test-failures
(n-amount of failures in the last n-builds),

Any help would be much appreciated!

P.S would a method called setResultForce() be feasible in the future for
Jenkins?

Best regards,
Mads

-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Plugin usage statistics broken

2013-08-29 Thread Mads Nielsen
I was wondering, if anyone know how to fix the plugin usage numbers, the
numbers that make the graphs in the jenkins wiki, they haven't been updated
with data fra july. Isn't this supposed to be an automatic proces?

-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Plugin component name issue

2013-06-18 Thread Mads Nielsen
You can edit the component the box display by selecting Wiki markup and
editing it to something ilike this:

{jenkins-plugin-info:pluginId=your-maven-plugin-id|jiraComponent=your-jira-component}

We did this for our plugin because it had the wrong component name as well.

On Mon, Jun 17, 2013 at 4:36 PM, Esteban Angee 
esteban.an...@hello2morrow.com wrote:

  Hello,

 We just realized that there is a problem with our component name in JIRA.
 Our plugin id is 'sonargraph-plugin' but our component name is
 'sonargraph', so when trying to access the open issues link from our wiki
 page, the JQL query shows no issues. Here is the query:

 JQL Query: project = JENKINS AND status in (Open, In Progress,
 Reopened) AND component = 'sonargraph-plugin'

 We kindly request to rename our component name from 'sonargraph' to
 'sonargraph-plugin' in order to regain navigation from our wiki page to the
 open issues page.

 Beside from that, we would like to know if it is possible to also grant
 (JIRA) lead permissions to my colleague Ingmar since we both need to
 perform administrative tasks on the sonargarph-plugin component. Our ids
 are ingmarkellner and esteban_h2m.

 Many thanks in advance.

 Cheers,

 --
 Esteban Angee Agudelo
 Software Engineer
 hello2morrow 
 S.A.S(574)5804555esteban.angee@hello2morrow.comhttp://www.hello2morrow.com

  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: need help on drop down option

2013-05-08 Thread Mads Nielsen
Have you tried using this one:

https://jenkins-ci.org/maven-site/jenkins-core/jelly-taglib-ref.html#form:dropdownDescriptorSelector


On Wed, May 8, 2013 at 8:33 AM, Irfan Sayed irfu.sa...@gmail.com wrote:

 hi,

 i have created plugin which consolidates the perforce sync option at
 run-time using drop down box.
 when user clicks on any option in drop down box, respective operation
 started

 following are the options in drop down box:
 1: Normal sync
 2: disable sync
 3: force sync

 now, my requirement is , the moment user selects the force sync option
 in drop down box , textbox should be displayed. and if, user selects some
 other option then textbox should be invisible.

 i have used dropdownListBlock and dropdownList tags but the results
 are not the expected one

 following is the index.jelly file

 ?jelly escape-by-default='true'?
 j:jelly xmlns:j=jelly:core xmlns:f=/lib/form

 f:entry title=${%Perforce Sync Option}
  div name=parameter
 input type=hidden name=name value=${it.name} /
 select name=syncOption
 j:forEach var=option items=${it.syncOptions}
 f:option${option}/f:option
 /j:forEach
 /select
 /div
 table
j:set var=currentOption value=${it.syncOption}/
  f:dropdownList name=fruit title=Fruits
j:forEach var=option items=${it.syncOptions}
 varStatus=loop
f:dropdownListBlock title=${descriptor.displayName}
 value=${loop.index}
 selected=false staplerClass=${descriptor.clazz.name}

   /f:dropdownListBlock
   /j:forEach
 /f:dropdownList
 /table
 /f:entry
 /j:jelly


 can you please review and let me know what needs to be done

 please suggest

 regards
 irfan

  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: build-pipeline: javax.annotation.processing.FilerException: Attempt to reopen a file for path BuildPipelineView.stapler

2013-05-03 Thread Mads Nielsen
I think it is caused by a duplicate DataBound constructor somewhere in the
plugin, a colleague of mine had the exact same issue when he was building
it. He removed the oldest of the databound constructors and it worked.

Can't remember sepecifics :)

On Fri, May 3, 2013 at 2:10 PM, nicolas de loof nicolas.del...@gmail.comwrote:

 I can't run mvn hpi:run or other build commands on build-pipeline-plugin.
 the error routed me to https://issues.jenkins-ci.org/browse/JENKINS-11739,
 but didn't helped
 any thought ?

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Is it possible to hide 'Install automatically' in a tool installation

2013-03-19 Thread Mads Nielsen
I have a question,

I'm creating a plugin, which uses the 'ToolInstallation' extension point.

The issue i have is that i cannot seem to find a way to disable the
'Install automcatically' button. The tool im writing for does not as of yet
have an installer for it. But might be added later

Can i 'hide' this option somehow?

-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Hosting request

2013-02-21 Thread Mads Nielsen
Hey Again,

I forgot to mention that my github id is MadsNielsen

Regards,
Mads

On Tue, Feb 19, 2013 at 3:36 PM, Mads Nielsen m...@praqma.net wrote:

 Hey Community,

 I'd like to have https://github.com/Praqma/prqm-api hosted on jenkins-ci
 github

 and

 https://github.com/Praqma/RqmPlugin likewise

 Best regards,
 Mads
 --
 *
 *
 *Mads Nielsen
 Consultant
 Praqma A/S
 *

 *Tel: +45 50 98 18 09
 Mail: m...@praqma.net l...@praqma.net
 web: www.praqma.net*




-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Hosting request

2013-02-19 Thread Mads Nielsen
Hey Community,

I'd like to have https://github.com/Praqma/prqm-api hosted on jenkins-ci
github

and

https://github.com/Praqma/RqmPlugin likewise

Best regards,
Mads
-- 
*
*
*Mads Nielsen
Consultant
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to resolve directories given in an ant pattern?

2012-10-11 Thread Mads Nielsen
Hey,

The way i understood remote fileops is that you do it like this.

build.getWorkspace().act(FileCallable)

The remote operation is performed in the class which implement the
FileCallable interface.

The FileCallable interface has one method: invoke(File f) that file, f is
the remote workspace dir, and is executed remotely. You can use that with
your directory scanner.

Regards,
Mads

On Thu, Oct 11, 2012 at 3:22 PM, Ognjen Bubalo ognjen.bub...@gmail.comwrote:

 I forgot to mention, that I need to pass the basedir
 (build.getWorkspace()) to DirectoryScanner, but the DS only accepts File or
 String object, so I think I have to execute the whole DS on the remote
 somehow.


 On Thursday, October 11, 2012 3:04:23 PM UTC+2, Ognjen Bubalo wrote:

 I have a problem with remote management. DirectoryScanner works, but it
 should be executed to work with slaves too.
 I was wondering to try something with FilePath.FileCallable, but did not
 work, also I cannot extend FilePath because it is final. I tried the
 FilePath.list(includes) too but did not work.

 Could somebody help me?

 Thanks,
 Ogi

 On Thursday, October 4, 2012 8:23:51 PM UTC+2, Ognjen Bubalo wrote:

 That worked! Thanks Jesse!

 2012. szeptember 21., péntek 19:21:36 UTC+2 időpontban Jesse Glick a
 következőt írta:

 On 09/21/2012 03:03 AM, Ognjen Bubalo wrote:
  So I am writing a plugin and I want to get list of directories which
 match the pattern given on the configuration page.

 You can use DirectoryScanner directly I think.




-- 
*
*
*Mads Nielsen
Trainee and Wizard
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*


Styling a job's main page

2012-06-08 Thread Mads Nielsen
Hi Everyone,

I have an annoying problem with layout of one the plugins im developing.
I'm displaying a bunch of graphs and i want the graphs to align themselves
to the right of the other components on a jobs main page (Permalinks,
Workspace, Recent changes). Is there any way to modify those things in a
plugin (additional styling, attributes...etc)?

I've created something that works in Firefox and IE9, by wrapping all my
graphs, in a floatingBox.jelly file, in a div that floats right (with a
predetermined width), and clears right, we want nothing to flow to the
right of the main bulk. But i can't get that to work in IE9. There is also
quite a diffrence in the layout of the project mainpage in IE9 and Firefox.
The heading is much bigger in IE and the build history box is much narrower
than in Firefox and Google Chrome.

So can i write a Jelly file that modifies the styling og layouting of the
components? i've marked with red on the attached image Been causing me
quite a headache since im not that familiar with styling and css... :)





-- 
*
*
*Mads Nielsen
Trainee and Wizard
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*
*Tilmeld dig Praqmas Nyhedsgruppe! praqma-news+subscr...@googlegroups.com*
attachment: boxes.png

Re: java.io.NotSerializableException: hudson.model.FreeStyleBuild in jenkins 1.466

2012-06-06 Thread Mads Nielsen
=hudson.model.ResourceController.executeentity=method
 at 
 *hudson.model.Executor.run(Executor.java:239)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method
 Caused by: 
 *java.io.IOException*http://stacktrace.jenkins-ci.org/search?query=java.io.IOException:
 Unable to serialize hudson.FilePath$FileCallableWrapper@13eedb9
 at 
 *hudson.remoting.UserRequest.serialize(UserRequest.java:166)*http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.serializeentity=method
 at 
 *hudson.remoting.UserRequest.init(UserRequest.java:62)*http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.%3Cinit%3Eentity=method
 at 
 *hudson.remoting.Channel.call(Channel.java:645)*http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.callentity=method
 at 
 *hudson.FilePath.act(FilePath.java:828)*http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.actentity=method
 ... 11 more
 Caused by: 
 *java.io.NotSerializableException*http://stacktrace.jenkins-ci.org/search?query=java.io.NotSerializableException:
 hudson.model.FreeStyleBuild
 at *
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)*http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObject0entity=method
 at *
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 *http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.defaultWriteFieldsentity=method
 at *
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)*http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeSerialDataentity=method
 at *
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 *http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeOrdinaryObjectentity=method
 at *
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)*http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObject0entity=method
 at *
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 *http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.defaultWriteFieldsentity=method
 at *
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)*http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeSerialDataentity=method
 at *
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 *http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeOrdinaryObjectentity=method
 at *
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)*http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObject0entity=method
 at *
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)*http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectOutputStream.writeObjectentity=method
 at 
 *hudson.remoting.UserRequest._serialize(UserRequest.java:155)*http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest._serializeentity=method
 at 
 *hudson.remoting.UserRequest.serialize(UserRequest.java:164)*http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.serializeentity=method
 ... 14 more






-- 
*
*
*Mads Nielsen
Trainee and Wizard
Praqma A/S
*

*Tel: +45 50 98 18 09
Mail: m...@praqma.net l...@praqma.net
web: www.praqma.net*
*Tilmeld dig Praqmas Nyhedsgruppe! praqma-news+subscr...@googlegroups.com*