[JIRA] [gradle-jpi-plugin] (JENKINS-33209) Implement debugging similar to the Gretty plugin

5 views
Skip to first unread message

sergey.kadaner@checkmarx.com (JIRA)

unread,
Feb 29, 2016, 3:04:24 AM2/29/16
to jenkinsc...@googlegroups.com
Sergey Kadaner created an issue
 
Jenkins / Improvement JENKINS-33209
Implement debugging similar to the Gretty plugin
Issue Type: Improvement Improvement
Assignee: Daniel Spilker
Components: gradle-jpi-plugin
Created: 29/Feb/16 8:00 AM
Priority: Minor Minor
Reporter: Sergey Kadaner

Changing environment variables to switch Jenkins debug mode on and off is inconvenient. Especially if working on several separate projects and you want to start them simultaneously.

It will be very helpful if it will be possible to start in debug mode using Gradle task like it is done in Gretty

http://akhikhl.github.io/gretty-doc/Debugger-support.html
http://akhikhl.github.io/gretty-doc/Gretty-tasks.html

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

mail@daniel-spilker.com (JIRA)

unread,
Mar 1, 2016, 7:34:02 AM3/1/16
to jenkinsc...@googlegroups.com
Daniel Spilker commented on Improvement JENKINS-33209
 
Re: Implement debugging similar to the Gretty plugin

Are you talking about the stapler.trace, stapler.jelly.noCache and debug.YUI switches?

If you do not want to specify command line argument or set GRADLE_OPTS, you can add the properties to your gradle.properties files:

systemProp.stapler.trace=false
systemProp.stapler.jelly.noCache=false
systemProp.debug.YUI=false

See https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_properties_and_system_properties

sergey.kadaner@checkmarx.com (JIRA)

unread,
Mar 1, 2016, 8:24:01 AM3/1/16
to jenkinsc...@googlegroups.com

I did not explained myself good enough.

I meant that gradlew run starts server regularly and gradlew debug will start in debug mode.

Ability to configure port per Gradle configuration is also useful:
``` Groovy
appRunDebug

{ debugPort = 5005 debugSuspend = true }

```

sergey.kadaner@checkmarx.com (JIRA)

unread,
Mar 1, 2016, 8:25:01 AM3/1/16
to jenkinsc...@googlegroups.com
Sergey Kadaner edited a comment on Improvement JENKINS-33209
I did not explained myself good enough.

I meant that _gradlew  run_ starts server regularly and  _gradlew debug_ will start in debug mode.


Ability to configure port per Gradle configuration is also useful:


{ code:groovy noformat }

 appRunDebug {
      debugPort = 5005
      debugSuspend = true
    }

{ code noformat }


sergey.kadaner@checkmarx.com (JIRA)

unread,
Mar 1, 2016, 8:25:02 AM3/1/16
to jenkinsc...@googlegroups.com
Sergey Kadaner edited a comment on Improvement JENKINS-33209
I did not explained myself good enough.

I meant that _gradlew  run_ starts server regularly and  _gradlew debug_ will start in debug mode.

Ability to configure port per Gradle configuration is also useful:
``` Groovy

{code:groovy}
 appRunDebug {
      debugPort = 5005
      debugSuspend = true
    }
``` {code}

mail@daniel-spilker.com (JIRA)

unread,
Mar 25, 2019, 4:25:04 AM3/25/19
to jenkinsc...@googlegroups.com
Daniel Spilker assigned an issue to Steve Hill
 
Change By: Daniel Spilker
Assignee: Daniel Spilker Steve Hill
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sghill.dev@gmail.com (JIRA)

unread,
Apr 15, 2020, 10:29:03 AM4/15/20
to jenkinsc...@googlegroups.com
Steve Hill closed an issue as Won't Do
Change By: Steve Hill
Status: Open Closed
Resolution: Won't Do
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

sghill.dev@gmail.com (JIRA)

unread,
Apr 15, 2020, 10:29:05 AM4/15/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages