Re: How do I set Build status

2018-01-26 Thread Rijo Simon
Thanks Jesse I went with throwing AbortException.

On Friday, January 26, 2018 at 7:11:28 AM UTC-8, Jesse Glick wrote:
>
> On Fri, Jan 26, 2018 at 5:46 AM, Robert Sandell  > wrote: 
> > 
> http://javadoc.jenkins-ci.org/hudson/model/Run.html#setResult-hudson.model.Result-
>  
> > 
> > On the run instance you got as a parameter in the perform method. 
>
> No, that is not the best style. It will interact poorly with other 
> Pipeline features. 
>
> Simpler and better to throw an `AbortException` with the message of your 
> choice. 
>

-- 
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/ae0647c0-8ef3-4131-92ad-ed02aa500273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New release of CppCheck Plugin Needed

2018-01-26 Thread Oleg Nenashev
Hi Jack,

The best way would be to take ownership of the plugin if you are interested.

In order to grant you release permissions, we just need a confirmation from 
any of the current maintainers a pull request with a 
https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-cppcheck.yml
 
modification. The latter option would be preferable. Once we have such 
authorization, we will be able to transfer ownership.

Hopefully it helps,
Oleg


среда, 24 января 2018 г., 15:35:06 UTC+1 пользователь Jack Zylkin написал:
>
> An important bugfix was recently merged to the CppCheck plugin repo 
> (JENKINS-42727). It allows multiple instances of CppCheck builds to run 
> concurrently without blocking each other. Each of my CppCheck builds takes 
> about 1 hr to run, and I am unable to run them in parallel because of this 
> bug. This bug is causing a substantial bottleneck in my pipeline, so I 
> would really like the fix to be incorporated into a release so I can deploy 
> it.  
>
>  
>
> The fix has already been merged into the project – someone just needs to 
> make a new tagged release of this plugin. I have already contacted one of 
> the admins for this plugin, who has said he does not work on it anymore. 
> The other admin was not responsive.
>
>
> How can I make a build of this plugin and release it myself? 
>
>
> If I am not able to do it myself, who should I approach about doing it?
>
>
> 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/b4c161e9-35ce-4a94-84c9-4e80e9cc7284%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Proposal: Add optional "Released as" and "Stage Release" states to JIRA

2018-01-26 Thread Oleg Nenashev
I am going to create a JEP for this change.
Who would be interested to be a BDFL Delegate? In the case of the core it 
would be @Daniel, but maybe somebody from plugin maintainers wants to 
participate as well

BR, Oleg

вторник, 15 августа 2017 г., 21:22:39 UTC+2 пользователь Oleg Nenashev 
написал:
>
> We can discuss it, and perhaps work out a complete proposal, but we should 
>> not reach a conclusion there, as it excludes too many people unable to be 
>> present at the specific time.
>>
>
> Fine for me, especially since James Dumay is not in the right timezone to 
> attend.
>
> Everybody can comment in the referenced Google doc and to add proposals.
>
> BR, Oleg
>
> 2017-08-15 20:44 GMT+02:00 Daniel Beck :
>
>>
>> > On 15. Aug 2017, at 19:58, Oleg Nenashev  
>> wrote:
>> >
>> > Since there is some disagreement, I have added the topic to the 
>> tomorrow's agenda
>>
>> We can discuss it, and perhaps work out a complete proposal, but we 
>> should not reach a conclusion there, as it excludes too many people unable 
>> to be present at the specific time.
>>
>> --
>> 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/wzc4VLplHvs/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/E0EE9A09-C581-4C69-A01E-0986A0196BF8%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/1b251198-32ae-4fe5-b5c1-8aed7cee75d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I set Build status

2018-01-26 Thread Jesse Glick
On Fri, Jan 26, 2018 at 5:46 AM, Robert Sandell  wrote:
> http://javadoc.jenkins-ci.org/hudson/model/Run.html#setResult-hudson.model.Result-
>
> On the run instance you got as a parameter in the perform method.

No, that is not the best style. It will interact poorly with other
Pipeline features.

Simpler and better to throw an `AbortException` with the message of your choice.

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


Re: How do I set Build status

2018-01-26 Thread Robert Sandell
http://javadoc.jenkins-ci.org/hudson/model/Run.html#setResult-hudson.model.Result-

On the run instance you got as a parameter in the perform method.

/B

2018-01-26 2:24 GMT+01:00 Rijo Simon :

> I have a Builder plugin. In this plugin I check the status of the build
> that was initiated using an api call. I want to received a filed status of
> from the api and then set the Build step status as failed. But I am not
> able to figure out how. Can someone help me with this please.
>
> I am talking about this status at the end of the build:
>
> [Pipeline] }[Pipeline] // node[Pipeline] End of PipelineFinished: SUCCESS
>
> --
> 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/4615d62e-ffcb-4544-8051-d5c8a5ad8385%
> 40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Robert Sandell*
Software Engineer
CloudBees, Inc.
[image: CloudBees-Logo.png] 
E: rsand...@cloudbees.com
Twitter: robert_sandell

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