Groups
Groups
Sign in
Groups
Groups
Jenkins Developers
Conversations
About
Send feedback
Help
How to check if plugin is running in development mode
17 views
Skip to first unread message
Surya Gaddipati
unread,
Feb 21, 2015, 4:15:21 PM
2/21/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
Is there way to check to plugin is launched via mvn hpi:run
I found this property
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/Main.java#L221
But it env variable is not set causing it return false all the time.
Daniel Beck
unread,
Feb 21, 2015, 5:51:17 PM
2/21/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
Try hudson.hpi.run:
https://github.com/jenkinsci/maven-hpi-plugin/blob/master/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java#L237
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-de...@googlegroups.com
.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/81e96984-701d-4e1d-973f-cf7236d0b023%40googlegroups.com
.
> For more options, visit
https://groups.google.com/d/optout
.
Surya Gaddipati
unread,
Feb 22, 2015, 12:48:38 PM
2/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
Thanks Daniel. That did the trick.
Reply all
Reply to author
Forward
0 new messages