#Build# The Jenkins plugin build is powered by the gradle-jpi-plugin (see its documentation).
There are following targets defined:
Builds .hpi file
gradle jpi
Run development server:
gradle server
###Debugging###
Debuggins is configured with GRADLE_OPTIONS env variable.
GRADLE_OPTS="${GRADLE_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006" ./gradlew clean server
How to debug slave:
javaws -J-Xdebug -J-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8200 http://localhost:8080/computer/slave1/slave-agent.jnlp