Re: Failed builds hide Project action

2016-11-02 Thread Fima
Test analyzer seem to workaround this with transient factory
On יום ד׳, 2 בנוב׳ 2016 at 15:05 Ullrich Hafner 
wrote:

>
> Am 01.11.2016 um 14:54 schrieb Jesse Glick :
>
> On Tue, Nov 1, 2016 at 2:26 AM,   wrote:
>
> I've noticed on my plugin that if all the builds marked as failed than the
> project actions won't show up, even though it should be visible since the
> file were copied and it failed only due to tests.
>
>
> Then you should mark the build unstable, not failed.
>
> I've noticed to happen also with TestResultProjectAction of the JUnit
> plugin.
>
> Is it a defect or feature?
>
>
> Feature generally. See:
>
>
> https://github.com/jenkinsci/jenkins/blob/8242e0eb1625454ae5539c444c8d8ecf99a70b62/core/src/main/java/jenkins/tasks/SimpleBuildStep.java#L119-L121
>
>
> Hmm, I think this is a regression which breaks several plug-ins (junit,
> static analysis, etc…). A bug report already has been filed for the JUnit
> plug-in. I changed the component in Jira to ‚core‘ since the reason is
> located in SimpleBuildStep implementation:
> https://issues.jenkins-ci.org/browse/JENKINS-28479
>
> Or is there a workaround available for plug-ins so that both freestyle
> projects *and* pipeline work as expected?
>
>
> --
> 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/j38TfS6ymJ8/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/E2AD56D7-2F8B-44BF-B41F-03DC456F6ADC%40gmail.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/CAEppJDLAaYSG-%3DO%3DEYK6oqGfvc9_wMeEkmAGGixQOZVSxoEaXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed builds hide Project action

2016-11-02 Thread Fima
Thanks!
1. Why look at the last successful and not the last builds?
2. Why it doesn't effect actions added by the transient factory?
3. Is it open for a change? By the "TOD"O mark I understand that it waits
for a contributions ?
so I can make It can check for last completed check if results were or
actions were recorded and use replace actions to add them instead of
relaying on latest successful?

On יום ג׳, 1 בנוב׳ 2016 at 15:54 Jesse Glick  wrote:

> On Tue, Nov 1, 2016 at 2:26 AM,   wrote:
> > I've noticed on my plugin that if all the builds marked as failed than
> the
> > project actions won't show up, even though it should be visible since the
> > file were copied and it failed only due to tests.
>
> Then you should mark the build unstable, not failed.
>
> > I've noticed to happen also with TestResultProjectAction of the JUnit
> > plugin.
> >
> > Is it a defect or feature?
>
> Feature generally. See:
>
> https://github.com/jenkinsci/jenkins/blob/8242e0eb1625454ae5539c444c8d8e
> cf99a70b62/core/src/main/java/jenkins/tasks/SimpleBuildStep.java#L119-L121
>
> --
> 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/j38TfS6ymJ8/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/CANfRfr2Drf%2B9eLpsiQF9p92MY8oLJGg0r3hUYf6
> pAepYDv56Jw%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/CAEppJDJxWJkYW6PR%2BKHU8KF-jfUVNKORq2jrs%3Dcv_8yQdVHwEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Replacment for getBuilders()

2016-10-19 Thread Fima
" If the path is somehow autogenerated, the builder could
return a value to be passed later to the recorder."
Do you mean that the pipeline step should return result Into the pipeline
code? And than pass as a parameter for the recorder ? Or should somehow
save it in the build .

The recorder needs to be separated since it needs to record several
different builders and it might nit be needed at a6

On יום ד׳, 19 באוק׳ 2016 at 22:33 Jesse Glick  wrote:

> On Wed, Oct 19, 2016 at 3:45 AM,   wrote:
> > in
> > recorders, I do think that we should be able to look upon the steps so
> far
> > so we can record their results more easily by getting the correct paths
> and
> > data
>
> If the paths were passed as configuration to the “builder”, then you
> just pass the same argument to the “recorder”. (Pipeline makes no
> distinction between types of build steps: you run what you want, when
> you want.) If the path is somehow autogenerated, the builder could
> return a value to be passed later to the recorder. Of course if there
> is no particular reason for the two functions to be separated in time
> then they can simply be packed into a single step.
>
> --
> 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/KTvwke0Maqw/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/CANfRfr3aLiA7Bh16J5zA6oWySf20k_FM8DqvfVy4Dfeho_cYgQ%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/CAEppJDJh8BwbAbAD_k70TQ-LBrBhW-CJXigCA%2BWQ9iH_8j%3D21g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding pipeline compatabilty to jenkins plugin

2016-09-01 Thread Fima
Saw that, but I couldn't find what you've said about the Flow Node...
I guess I'll look at the code.


On Thu, Sep 1, 2016 at 1:54 PM, Jesse Glick  wrote:

> https://github.com/jenkinsci/workflow-step-api-plugin/blob/
> master/README.md has some information though it probably needs more.
> https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md is
> the landing page.
>
> --
> 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/34AKdC0SARM/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/CANfRfr3c_mY3enmY6jJNFMAiTsOwX55PKxLO6E2
> vR0Bo4Csf3Q%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/CAEppJDJP11jnLCQYaC4mEA28pe3hcRaK9GKRXc4iHCfuYEHbVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding pipeline compatabilty to jenkins plugin

2016-09-01 Thread Fima
On Thu, Sep 1, 2016 at 1:54 PM, Jesse Glick  wrote:

> https://github.com/jenkinsci/workflow-step-api-plugin/blob/
> master/README.md has some information though it probably needs more.
> https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md is
> the landing page.
>
> --
> 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/34AKdC0SARM/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/CANfRfr3c_mY3enmY6jJNFMAiTsOwX55PKxLO6E2
> vR0Bo4Csf3Q%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/CAEppJD%2B1DOT_BSt0m3FocfFvRc6LDhywowAZ7wxk0f7zC8Tv8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Would a plugin built for regular Jenkisn work on CloudBees jenkins

2016-08-29 Thread Fima
Thanks!


On Mon, Aug 29, 2016 at 9:47 PM, Jesse Glick  wrote:

> On Sun, Aug 28, 2016 at 3:27 AM,   wrote:
> > has anyone ever encountered issues in such
> > environments?
>
> Of course it has happened on occasion. Normally there is no issue, but
> if you are concerned, test it.
>
> --
> 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/WCpj8L5hmUE/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/CANfRfr0JNN4ag7WjKMCDaaxgR-Ei%
> 2B5qws85VMnZQEx%3Di9DW3og%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/CAEppJD%2BBB7dkQOiLQ2k42HTMatzDGMudKfgKa_kYp8eFCE1NwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [plugin hosting]

2016-07-17 Thread Fima
But won't that mean that anyone can publish a plugin to our page on
Jenkins?

or is it only for those with commit access to the repo on jenkinsci?or
written in the Pom? Which a possible attacker can change?
On יום א׳, 17 ביולי 2016 at 3:26 Daniel Beck <m...@beckweb.net> wrote:

> You'll be able to publish the plugin. The maintainer record on the wiki is
> taken from information in the pom.xml, change it (and create a new release)
> to change what's on the wiki.
>
> > On 16.07.2016, at 17:13, fkp...@gmail.com wrote:
> >
> > Hi,
> > I have proper commit rights to the Jenkinsci repository of my plugin -
> but I'm not listed in the maintainer list on the plugin page on jenkins.io
> .
> > Could I still make release to the plugin repository with Jenkins jira
> account or ill have to use another maintainer's account?
> >
> > Thanks ahead'
> > fima
> >
> > --
> > 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/70ec35d9-0a62-4e1f-9bd6-2d25f94b0eca%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/OesCb-REric/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/1680584E-1F10-4BCF-9C38-78768B335A38%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/CAEppJDL7eksTxVfANQnWk%2BWtn2n%3Dy_2%2BZfp4D906v0cO-unqqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [plugin-dev] [BlueOcean] Adding Plot / Graph to existant plugin

2016-06-20 Thread Fima
Great thanks - I'll take a look.
On יום ב׳, 20 ביוני 2016 at 10:34 Sergei Egorov  wrote:

> Hi,
>
> Take a look at https://github.com/jenkinsci/pipeline-view-plugin
>
> it's non-blueocean plugin in ReactJS, so you can learn how to use React in
> Jenkins without going BlueOcean-only way :)
>
>
> BR,
> Sergei
>
> On Mon, Jun 20, 2016 at 10:32 AM  wrote:
>
>> Hi,
>>  i want to add support for graphs and plots in my plugin - but I'm not
>> sure if to start working on graphing libraries in reactJS to support the
>> upcoming blueocean ui
>> or instead i should work on adopting the plot plugin and adding it to my
>> plugin somehow
>>
>>
>> any help or direction will or gratefully accepted =)
>>
>> --
>>
> 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/88e2d211-85b7-41ac-8652-c75ec1c8539c%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/Euu08gS4ksQ/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/CAAJdKX%3DQQU_WHNJbszBvYpzYx2TF3VhFks%3Dt9499piuCfJe11g%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/CAEppJDLh9n83kPdWcNxFb%3DMwtmccujQDFH2zWs%3DjMHVZqaMB6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] Build failure when compiling BlueOcean on a Windows 10 machine

2016-06-15 Thread Fima
Thanks!

On יום ד׳, 15 ביוני 2016 at 9:51 James Dumay  wrote:

> Running pipelines hasn't been implemented yet but someone (Ivan) is
> working on it :)
>
> It was waiting on some new JDL and rest component work but thats been
> done. See JENKINS-35813
> 
>
>
> On Tuesday, June 14, 2016 at 8:49:02 PM UTC+9, fkp...@gmail.com wrote:
>>
>> Thanks! that worked. although i still can't simply press run on my
>> pipeline in order to run  - and i have to go to the old interface to do it.
>> I'm having some kind of exception on symbolic link - could that be the
>> issue?
>>
>> On Tuesday, June 14, 2016 at 10:28:40 AM UTC+3, Tom Fennelly wrote:
>>>
>>> As said earlier  you will have a job if you are not running via
>>> hpi:run. You will need to gather and install more than just the blueocean
>>> plugins.
>>>
>>> You could use "mvn hpi:assemble-dependencies" to pull together all of
>>> the plugins you need. You'd need to run this inside blueocean-plugin/
>>> blueocean-plugin.
>>>
>>> On 14 June 2016 at 14:57,  wrote:
>>>
 Very partly by installing HPI's manually - but only some of the
 functionalities worked (but without any errors)


 On Tuesday, June 14, 2016 at 8:14:44 AM UTC+3, Michael Neale wrote:
>
> You said you had it working previously?
>
> On Tuesday, June 14, 2016 at 3:08:38 PM UTC+10, fkp...@gmail.com
> wrote:
>>
>> Thanks - but i'm still having strange difficulties runningthe plugin
>> similar to the Win 7 issues that were discussed previously.
>>
>> i'm adding my screen logs - after several retries to reinstall the
>> plugin (is it fit to run behind a corporate proxy? maybe that's the cause
>> to all the problems) - and now it simply won't run.
>>
>> be glad for any help.
>>
>>
>> On Tuesday, June 14, 2016 at 6:51:55 AM UTC+3, Michael Neale wrote:
>>>
>>> Hey - that's cool!
>>>
>>> There is no "create pipeline" feature yet in blue ocean, hence it
>>> takes you to the classic UI.
>>>
>>> For building plugins,
>>> https://github.com/cloudbees/blueocean-sample-pipeline-result-ext-plugin
>>> is a sample plugin that you can look at.
>>> What is the plugin you are interested? many plugins will need to
>>> have the right extension point added in blue ocean which may not 
>>> already be
>>> there.
>>>
>>> On Tuesday, June 14, 2016 at 1:15:13 AM UTC+10, fkp...@gmail.com
>>> wrote:

 Finally succeed installing it on the machine after reinstalling
 with jenkins 2.8.
 But couldn't use mvn run:hpi - >> installed all the plugins
 manually from the folder with upload and then ran it. and it works =)
 Now the (great) ui works - but when i press new pipeline - it takes
 me to the old screen - is it ok?

 Starting to check compatability between our plugin to the new UI -
 any suggestions as where should i start the conversion? and how?


 On Friday, June 10, 2016 at 6:44:30 PM UTC+3, fkp...@gmail.com
 wrote:
>
> Hi,
> tried to compile the project to start testing related plugins on
> the project ui.
> related tool versions:
>
>1. maven 3.3.9
>2. jenkins 2.8 (latest release) - tried also with stable lts
>1.651.2 (same problems).
>
> attaching the build log after several retries, I read the past
> thread on win 7 issues but it seems as a different problem.
>
>
>
> Thanks ahead,
>
> Yafim.
>
>
>
>
> --
 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/1A82YO-Ta2w/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-de...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-dev/d05496c8-f66b-42e1-acb7-42790dbddf71%40googlegroups.com
 
 .

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

>>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/1A82YO-Ta2w/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
>