I meet a question when writing a jenkins plugin. I want to use TransientBuildActionFactory to add my plugin action to the job's build, but I can't find any demo code to use this class.
Could anyone show me a example for how to use it?
I learn TransientBuildActionFactory infomation from this : jenkins wiki about it
More recently, we are introducing a series of Transient***ActionFactory, such as TransientViewActionFactory, so that transient actions can be contributed without implementing another stateful extension point like Builder. We hope to add such extension points for more host types.
Thanks
TransientBuildActionFactory had been deprecated as stated in the javadoc. It's replaced with TransientActionFactory.
The example can be found at JobConfigHistoryActionFactory.java
Related
We'd like to develop a GCP Dataflow extension that we can make available to our data engineers in the Dataflow pipeline builder GUI. I thought I understood that is possible in one of the webinars, but can't find any documentation about it. An example project would also be great.
thanks a lot for your help
Juergen
What you are describing is Cloud Dataflow templates, so your memory is correct. From these public docs there are sublinks on how to create and then run your custom templates.
I am guessing this is probably going to be a fairly simple question and apologize that I haven't been able to find the answer for this one.
When working with Quartz.net in C# if you are using a job listener, you usually use something like this line of code :
scheduler.getListenerManager().addJobListener(myJobListener, KeyMatcher.keyEquals(myJobKey));
You could also use :
scheduler.getListenerManager().addJobListener(myJobListener);
But then the JobListener would be paying attention to any job rather than a specified one.
When working in F#, I can successfully create and add a JobListener but KeyMatcher doesn't seem to be recognized. I'm wondering if it uses a different name or if I am missing an import declaration. Here are the two import declarations I am currently using related to Quartz :
open Quartz
open Quartz.Impl
Thank you for any assistance.
How to add custom rule in sonar for delphi language?
Our problem is we are able to add custom rule for all other languages like c#,javascript,java in sonar, but are not able to add for delphi, We can't find new rule option like the one showed in this link for adding custom rules in sonar . Someone please advise.
AFAIK, the Delphi plugin, developed and maintained (?) by guys from Sabre, is not extensible: it does not have a rule extension mechanism, nor does it provide an XPath rule that could be used to achieve this purpose.
You might want to take a look at the (early) work we are doing to do humane assessment with Delphi, using Moose.
I am currently looking for a way to integrate detail views of selected Jira Issues into a Conflluennce page. It seems it is not a problem at all to embed a list of Issues into confluence, but I am looking for a way to integrate the detail-view of a single Jira Issue into a Conflluence page.
The reason I need this, is that I am currently defining a workflow for formmally planning a Project. Currently I export the Issues of a Project version to Word and then update the resulting document to become a formal specification document. I would now like to do this in Confuence.
Any help greatly appreciated.
Chris
This is available in the latest Confluence version, 3.5. Here's the documentation.
Well I solved my problem by creating my own confluence macro that accesses Jira using the REST interface. Works like a charm. If I find the time, I'll try to make it generally available (currently It's extremely tied to our configuration (hard-coded urls and credentials) Will be looking forward to utilizing the trusted communication features in the future.
I usually maintain code snippets that I can resuse in a Wikidpad personal wiki with a small index page that can take me to any code that I want.
I want to share these snippets with my team and am looking for easy ways to do it.
Are there any tools that would help me setup such a repository? Or should I simply install a wiki and port my personal wiki there?
Thanks
Hari
Google Docs, perhaps? Search-ability is the key. No one has time to cross-index, keyword-stuff, and organize "snippets" into complex ontologies.
Also, remember that when someone reuses code, they also reuse the bugs, limitations, and performance issues you may have worked out in subsequent revisions. The best way to reuse code is not to copy it, but to document it and make it accessible for direct reuse.
Some IDEs have a code-snippet utility built into them. e.g. Visual Studio has Code Snippet Manager.
Or perhaps an addin like Resharper. My point being find something that integrates nicely with the IDE that your team uses.
Why not use code snipplr
An easy and reusable solution: a repository with web interface like subversion. Also Github can be a good option since you don't need installation