Re: timja would like to join Jenkins Infra's Hosting team

2020-07-23 Thread Ullrich Hafner
+1 > Am 23.07.2020 um 20:28 schrieb Mark Waite : > > +1 > > On Thu, Jul 23, 2020 at 9:24 AM Slide > wrote: > +1 > > On Thu, Jul 23, 2020 at 8:16 AM Xiong Kezhi > wrote: > +1 from me :) > > 在2020年7月23日星期四 UTC+8 下午11:10:29 写道: > +1 >

Re: LTS baseline selection for the successor of 2.235

2020-07-29 Thread Ullrich Hafner
That means that we have the intermediate black table headers in it :-( > Am 29.07.2020 um 13:14 schrieb Antonio Muñiz : > > This is the full list of bugs reported after the previous LTS release date >

Proposal: Jenkins baseline selection

2020-08-12 Thread Ullrich Hafner
In our developer documentation we currently have a very vague description on how to select the Jenkins baseline: https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ Recently a lot of my builds failed (my baseline was 2.204.4) because some frequently used base plug

Re: Proposal: Jenkins baseline selection

2020-08-13 Thread Ullrich Hafner
> Am 13.08.2020 um 07:58 schrieb Daniel Beck : > > > >> On 12. Aug 2020, at 19:13, Ullrich Hafner wrote: >> >> Recently a lot of my builds failed (my baseline was 2.204.4) because some >> frequently used base plugins updated their minimum Jenkins versi

Re: Forked repositories in GitHub

2020-08-18 Thread Ullrich Hafner
+1 from me as well > Am 18.08.2020 um 16:30 schrieb Matt Sicker : > > +1 here, especially due to GitHub tooling and apps. > > On Tue, Aug 18, 2020 at 8:13 AM Mark Waite > wrote: > +1 from me. > > On Tuesday, August 18, 2020 at 6:03:07 AM UTC-6 Arnaud Héritier

Re: Test Results (Junit) is there an entry method I can use over generating xml?

2020-08-25 Thread Ullrich Hafner
This should be feasible. Here is the part of the code that fills in the results: https://github.com/jenkinsci/junit-plugin/blob/master/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java#L172

Re: SimpleBuildStep return value?

2020-08-26 Thread Ullrich Hafner
I don’t think that this is possible, you need to write a Step. (Or your SimpleBuildStep creates an action that you can read after the step call.) > Am 25.08.2020 um 23:41 schrieb Michael Carter : > > SimpleBuildStep when I use it in pipeline how do I get it to feed back > something? > > eg: >

Incrementals and ATH tests (inside a plugin CI)

2020-08-27 Thread Ullrich Hafner
My warnings plugin is using in our Jenkins CI build also UI tests (using the ATH container). Is there a way to start these UI tests (using the ATH container) so that depending plugins that have an incremental version are also resolved? Incrementals are resolved fine in integration tests but in U

Re: Incrementals and ATH tests (inside a plugin CI)

2020-08-27 Thread Ullrich Hafner
> > I suspect this is just the most visible special case of a general > problem that the ATH tests are using the latest release at the time of > the test run, regardless of what versions your POM asks to test > against. This is a bad thing IMO: as one example, it means tests can > start failing in

Re: Incrementals and ATH tests (inside a plugin CI)

2020-08-28 Thread Ullrich Hafner
> Am 28.08.2020 um 07:52 schrieb Daniel Beck : > > > On Thu, Aug 27, 2020 at 11:22 PM Ullrich Hafner <mailto:ullrich.haf...@gmail.com>> wrote: > > Yes, I had that problem a couple of weeks ago. One of my dependencies > upgraded its Jenkins version to a higher

Re: JavaScriptMethod & 403 - No valid crumb was included in the request

2020-08-28 Thread Ullrich Hafner
I’m on 2.254 and there everything looks good on the JS side. Can you see the JUnit or warnings trend charts? They use @JavaScriptMethod as well. > Am 28.08.2020 um 22:06 schrieb Shaun Thompson : > > After looking at it a bit - it appears that the crumb header is being issued > with the requ

Re: JavaScriptMethod & 403 - No valid crumb was included in the request

2020-08-28 Thread Ullrich Hafner
> Am 28.08.2020 um 22:33 schrieb Shaun Thompson : > > At least for the JUnit plugin they are referencing an older version of > Jenkins. > The compile time dependency is < 2.250, yes. But it will replaced with the version you actually installed in Jenkins. But can you see the chart? Can you

Re: Incrementals and ATH tests (inside a plugin CI)

2020-08-28 Thread Ullrich Hafner
> Am 28.08.2020 um 17:21 schrieb Jesse Glick : > > On Thu, Aug 27, 2020 at 5:22 PM Ullrich Hafner > wrote: >> Do we have something existing that can extract the list of dependencies for >> a plugin… > > I think it would suffice to

Re: JavaScriptMethod & 403 - No valid crumb was included in the request

2020-08-29 Thread Ullrich Hafner
I see. Then this is a bug indeed. > Am 29.08.2020 um 04:58 schrieb Shaun Thompson : > > So the difference between the JUnit @JavaScriptMethod and mine is that, I'm > using jQuery. > > bind.js in the JUnit scenario will use Ajax.Request which has a patch in > prototype.js that adds the additi

Re: JavaScriptMethod & 403 - No valid crumb was included in the request

2020-09-02 Thread Ullrich Hafner
individual plugin views that use JS (and jQuery). E.g. my warnings plugin tables will now be blocked with the same error message (no valid crumb in request). Has anybody an idea when such a change has been integrated? > Am 29.08.2020 um 09:58 schrieb Ullrich Hafner : > > I see. Then this

Re: JiraTestResultReporter plugin

2020-09-11 Thread Ullrich Hafner
Seems that there is no activity in the project anymore (latest commit was in 2018). Did you try to get in touch with the developers? > Am 11.09.2020 um 14:05 schrieb Pavel Zaikin : > > Hello, > > because https://issues.jenkins-ci.org/browse/JENKINS-61171 > JiraTestResultReporter doesn't work w

Re: "Global Tool Configuration"

2020-09-15 Thread Ullrich Hafner
You need to implement: https://www.jenkins.io/doc/developer/extensions/jenkins-core/#globalconfiguration Here is an example implementation: https://github.com/jenkinsci/warnings-ng-plugin/blob/master/plugin/src/

API to render links with RepositoryBrowser

2020-09-15 Thread Ullrich Hafner
SCM plugins like the Git plugin show links to the changes in the hosted repositories (e.g. to GitHub changes). Is there a generic API available to obtain those links so I can embed them in my plugin as well? E.g., in the warnings plugin I’m showing the Git SHA of the commit that introduced a w

Re: API to render links with RepositoryBrowser

2020-09-21 Thread Ullrich Hafner
I think it’s this: > https://javadoc.jenkins.io/plugin/scm-api/jenkins/scm/api/metadata/ObjectMetadataAction.html > > <https://javadoc.jenkins.io/plugin/scm-api/jenkins/scm/api/metadata/ObjectMetadataAction.html> > > On Tue, 15 Sep 2020 at 21:56, Ullrich Hafner > wrote: > SCM

Re: API to render links with RepositoryBrowser

2020-09-22 Thread Ullrich Hafner
Hmm, but how do I get the link for a commit hash then? There is no API to obtain change sets from the builds, or am I missing something obvious? > Am 22.09.2020 um 18:55 schrieb Jesse Glick : > > On Mon, Sep 21, 2020 at 6:18 PM Ullrich Hafner > wrote: >> A repository bro

Re: Jenkins 2020 Board and Officer elections - process changes discussion

2020-09-22 Thread Ullrich Hafner
+ from me > Am 22.09.2020 um 18:58 schrieb Mark Waite : > > +1 from me as well. > > On Tue, Sep 22, 2020 at 4:16 AM Oleg Nenashev > wrote: > I have started working on the announcements. Does everyone agree with the > suggested dates? > > On Friday, September 1

Re: API to render links with RepositoryBrowser

2020-09-23 Thread Ullrich Hafner
tps://github.com/jenkinsci/warnings-ng-plugin/commit/d70ffafe55c68dfebd7fee405ec451f1493c37bd> > Am 23.09.2020 um 18:31 schrieb Jesse Glick : > > On Tue, Sep 22, 2020 at 2:19 PM Ullrich Hafner > wrote: >> There is no API to obtain change sets from the builds > &

Re: API to render links with RepositoryBrowser

2020-09-23 Thread Ullrich Hafner
build.getAction(ObjectMetadataAction.class) returns null (at least for a FreeStyle job). > Am 23.09.2020 um 18:31 schrieb Jesse Glick : > > On Tue, Sep 22, 2020 at 2:19 PM Ullrich Hafner > wrote: >> There is no API to obtain change sets from the builds > > https://ja

Re: Help with Jelly for Global Config

2020-09-30 Thread Ullrich Hafner
How should your configuration look like? What values should be changed by the user? > Am 30.09.2020 um 15:52 schrieb Miguel Campos : > > > Hello guys I need some help with a form for the global config. > > I'm trying to modify the default config sample plugin and mixing it with the > samples

Re: Issues releasing new plugin

2020-09-30 Thread Ullrich Hafner
This seems to be solved? https://github.com/jenkins-infra/repository-permissions-updater/pull/1679 > Am 30.09.2020 um 14:22 schrieb Pontus Rydin : > > Hi fellow Jenkins coders! > > I just finished up a plugin for VMware vRealize Automation and got permission > to push it to Artifactory. Howev

Re: Jenkins-specific warnings for GitHub code scanning

2020-10-12 Thread Ullrich Hafner
As Daniel wrote, please create a Jira task. Example: https://issues.jenkins-ci.org/browse/INFRA-2768 > Am 12.10.2020 um 10:59 schrieb tzach solomon : > > Hi Daniel, > > Thank you for this one. > How can I register the plugin https://plugins.j

Re: Jenkins-specific warnings for GitHub code scanning

2020-10-18 Thread Ullrich Hafner
Where should we report issues for false positives? I assume that those rules are written by a Jenkins community member, or are these general rules from Semmle? > Am 09.10.2020 um 20:00 schrieb Daniel Beck : > > Hi everyone, > > GitHub announced last week that their code scanning functionality

Re: Proposal: Automating dependency management for repositories inside the jenkinsci org

2020-10-19 Thread Ullrich Hafner
I think that this can be done globally: for each repository a PR will be generated. So in order to finish the transition the repo owner still needs to merge the PR. However, I do not find a button to run this for all repositories :-( > Am 19.10.2020 um 16:44 schrieb Jesse Glick : > > On Mon, O

Re: ATH

2020-10-30 Thread Ullrich Hafner
Thanks for helping with the ATH, James! +1 from me > Am 29.10.2020 um 17:10 schrieb Manuel Ramón León Jiménez > : > > +1 same here > > On Thu, Oct 29, 2020 at 5:09 PM globero > wrote: > +1 same here > > On Thu, Oct 29, 2020 at 4:52 PM Mark Waite

Re: 2020/11/09 - 2 PM UTC - issues.jenkins-ci.org - Maintenance Window

2020-11-06 Thread Ullrich Hafner
Yippie Thanks to everybody for the hard work to make this happen! Especially thanks to you and Mark for planning and driving the migration! > Am 06.11.2020 um 11:07 schrieb 'Olblak' via Jenkins Developers > : > > Hi Everybody, > > I am excited to announce that after a week of testing,

Re: Accessing workspace after job is complete

2020-11-10 Thread Ullrich Hafner
> Am 10.11.2020 um 19:52 schrieb Tal Yanai : > > Hi, > > Suppose the Java plugin I'm writing is producing a report file. Within its > node (slave) I will use filePath.child(fileOnDiskPath) to persist that report > into that node workspace. > > What happened now when I want to reference that r

Re: Mocking PluginManager

2020-11-10 Thread Ullrich Hafner
It would be much simpler if you change the way you access the PluginManager. I am using a Facade (https://github.com/jenkinsci/plugin-util-api-plugin/blob/master/src/main/java/io/jenkins/plugins/util/JenkinsFacade.java

Re: Writing from Slave To Master

2020-11-11 Thread Ullrich Hafner
> Am 11.11.2020 um 14:25 schrieb Tal Yanai : > > Hi Daniel, > > There are two things I'm trying, both are related for the ability to show > data within Jenkins after the build is over. I have a dashboard plugin and > another plugin within the job itself that also shows a report for that job.

Re: New Jenkins Operator for kubernetes: repository request creation: simple-jenkins-operator

2020-11-11 Thread Ullrich Hafner
+1 from me as well > Am 11.11.2020 um 21:41 schrieb Mark Waite : > > +1 from me. > > On Wed, Nov 11, 2020 at 1:38 PM Oleg Nenashev > wrote: > Hi all, any additional feedback about the hosting request? > > Thanks in advance, > Oleg > > On Wednesday, November 11,

Re: Jenkins Jira migration has started

2020-11-12 Thread Ullrich Hafner
Did we disable email notifications in the new instance? Seems that I do not get any updates via email anymore. (On the other hand: I now get push notifications on my iPad, since the new version supports the mobile Jira app, this is a huge improvement!!!) > Am 09.11.2020 um 15:13 schrieb Mark

Re: Running Java ProcessBuilder on Agent

2020-11-15 Thread Ullrich Hafner
> Am 15.11.2020 um 10:29 schrieb Tal Yanai : > > Hi, > > I'm trying to execute a simple /bin/csh command from within Java (I know I > can use the Shell exec Step, but want to try and parse some data comes in > from the stdout of the Linux command using Java. > Why do you need a shell script

Re: FilePath crawl subdirectories example.

2020-11-16 Thread Ullrich Hafner
> Am 16.11.2020 um 21:53 schrieb Michael Carter : > > Have this case where I want to crawl a subdirectory for xml files from a > workspace in a plugin. > > Is there an example out there of doing such a crawl with the FilePath object? > I’m not exactly using the FilePath instance to find the

Build status vs. checks on jenkins.io

2020-11-23 Thread Ullrich Hafner
Since we have successfully integrated the GitHub checks in buildPlugin for quite a while: would it make sense to disable the old build status results on https://ci.jenkins.io? Currently I get two different results from Jenkins (and the old one is wrong since it assumes that status UNSTABLE mean

Re: Jenkins BOM and base Jenkins version

2020-11-23 Thread Ullrich Hafner
I’m not sure if it makes sense to revert that for existing releases. However, we should double check every time we upgrade to a new baseline that we use the .1 version. Currently we already have some new plugin releases that require a core of 1.222.4 (and not 1.222.1). This should be avoided.

Re: multiple recordIssues for parallel steps

2020-11-26 Thread Ullrich Hafner
This is possible, yes. One way is to create an aggregation for each JDK: recordIssues aggregatingResults: true, id: "jdk8", enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser()] Then you will get 3 results, one for each JDK. Or if you want to get 15 res

Re: Jenkins 3.x

2020-11-26 Thread Ullrich Hafner
Aren’t we are a little bit late for it, since these changes are already part of 2.x? Additionally, wouldn’t it be helpful if we have some groundbreaking user visible changes in 3.x as well (as we had in 2.x)? > Am 26.11.2020 um 09:47 schrieb Arnaud Héritier : > > I think it's a good idea. > In

Re: Jenkins 3.x

2020-11-27 Thread Ullrich Hafner
> > I like the idea of the very clear dated releases. It makes support a lot > easier eg. "Oh your release was from november of last year, you should > upgrade" "okay, your using 2.65, when did that get released? oh 2 years ago?" > Like I never have to think when Ubuntu 20.04 came out, I know i

Re: Jenkins Governance Meeting, Nov 18, 2020

2020-11-29 Thread Ullrich Hafner
This is a good idea! > Am 29.11.2020 um 21:53 schrieb Oleg Nenashev : > > Hi all, > > Thanks to everyone for the follow-ups. Based on the conversation, I suggest > to do two things: > Start the governance meeting threads early, at least with a 24hrs advance. In > this thread I can put explici

Re: multiple recordIssues for parallel steps

2020-11-29 Thread Ullrich Hafner
SpotBugs actually works on the byte code level so there might be some different results due to the different compiler results (in theory). But I doubt that you get different results in practice. In Jenkins CI we also record issues only for the first environment and skip it for subsequent calls

Re: Jenkins 3.x

2020-12-01 Thread Ullrich Hafner
> Am 30.11.2020 um 22:51 schrieb Matt Sicker : > > I think Jesse has articulated my own feelings fairly well here. I will > note that OSGi has some useful tooling [1] and semantics related to > semantic versioning, generic Java plugins/modules/components, and some > other well-explored areas rela

Re: Jenkins Governance Meeting on Dec 02, 2020

2020-12-02 Thread Ullrich Hafner
Yes, let us start in 30 minutes... > Am 02.12.2020 um 17:00 schrieb Marky Jackson : > > Count me in > >> On Dec 2, 2020, at 7:59 AM, Oleg Nenashev > > wrote: >> >> There was no consensus 1 hour ago. Right now, after pinging a few people, >> the best spot is in 5

Core Baseline Java8 -> Java11?

2020-12-03 Thread Ullrich Hafner
Are there already plans to move the Java baseline from Java 8 to Java 11 in the near future in Jenkins core? -- 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 em

Re: Core Baseline Java8 -> Java11?

2020-12-04 Thread Ullrich Hafner
Mark Waite wrote: > There are not. Considering the relatively low adoption rate of Java 11, I'd > personally resist a move to make Java 11 the baseline for quite a while > unless there were some way to preserve and assure that Java 8 continues to > work as expected even with Ja

Byte code manipulation of descriptor classes?

2021-01-05 Thread Ullrich Hafner
I’m currently struggling with an architecture test for my descriptor classes. Does the Jenkins maven HPI plugin somehow manipulates the byte code of descriptor classes? Given the following setup: BaseDescriptor { public void method() {} } ConcreteDescriptor extends BaseDescriptor { }

Re: Byte code manipulation of descriptor classes?

2021-01-06 Thread Ullrich Hafner
u'll quickly the call hierarchy and > what triggered the call. > > John > > On Tue, 5 Jan 2021 at 20:38, Jesse Glick wrote: >> >> On Tue, Jan 5, 2021 at 11:04 AM Ullrich Hafner ullrich.haf...@gmail.com >> wrote: >>> >>> Does the Jenkins maven HPI

Re: Byte code manipulation of descriptor classes?

2021-01-06 Thread Ullrich Hafner
n-util-api-plugin/blob/master/src/test/java/io/jenkins/plugins/util/PluginArchitectureRules.java#L93 <https://github.com/jenkinsci/plugin-util-api-plugin/blob/master/src/test/java/io/jenkins/plugins/util/PluginArchitectureRules.java#L93> > John > > On Wed, 6 Jan 2021 at 11:53, Ullric

Re: Byte code manipulation of descriptor classes?

2021-01-06 Thread Ullrich Hafner
Yes, I already discussed that with Daniel. His check is simple not yet ready (see https://github.com/jenkinsci/jenkins-test-harness/pull/133 <https://github.com/jenkinsci/jenkins-test-harness/pull/133>). > Am 06.01.2021 um 21:59 schrieb Jesse Glick : > > On Wed, Jan 6, 2021 at

Obtain GitSCM from a checkout step in pipeline

2021-01-07 Thread Ullrich Hafner
In one of my plugins I am using the GitSCM instance of a job to analyze the associated Git repository. This works for a lot of cases (input: a Jenkins run): - For FreeStyle jobs I get the instance from AbstractProject.getSCM() - For Pipelines jobs I get the instance from the job ((SCMTriggerItem)

Re: Obtain GitSCM from a checkout step in pipeline

2021-01-07 Thread Ullrich Hafner
> > Or directly check `WorkflowRun.getSCMs()`. Not currently exposed as an API > via `Run` (`getChangeSets()` is a bit different). > Yes that works, thanks! -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this grou

FlowNode.addOrReplaceAction breaks due to java.lang.UnsupportedOperationException

2021-01-08 Thread Ullrich Hafner
Hi, I’m currently struggling with an exception in core that is caused by the following code [1] in my plugin. I am setting the result of a pipeline step if the quality gate fails: flowNode.addOrReplaceAction(new WarningAction(result).withMessage(message)); This call sometimes fails in core wi

Re: Build status vs. checks on jenkins.io

2021-02-22 Thread Ullrich Hafner
the check result is completely missing. In such a case one needs to dig into the console log just to see that the branch is not in sync. > Am 23.11.2020 um 15:59 schrieb Jesse Glick : > > On Mon, Nov 23, 2020 at 3:56 AM Ullrich Hafner > wrote: >> Since we have successfully int

Permission check during view configuration (getACL)

2021-03-21 Thread Ullrich Hafner
I am trying to secure a POST method that is invoked during configuration of a view column. I started with a permission check for View.CONFIGURE but this was too restrictive and does not work with role based authorization strategy. When I add an ItemGroup object as @AncestorInPath then I don’t

Re: Permission check during view configuration (getACL)

2021-03-22 Thread Ullrich Hafner
>From the Jira bug report it looks like that a user can edit a view even if he >has no permission defined for a VIEW, is this intended? > Am 21.03.2021 um 23:36 schrieb Ullrich Hafner : > > I am trying to secure a POST method that is invoked during configuration of a > vi

Re: Permission check during view configuration (getACL)

2021-03-22 Thread Ullrich Hafner
I see, then I just need to cast the view group accordingly. That works, thanks! > Am 22.03.2021 um 13:53 schrieb Jesse Glick : > > On Sun, Mar 21, 2021 at 6:36 PM Ullrich Hafner <mailto:ullrich.haf...@gmail.com>> wrote: > there is no getAcl method for item groups >

Re: Proposal: Changing the Contributor License Agreement Process

2021-03-23 Thread Ullrich Hafner
> Am 23.03.2021 um 10:23 schrieb Oleg Nenashev : > > Hi all, > > The Jenkins trademark is now transferred to the CDF, and Software in Public > Interest has officially removed the Jenkins project from its listing of the > projects. It means that the transition is [almost] over. > > One remain

Re: Proposal: newsletter mailing list for contributor announcements

2021-03-23 Thread Ullrich Hafner
+1 for the name and for the idea of such a mailing list > Am 23.03.2021 um 22:22 schrieb Tim Jacomb : > > jenkins-dev-announce ? > > On Tue, 23 Mar 2021 at 13:53, Oleg Nenashev > wrote: > I would have been in favor of "jenkins-announcement" if it was a user > ne

Re: affecting search box in plugin.

2021-04-30 Thread Ullrich Hafner
I don’t think that there is something available. I tried to implement support in my warnings plugin some time ago, but finally gave up since the usage of the API was not clear enough for me. So if you get something running it would be very helpful if you can share your results! > Am 30.04.20

Re: New BOM version 807.v6d348e44c987 seems out of step with the versioning pattern

2021-05-07 Thread Ullrich Hafner
That means the maven enforcer will strike back unless all plugins use CD ;-) The frequency of required updates will be an magnitude higher now… > Am 06.05.2021 um 15:56 schrieb Tim Jacomb : > > Yes it's moved to CD releases https://www.jenkins.io/jep/229 > >

Re: Applying JavaScript and CSS on f:select

2021-05-11 Thread Ullrich Hafner
Where do you want to use the element? In one of your views? Or in a job configuration page? It is not required to use a f:select. Can’t you directly use the select or what is missing in that case (data binding?)? > Am 10.05.2021 um 11:37 schrieb Daniel Akua : > > Hi all, > In my plugin I have

Re: Applying JavaScript and CSS on f:select

2021-05-12 Thread Ullrich Hafner
They only way I see is to copy the select.jelly (https://github.com/jenkinsci/jenkins/tree/master/core/src/main/resources/lib/form ) into your plugin and try to rewrite it so that it works with your JS and CSS.

Re: Applying JavaScript and CSS on f:select

2021-05-14 Thread Ullrich Hafner
oid forking core widgets if you can as then plugins get out of > sync when we make changes in core, and it was a real pain when we did the > form modernisation work, > and any plugins that fork the widgets will look inconsistent if/when there's > follow up work > >

Re: Retrieve config.xml for Jenkins job within a plugin in java code?

2021-05-19 Thread Ullrich Hafner
> Am 19.05.2021 um 11:42 schrieb HALLEY SALAM : > > Greetings, > > I am new to Jenkins and just started contributing to developing a plugin for > Jenkins where I need to extract some values from the job config.xml. > What do you want to read? > I am able to retrieve the config.xml with the

Re: Release/Presentation of Pull Request Monitoring Plugin

2021-05-23 Thread Ullrich Hafner
> > Maybe it is something we could try out on ci.jenkins.io > later once the plugin gets some user feedback. To do > that, we would need generic dashboards instead of user-defined ones. It is already possible to pre-configure the set of visible portlets in the pipeline.

Re: Updating Plugin framework to support Java11?

2021-05-27 Thread Ullrich Hafner
You should not switch your plugin to Java 11 unless Jenkins core switches to Java 11. Otherwise your plugin will not work in Jenkins instances that run with Java 8. So do not expect a solution until that step has been announced. > Am 27.05.2021 um 20:01 schrieb Bryan Stopp : > > > Was looking

Re: [jenkins-infra] Elastic Sponsorship for OpenTelemetry usage for community Jenkins instances

2021-05-31 Thread Ullrich Hafner
Can you elaborate what information you want to gather? What build metrics and traces? > Am 31.05.2021 um 11:47 schrieb Damien Duportal : > > Good point Oleg, thanks a lot for this reminder! > > Any test on infra.ci.jenkins.io must be done on > a private APM insta

Re: [jenkinsci-board] Proposal: Jenkins funding page on LFX Crowdfunding

2021-06-01 Thread Ullrich Hafner
ial document (about a financial topic) I am somehow liable (?) in a juristic way. What happens if the document I am signing contains errors, can somebody sue me as an individual? I do not want to have such a responsibility. > Best regards, > Oleg Nenashev > > > On Mon, May 31,

Re: Handle all paths under an Action

2021-06-06 Thread Ullrich Hafner
You will find another example in the warnings plugin: I’m routing the individual detail views for packages, files, categories, etc. using the getDynamic method (the DetailFactory creates different view objects depending on the sub-link names). > Am 06.06.2021 um 20:10 schrieb Matt Sicker : >

Re: ASM in core

2021-06-11 Thread Ullrich Hafner
> > In general, when a plugin depends on a library already provided by > core, I have seen three approaches in the short term: > > 1. Exclude the library on the plugin side (e.g. how Token Macro excludes ASM) > 2. Mask the library's classes (e.g. how JaCoCo masks ASM classes) > 3. Shade the libra

Re: How to create a pre-release testing environment ?

2021-06-11 Thread Ullrich Hafner
You get either all or nothing. There is no way to use filters for the experimental update center (as far as I know). I’m testing my plugins by simply copying the HPI (or JPI) files to a docker based Jenkins installation. All other plugins are the latest stable ones, just my plugins are the SNA

Re: I would like to become committer/maintainer on a plugin

2021-06-17 Thread Ullrich Hafner
Please go ahead and create a permissions PR and reference this thread. > Am 17.06.2021 um 13:38 schrieb Roland Asmann : > > Hi Oleg, > > Seeing there is still no feedback from Sven, can we start transferring > permissions? > > Thanks! > Roland > > On Tuesday, June 1, 2021 at 7:32:34 PM UTC+2

Re: Plugin Adoption Request: publish-over-ssh-plugin

2021-06-17 Thread Ullrich Hafner
Did you already create a permission PR? See: https://www.jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/ > Am 17.06.2021 um 05:00 schrieb Danilo Dorgam : > > Hi, I would like to adopt the publish-over-ssh-pl

Re: I would like to become committer/maintainer on a plugin

2021-06-17 Thread Ullrich Hafner
https://www.jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/ > Am 17.06.2021 um 14:00 schrieb Roland Asmann : > > Where should I do this? > > On 17.06.2021 13:54, Ullrich Hafner wrote: >> Please go ahead and create a permissions PR and reference this thread. >&

Re: Plugin Adoption Request: rabbitmq-consumer-plugin

2021-06-18 Thread Ullrich Hafner
Yes, please create a PR. Typically you should send your request in CC to the previous maintainer as well so we can see that you tried to reach the previous maintainer. > Am 17.06.2021 um 23:30 schrieb gustaf...@axis.com : > > Next step? https://github.com/jenkins-infra/repository-permissions-

Re: Example Integer Field in Jenkins Jelly

2021-06-18 Thread Ullrich Hafner
Maybe this is related to https://issues.jenkins.io/browse/JENKINS-65585 ? Or: did you already add the @Post annotation to your methods? Example: https://github.com/jenkinsci/warnings-ng-plugin/blob/master/plugin/src/main/java/io/jenkins/plugins/ana

Re: how to return some values to the caller of the Jenkins plugin

2021-06-20 Thread Ullrich Hafner
It is possible to return values from a step (but not from a SimpleBuildStep) Before I go into details we need to make sure that this approach makes senes, your requirements are not clear: - What is in the value that you want to return? - Why do you want to return a value? - What do you want t

Re: how to return some values to the caller of the Jenkins plugin

2021-06-21 Thread Ullrich Hafner
cated. Use the Tell-Don't-Ask principle (https://martinfowler.com/bliki/TellDontAsk.html <https://martinfowler.com/bliki/TellDontAsk.html>) Tell your Jenkins plugin what it should display and do not get values and work with these values. > Do you have some good practice that I can re

Re: how to return some values to the caller of the Jenkins plugin

2021-06-22 Thread Ullrich Hafner
orkflow.steps.Step" Then this is the wrong approach. Either call the API from your plugin or store the results in an object that is controlled by Jenkins (Action). > > best regards, > Long > > On Mon, Jun 21, 2021 at 1:42 AM Ullrich Hafner <mailto:ullrich.haf...@gmail.

Re: Error handling in Groovy initialization scripts vs JCasC

2021-06-24 Thread Ullrich Hafner
> Am 24.06.2021 um 00:54 schrieb Basil Crow : > > After all these years, we finally migrated from Groovy initialization > scripts to JCasC on our Jenkins controllers. > > While any configuration error is a problem, I noticed that the way > these errors are reported differs from one mechanism t

Re: Sign-up for 'beta projects' in GitHub issues

2021-06-29 Thread Ullrich Hafner
+1 from me It seems that these new features finally bring in some new elements from Jira that are required for a full featured issue tracker. > Am 29.06.2021 um 05:34 schrieb Oleg Nenashev : > > +1 from me and thanks to Tim for starting this thread! I did a little Twitter > intervention to hi

Re: Plug-in Development Questions

2021-06-29 Thread Ullrich Hafner
> Am 28.06.2021 um 23:51 schrieb Devin Foxhoven : > > Hello, > > I was guided to this online group to direct my question. Specifically, myself > and several other students at a university are working on a research project > that will function as a plugin on Jenkins. Only just recently startin

Re: Unit testing a class calling Guice.createInjector()

2021-06-30 Thread Ullrich Hafner
Which dependencies do you mean? Normally there is no need to use dependency injection in Jenkins at all. Typically all required objects are provided as parameters to the extension point methods. Maybe a pointer to the code would be helpful... > Am 30.06.2021 um 09:31 schrieb Goyot, Martin : >

Re: Unit testing a class calling Guice.createInjector()

2021-06-30 Thread Ullrich Hafner
talking about Jenkins dependencies that are provided by > Jenkins itself but dependencies coming from our own code. > -- > > > > > > <https://www.tuleap.org/fr/ebook-agilite-a-lechelle/?utm_source=signature-mail&utm_medium=martin-goyot&utm_campaign=banner-mai

Re: mvn dependecies and parent version update pipeline

2021-07-08 Thread Ullrich Hafner
Are you talking about dependencies in general? Then this is the wrong mailing list. If you are interested in how to update plugin dependencies. We all use dependabot [1] to keep them up to date. [1] https://github.blog/2020-06-01-keep-all-your-packages-up-to-date-with-dependabot/

Re: Jenkins websockets disconnecting every other day

2021-07-08 Thread Ullrich Hafner
You might get more answers on the users mailing list or in Jenkins Gitter channel. This mailing list ist about development of Jenkins components (core or plugins). > Am 07.07.2021 um 16:32 schrieb Gabriele DW : > > Hello, > > I recently switched to use web sockets on my Jenkins instance. It's

Re: https://plugins.jenkins.io/custom-tools-plugin/ adoption

2021-07-08 Thread Ullrich Hafner
Hi Roberto, Thanks for helping to keep the custom-tools-plugin alive! Since this plugin is already up for adoption we can directly proceed with the next steps: Please read https://www.jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/

Re: Choosing Jenkins September LTS release baseline

2021-07-16 Thread Ullrich Hafner
+1 for 2.302 > Am 16.07.2021 um 14:26 schrieb Mark Waite : > > We need to select the baseline for the next Jenkins LTS release. The > candidates are: > 2.300 - security release > 2.301 - Regression fix for 2.298 XML parsing issue, Jetty upgraded to 9.4.42 > 2.302 - Optimize some ACL checks, rem

Re: Adopt Dependency Check Jenkins plugin

2021-07-24 Thread Ullrich Hafner
I’m not sure if the plugin is really up for adoption. Can you please check: https://groups.google.com/g/jenkinsci-dev/c/6PMGCFKRa-k/m/7XifHFE2AQAJ?utm_medium=email&utm_source=footer It mig

Re: best ide

2021-07-25 Thread Ullrich Hafner
That sounds wonderful! I am using the 2021.2 EAP and always get some exceptions with the Stapler plugin now. What kind of permissions do you need? Is this something we can do? Or on the JetBrains side? > Am 23.07.2021 um 01:37 schrieb Denys Digtiar : > > For IntelliJ users. I've been doing so

Jenkins UI ATH tests fail due to a org.openqa.selenium.json.JsonException

2021-08-02 Thread Ullrich Hafner
Has anybody an idea why Jenkins UI tests fail in our CI instance since a couple of days due to a org.openqa.selenium.json.JsonException? Caused by: org.openqa.selenium.json.JsonException: Expected to read a START_MAP but instead have: END. Last 0 characters read: Build info: version: '3.141.59'

Re: Updating the Jenkins Jumbotron with DevOps World

2021-08-04 Thread Ullrich Hafner
+1 > Am 04.08.2021 um 16:45 schrieb Mark Waite : > > The jenkins.io web page has a rotating series of panels > that highlight projects of interest to Jenkins users and administrators. It > is currently showing: > Jenkins 2021 Contributor Awards > She Code Africa Contribut

Get URL of build details page of another build

2021-08-04 Thread Ullrich Hafner
In Jenkins side panel we have a „previous build“ link that opens the same view for the previous build. Is this functionality available as API somewhere? I would like to navigate from the current view (e.g. the static analysis warnings for a given package) to the same view just in another build.

Re: Get URL of build details page of another build

2021-08-05 Thread Ullrich Hafner
will need to copy the code into my plugin. > Am 04.08.2021 um 19:21 schrieb Daniel Beck : > > > > On Wed, Aug 4, 2021 at 7:13 PM Ullrich Hafner <mailto:ullrich.haf...@gmail.com>> wrote: > Of course I can parse the absolute URL on my own, but it would be sim

Re: Release team

2021-09-21 Thread Ullrich Hafner
+1 > Am 21.09.2021 um 11:32 schrieb Tim Jacomb : > > Hello > > I would like to propose a release team in the Jenkins GitHub org. > The role and permissions are documented in > https://github.com/jenkinsci/jenkins/blob/master/docs/MAINTAINERS.adoc#roles >

Re: Jenkins Governance Meeting, Sep 8, 2021

2021-09-22 Thread Ullrich Hafner
For me it will work if we change in from 7 UTC to 8 UTC. (Using 7 UTC or 8 UTC will work on the other days as well for me). Earlier is not so easy for me (only possible on Thursdays). > Am 22.09.2021 um 11:09 schrieb Oleg Nenashev : > > Hello, > > Any opinions regarding changing the meeting tim

Re: Jenkins Governance Meeting, Sep 8, 2021

2021-09-22 Thread Ullrich Hafner
leave to would be helpful for me for the time being. > Not sure about the today's meeting but it would be my personal preference too > > On Wed, 22 Sep 2021, 12:05 Ullrich Hafner, > wrote: > For me it will work if we change in from 7 UTC to 8 UTC. (Using 7 UTC or 8

  1   2   3   4   5   6   7   >