Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Please let me know how Jelly is used in Jenkins.
Any docs explaining the architecture of GUI in Jenkins will be helpful.
Any tutorial explaining the high level code details or any pointers in the region
The starting point to Jenkins development is the Extend Jenkins page.
On this page, there is a number of sub pages that discuss different aspects of Jelly, see under "Writing Views (Jelly/Groovy)" in the menu.
This along with the tutorials at the bottom of the Plugin tutorial page is a good start.
Some basics:
All Jelly files are connected to a corresponding class based on the path of the Jelly file:
src/main/java/com/example/MyClass.java
src/main/resources/com/example/MyClass/config.jelly
There are a number of different names for different purposes on the jelly files, e.g.: portlet.jelly, index.jelly, global.jelly, config.jelly.
If you are writing a job/build plugin, global.jelly corresponds to system configuration while for job configuration you will use config.jelly.
Happy coding!
You will need maven and can install it from the command line
$ mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create
This will ask you a few questions, like the groupId (the Maven jargon for the package name) and the artifactId (the Maven jargon for your project name), then create a skeleton plugin from which you can start with. Make sure you can build this:
$ cd newly-created-directory
$ mvn package
This is documented here https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial
This ships with lots of UI examples to look at. I would advise using either IntelliJ or eclipse as they have tools to integrate into the maven build process
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We are planning to use artifactory for mainframe COBOL.
We are also planning to use bitbucket as SCM tool for mainframe COBOL.
Can you please guide us on how to go about?
Thanks,
Shnkr
If you want to use bit bucket (or any GIT based system), you will need to be able to compile and move compiled objects to target datasets. IBM has a new product called Dependency Based Build, which is designed to integrate with GIT and other open SCM systems. It is Groovy based, and can call the COBOL, PL/I and Assembler compilers. It integrates with IBM Developer for System z (which is IBM's eclipse based IDE for mainframe development). This tool also allows you to debug, unit test, and analyze code coverage of your source.
Here's a demo of DBB: https://www.youtube.com/watch?v=CsZDlKIDRXI
Also, using these for your toolchain, you will be able to store your compiled objects (load modules, listings, DBRM, etc) into Artifactory, but deployment can be a bear if you are just using open source tools. I would personally recommend Ubancode Deploy for z/OS deployment as it can handle complex deployment scenarios.
For B.B. it totally depends on your IDE. Look at IBM’s eclipse bases stuff.
I have no idea how or if your can reasonably store mainframe COBOL artifacts in Artifactory - have you looked at their docs?
JFrog Artifactory does not come with an out of the box support for COBOL binary packages.
You can take a look at Generic repositories, which allows storing any type of binary, as a possible solution. Using generic repositories will allow you to benefit from setting permissions, defining layouts and other Artifactory capabilities.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am setting up a c# BDD Test automation framework using the following basic components:
Specflow
NUnit / SpecRun (test runner - see below)
Selenium
I have successfully set up a framework which executes tests and generates a nice HTML report (to do this, I used SpecRun as the test runner.. http://www.specflow.org/plus/runner/).
I am now trying to set my tests up to execute in Sauce labs to do cross-browser and device testing. Jenkins has a nice Sauce plugin which allows you to specify the platforms and the tests are then run across each selected platform.
I have also identified Saucery (http://fullcirclesolutions.com.au/) as a potential time saver in setting this integration up, however, this would mean that I would need to use NUnit as my test runner instead of Specrun.
If I am to go down the NUnit route, does anyone know of any decent html reporting solutions which I can integrate into the test run. A lot of googling has returned very little in the way of answers here.
Thanks!
You can use the specflow.exe program to create reports, it comes with the specflow package. How it works in detail can be found on the specflow github. Summarized:
In order to generate this report you have to execute the acceptance
tests with the nunit-console runner. This tool generates an XML
summary about the test executions. To have the detailed scenario
execution traces visible, you also need to capture the test output
using the /out and the /labels options as it can be seen in the
following example.
nunit-console.exe /labels /out=TestResult.txt
/xml=TestResult.xml bin\Debug\BookShop.AcceptanceTests.dll
The two generated files can be
used to invoke the SpecFlow report generation. If you use the output
file names shown above it is enough to specify the project file path
containing the feature files.
specflow.exe nunitexecutionreport BookShop.AcceptanceTests.csproj
/out:MyResult.html
Allure.
https://github.com/allure-framework/allure2
NUnit, Specflow, any framework
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have scoured the web looking for the Sonar Delphi plugin 0.2 (sonar-delphi-plugin-0.2-SNAPSHOT.jar). Since the shutdown of codehaus, it seems this plugin is not available anywhere else?
http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/sonar-delphi-plugin/0.2-SNAPSHOT/
There is several references to this URL, but I cannot find this plugin anywhere else.
Does someone please know where I can download it, or possibly has it available to share?
The plugin was abandoned and picked up by Fabricio Colombo and relocated to github
https://github.com/fabriciocolombo/sonar-delphi
Look at 'Releases' to get the latest plugin .jar
If you really want the 0.2 snapshot... it appears that you can use the "Wayback Machine" internet archive to grab it at:
https://web.archive.org/web/20140324100408/http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/sonar-delphi-plugin/0.2-SNAPSHOT/
I have just published an updated version our SonarQube Delphi plugin which supports Sonar 7.9 LTS and also the latest 8.2 version, see https://github.com/mendrix/SonarDelphi.
If you combine this with the DelphiCodeCoverage tool (see https://sourceforge.net/projects/delphicodecoverage/) and DUnitX (including the additional file in our SonarQube repository) you have a fully functioning SonarQube plugin for Delphi.
GitHub has these three projects of Sonar from Codehaus:
https://github.com/codehaus?utf8=%E2%9C%93&query=sonar
The project sonar-plugins is empty but references on https://github.com/sonarcommunity.
There are plenty of plugins. See if you can find it there.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently using Ant and Maven in different projects. To be compliant with some regulations, I'm in charge of listing all licenses used in each project.
With Maven, it is easy, as the Maven Project Info Reports Plugin generates such a report automatically.
As I'm not fond of searching licenses for all my JARs I'm using in the projects, I would like to know if there's a plugin for Ant, performing this task.
Thanks in advance!
Since this question hasn't got any hints, pointers or even answers, I hacked a solution by myself: license-report at github
The license-report is an Ant task which determines a license for most jar files. Currently, it searches in the following files for information:
META-INF/MANIFEST.MF
META-INF/LICENSE
LICENSE.txt
LICENSE
license/LICENSE.txt
license/LICENSE
These files are found in several common Open Source/Free Software libraries. Some libraries don't provide any information on their license (e.g. Spring framework).
For these libraries, the task does not find any information.
I will update the project as soon as possible that it prints out a nice xml and html report about the found licenses. Documentation and How To will follow, too.
I'm currently working on a demo project using this Ant task.
The demo project now creates an XML file with all library information. Just start it (with installed Ant) via ant build.xml in the root folder of license-report-demo. It prints out the location of the generated XML file. I will also include an XSLT to transform the XML into a nice HTML report. This will come in several days I think.
I create an XML file for further processing (e.g. CI systems like Hudson/Jenkins). This will help to generate a list of all licenses across projects in a central system.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm currently using a basic text editor to write my grails code. Does anyone know of a program that will automatically format code with indentation similar to indent does for C? I'd rather use a commandline program to do this but can use an IDE to format my code if that's the only option.
Try NetBeans v.6.7 (not the current production release 6.5) with the NetBeans Groovy/Grails plugin enabled. This is a nice clean IDE interface (easier to use than Eclipse IMHO), and you can set it up to integrate with your Grails installation. You can call all your Grails tasks from the IDE, edit your code, test and run your project. Then, if you want to format your code, you just right-click in the code editor and select "Format". Easy!
I am using VIM / GVIM for typing code in Groovy/Grails. it has code formatting, I just need to tell my VIM that groovy and java are similar....
and then press gg = G [enter] (format from top to bottom)
There is a tool recommended in this thread for this purpose. I have not tried it but maybe worth a look.
Here's some instructions on how to get Grails working with NetBeans (couldn't submit the second URL in my last post).
the groovy eclipse plugin does a decent job of formatting groovy code. sts might be smarter about some of the grails code.
You can use npm-groovy-lint for command line, and VsCode Groovy Lint in Visual Studio Code IDE :)
https://www.npmjs.com/package/npm-groovy-lint
https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint