Skip to content

Instantly share code, notes, and snippets.

@alikrc
Last active March 29, 2019 07:04
Show Gist options
  • Save alikrc/86ffc6979c3e9eaab700d59ff6f2ef3f to your computer and use it in GitHub Desktop.
Save alikrc/86ffc6979c3e9eaab700d59ff6f2ef3f to your computer and use it in GitHub Desktop.
IntellJ IDEA maven debug for jenkins plugin
on terminal run this, then add a new remote config listen port 8000.
d:
cd D:\NS Projects\NCJenkinsPlugin
set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
mvn hpi:run
https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingupaproductiveenvironmentwithyourIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment