Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-29 Thread jwa
Certainly have. No dice :-(

On Thursday, 29 September 2016 01:09:18 UTC+1, Indra Gunawan (ingunawa) 
wrote:
>
> Have you restarted Jenkins yet before trying new plugin?
>
> From: <jenkins...@googlegroups.com > on behalf of jwa <
> jamie...@gmail.com >
> Reply-To: "jenkins...@googlegroups.com " <
> jenkins...@googlegroups.com >
> Date: Wednesday, September 28, 2016 at 9:21 AM
> To: Jenkins Users <jenkins...@googlegroups.com >
> Subject: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of 
> undefined
>
> Hi All, 
>
> Has anyone seen this problem with the Blue Ocean UI? When I click "Try 
> Blue Ocean UI..." the progress bar stalls at ~90%.
>
> When I open the console in Chrome it has the following logged out: 
>
> Cannot read property 'jenkinsConfig' of undefined blueocean.js:82243
>
> I've only just installed the BlueOcean plugins, and I've never had it 
> running.
>
> Any suggestions would be greatly appreciated.
>
> jwa.
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/de626d28-3a0c-43d6-be83-8fa897f0ba28%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/de626d28-3a0c-43d6-be83-8fa897f0ba28%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d082044a-36b6-4363-8a75-1bc6ef68eec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-28 Thread jwa
Hi All,

Has anyone seen this problem with the Blue Ocean UI? When I click "Try Blue 
Ocean UI..." the progress bar stalls at ~90%.

When I open the console in Chrome it has the following logged out: 

Cannot read property 'jenkinsConfig' of undefined blueocean.js:82243

I've only just installed the BlueOcean plugins, and I've never had it 
running.

Any suggestions would be greatly appreciated.

jwa.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/de626d28-3a0c-43d6-be83-8fa897f0ba28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help Files - Custom Action

2012-08-17 Thread jwa
Hi Michael,

Thanks for your help, just a note for future readers - the directory should 
not have a trailing s, i.e.  src/main/webapp.

I can see that this is uploaded to the server, and looks a lot better, from 
the root of Jenkins I now have:

   ./plugins/PluginName/help-comments.html

However, it's still not working, my help attribute URL looks like this:

/plugins/PluginName/help-comments.html

Also, I've tried to retrieve it via URL, and it's giving me a 404 (not sure 
if it's meant to retrieve the file):

   http://jenkins:8080/plugins/PluginName/help-comments.html

Any ideas?

Thanks again for your help.

Regards,

jwa

On Friday, 17 August 2012 08:29:47 UTC+1, mpapo - Michaël Pailloncy wrote:

 Hi,

 You must add your help files to src/main/webapps/ (directly in this 
 directory) instead of  src/main/resources/your/package/..

 Michaël

 2012/8/16 jwa jamie...@gmail.com javascript:

 Hi Folks,

 I'm writing a custom action, and I can't get help files to work! I've 
 tried using the help attribute on the f:entry. It shows the help icon, but 
 when clicked it doesn't show the details:

 f:entry title=Comments 
 help=/plugin/PluginName/help-comments.html
 f:textarea id=idComments 
 name=comments /
 /f:entry

 And then I have the following resource:


 src/main/resources/com/me/myproject/plugin/ActionName/help-comments.html

 There doesn't seem to be a lot of documentation on this.

 Any help would be greatly appreciated.

 Regards,

 Jamie




Re: Help Files - Custom Action

2012-08-17 Thread jwa
Thanks for the suggestion Stephen - but that doesn't seem to have done the 
trick. The help question mark logo has now disappeared.

Any other ideas?

Jamie.

On Thursday, 16 August 2012 21:54:55 UTC+1, jwa wrote:

 Hi Folks,

 I'm writing a custom action, and I can't get help files to work! I've 
 tried using the help attribute on the f:entry. It shows the help icon, but 
 when clicked it doesn't show the details:

 f:entry title=Comments 
 help=/plugin/PluginName/help-comments.html
 f:textarea id=idComments 
 name=comments /
 /f:entry

 And then I have the following resource:

src/main/resources/com/me/myproject/plugin/ActionName/help-comments.html

 There doesn't seem to be a lot of documentation on this.

 Any help would be greatly appreciated.

 Regards,

 Jamie



Re: Custom Action: Sending E-Mail

2012-08-16 Thread jwa
Hi Chris,

Thanks for your help. That did the trick! :-)

jwa

On Tuesday, 14 August 2012 13:09:22 UTC+1, Christopher Orr wrote:

 On 08/14/2012 11:43 AM, jwa wrote: 
  I've written a custom action, to integrate with some 
  third-party proprietary mechanisms internally within the company I work 
 for. 
  
  This is all working well, however - I'd like to send an e-mail when the 
  action has finished. 
  
  Can I obtain a handle to Jenkin's e-mail facilities, so that I can use 
  the configured SMTP, etc? 

 I haven't used this myself, but a quick look at the source suggests you 
 could try hudson.tasks.Mailer.getDescriptor().getSmtpServer() etc. 


 https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/tasks/Mailer.java
  

 Regards, 
 Chris 



Help Files - Custom Action

2012-08-16 Thread jwa
Hi Folks,

I'm writing a custom action, and I can't get help files to work! I've tried 
using the help attribute on the f:entry. It shows the help icon, but when 
clicked it doesn't show the details:

f:entry title=Comments 
help=/plugin/PluginName/help-comments.html
f:textarea id=idComments name=comments 
/
/f:entry

And then I have the following resource:

   src/main/resources/com/me/myproject/plugin/ActionName/help-comments.html

There doesn't seem to be a lot of documentation on this.

Any help would be greatly appreciated.

Regards,

Jamie


Custom Action: Sending E-Mail

2012-08-14 Thread jwa
Good Morning Folks,

I've written a custom action, to integrate with some 
third-party proprietary mechanisms internally within the company I work for.

This is all working well, however - I'd like to send an e-mail when the 
action has finished.

Can I obtain a handle to Jenkin's e-mail facilities, so that I can use the 
configured SMTP, etc?

Thanks,

jwa.