Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jenkinsci/perfpublisher-plugin
Jenkins perfpublisher plugin
https://github.com/jenkinsci/perfpublisher-plugin
adopt-this-plugin
Last synced: 3 months ago
JSON representation
Jenkins perfpublisher plugin
- Host: GitHub
- URL: https://github.com/jenkinsci/perfpublisher-plugin
- Owner: jenkinsci
- Created: 2010-12-13T05:47:21.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2022-11-21T22:28:14.000Z (about 2 years ago)
- Last Synced: 2024-09-30T09:15:14.499Z (3 months ago)
- Topics: adopt-this-plugin
- Language: Java
- Homepage: https://plugins.jenkins.io/perfpublisher/
- Size: 524 KB
- Stars: 7
- Watchers: 99
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README
- Changelog: changelog
Awesome Lists containing this project
README
+--------------------------------------------------+
+ README - HOW TO COMPILE - PLUGIN +
+--------------------------------------------------+
@author : Georges Bossert
org.jenkins-ci.tools
jenkins
true
repo.jenkins-ci.org
http://repo.jenkins-ci.org/public/
m.g.o-public
http://maven.glassfish.org/content/groups/public/
repo.jenkins-ci.org
http://repo.jenkins-ci.org/public/
m.g.o-public
http://maven.glassfish.org/content/groups/public/
repo.jenkins-ci.org
http://repo.jenkins-ci.org/public/
m.g.o-public
jenkins
----------------------------------------------------
2. Files and Workspace layout
----------------------------------------------------
PerfPublisher as any Jenkins Plugin is mainly
based on 4 types of data.> pom.xml :
The controller of it's own Maven build> src/main/java :
Contains all the Java sources.> src/main/ressources :
Contains all the Jelly and others ressources files.> src/main/webapp :
Every files in the directory will be copy directly into
the runtime of the Plugin. Must contain all the static
components like images and HTML pages.----------------------------------------------------
3. Compile a project
----------------------------------------------------
In a shell, juste use the maven commands :
> mvn clean :
clean the sources and the previous build
> mvn compile :
compile the sources----------------------------------------------------
4. Debug a project
----------------------------------------------------
Before starting debug, the environnement must be set.
use this linux command to execute the debug on
your host using port 8000export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n"
As compiling, debuging only requires tu execute a
maven command :> mvn hpi:run
If you open http://localhost:8080/ in your browser,
you should see the Jenkins page running in Jetty.
The MAVEN_OPTS portion launches this whole thing
with the debugger port 8000, so you should be able
to start a debug session to this port from your IDE.----------------------------------------------------
5. Distributing a Plugin
----------------------------------------------------
To create the package containing the needed files,
run the following maven goal :> mvn package
This command should create an archive *.hpi, which is
similar to *.jar, in the target directory. It's
this file used to install the plugin .----------------------------------------------------
6. Links
----------------------------------------------------
Maven2 :
http://maven.apache.org/
Jenkins :
http://jenkins-ci.org/