Commit Graph

4 Commits

Author SHA1 Message Date
Antoine Musso 0c47b4292d Retire the project on OpenDev
It has been migrated to the Jenkins community:
https://github.com/jenkinsci/gearman-plugin/

Depends-On: Ib6010d7ce85a934501c50a53e9ac78dcf74bc403
Change-Id: I0c84db2ad3fbb4d9f0eff793a0159c6ed3a8e25c
2021-05-27 17:23:43 +02:00
zaro0508 2b175701d2 add new unit tests for plugin
This commit adds a few unit tests for the gearman-plugin.
A few things were refactored from creating the tests.
1. move methods from GearmanPluginUtil to GearmanPluginConfig
2. removed a few unused methods.

Change-Id: I8ccd0000ff528867c66958294192818f35d83383
2013-03-20 21:11:27 -07:00
zaro ac1d57e4bf fix plugin extension point, enhanced jelly script, added test connection button
.classpath
  Added eclipse classpath to web resources

pom.xml
  Update jenkins dependency to ver 1.502

src/main/java/hudson/plugins/gearman/Constants.java
  Added default setting for launchWorker configuration.

src/main/java/hudson/plugins/gearman/GearmanPluginConfig.java
  This plugin was extending the wrong jenkins extension point.
  It's now extending GlobalConfiguration instead of Builder which I
  believe is more correct. I had to rename GearmanPlugin to GearmanPluginConfig
  because for some reason extending GlobalConfiguration from a GearmanPlugin
  class doesn't work. Also had to rename the associated jelly script from
  global.jelly to config.jelly

  Moved and renamed help files to let jenkins framework load help files named help-$field.html

src/main/java/hudson/plugins/gearman/ManagementWorkerThread.java
  changed debugging from System.out to logger.info

src/main/resources/hudson/plugins/gearman/GearmanPluginConfig/config.jelly
  Added basic verification for host config (make it required).
  Changed port config type from textbox to number and added basic verification (make it a required number)
  Added a 'Test Connection' button to test the Gearman server connection.
  Remove references to help files to let the jenkins framework load help files named help-$field.html

src/main/resources/index.jelly
  Update description

Change-Id: If0a521c8611d6a93f0434000452dc8c284f5fd74
2013-03-01 10:40:56 -08:00
Khai Do f04b4f616d setup maven project directories in eclipse
Change-Id: I1a10030051dbaf20a7fb2ac01c350bc8657b92bc
2013-01-11 16:28:22 -08:00