[JIRA] [core] (JENKINS-32918) groovy: adding html button to job description is ignoring onclick javascript cmds

2016-02-12 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32918 
 
 
 
  groovy: adding html button to job description is ignoring onclick _javascript_ cmds  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 core 
 
 
 

Created:
 

 12/Feb/16 3:34 PM 
 
 
 

Environment:
 

 jenkins master installed on linux dist.  version: 1.645  client browsers: firefox/chrome 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 simon werling 
 
 
 
 
 
 
 
 
 
 
Hi jenkins experts, 
I used the following groovy code to add a button with some _javascript_ ajax actions for triggering other jobs. 

 

job.builds
.findAll { build -> build.number == buildNumber }
.each { build ->
build.setDescription("""
Do Something!""")
}
 

 
The button is visible in the description after the build has finished, but the onClick action is simply not created. Filtered out? 
Do i have to install additional jenkins plugins to allow _javascript_ or ajax actions? Thanks for your support! 
 
 
   

[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-10 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-29422 
 
 
 
  Cannot run program groovy  
 
 
 
 
 
 
 
 
 

Change By:
 
 simon werling 
 
 
 

Attachment:
 
 groovy_default_and_PATH_variable_not_working.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-10 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling commented on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 
Ok, I guess i got it. 
So it seems that the PATH variable is not correctly interpreted by the running java slave process? 
see the attachment : groovy_default_and_PATH_variable_not_working.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-10 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling commented on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 
Good Morning Vjuranek, 
thanks for the fast response. 
Im going to answer your questions soon. Give me some time to find out a bit more. 
One more question from my side. 
What is the groovy binary default path? 
Wouldnt it make sense to call 'groovy' without any prefix-path specification? So the user can control which groovy version is called? Or is here the intention to use symbolic links to redirect? 
it would definetly help, to know, where you expect the groovy exe. 
thanks, simon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-10 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-29422 
 
 
 
  Cannot run program groovy  
 
 
 
 
 
 
 
 
 

Change By:
 
 simon werling 
 
 
 

Attachment:
 
 some_workaround.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-10 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling commented on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 
Hi, 
i have some workaround to avoid the automatic groovy package installation AND to get the groovy plugin working. 
see the attached image some_workaround 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-10 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling commented on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 
 
What is quite common is that you have e.g. NFS drive with various tools and mount the disk when you create the slave machine or start the slave ... 
 
Since we want to avoid network influenced false negatives in the testing area, i need to avoid this aproach. =( 
At least directly accessing the tool chain over network can be workaround by copying these tools locally, before the slave starts. 
Hope you find a proper windows testing machine soon =) 
thanks!simon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-07 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling edited a comment on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 16:57:10nextnodes:[][SIMONTEST_SETUP]$cmd/ccallc:\temp\hudson2594808757146012965.bat16:57:11GroovyVersion:2.4.4JVM:1.7.0_17Vendor:OracleCorporationOS:Windows7{color:green}-runningfineoutofwin.cmd{color}16:57:11[SIMONTEST_SETUP]$ {color:red} groovy {color} c:\ \ _HUDSON\workspace\SIMONTEST_SETUP\hudson2548118167563489193.groovy16:57:11FATAL:commandexecutionfailed{color:red}-notworkingforthegroovyplugin{color}16:57:11java.io.IOException:Cannotrunprogramgroovy(indirectoryc:\\_HUDSON\workspace\SIMONTEST_SETUP):CreateProcesserror=2,Thesystemcannotfindthefilespecified16:57:11 atjava.lang.ProcessBuilder.start(UnknownSource) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-07 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling edited a comment on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 16:57:10nextnodes:[][SIMONTEST_SETUP]$cmd/ccallc:\temp\hudson2594808757146012965.bat16:57:11GroovyVersion:2.4.4JVM:1.7.0_17Vendor:OracleCorporationOS:Windows7{color:green}-runningfineoutofwin.cmd{color}16:57:11[SIMONTEST_SETUP]$groovyc:\_HUDSON\workspace\SIMONTEST_SETUP\hudson2548118167563489193.groovy16:57:11FATAL:commandexecutionfailed{color:red}-notworkingforthegroovyplugin{color}16:57:11java.io.IOException:Cannotrunprogramgroovy(indirectoryc:\ \ _HUDSON\workspace\SIMONTEST_SETUP):CreateProcesserror=2,Thesystemcannotfindthefilespecified16:57:11 atjava.lang.ProcessBuilder.start(UnknownSource) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-07 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling commented on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 
Hello, 
I have the same problem.  
Jenkins ver. 1.621 Groovy binaries 2.4.4 JRE 1.8.0_31 
Groovy bin. dir added to PATH GROOVY_HOME set correctly afterwards started the jenkins slave 
Out of the windows batch in the jenkins job - groovy can be called when using the slave side groovy plugin - groovy exe can not be found 
are any plans existing to fix that? 
Im not happy with the automatic groovy installation on the clients. 
1. it doesnt recognize in many cases that there is no groovy installed 2. if it is installing (juhu), the job aborts (because it takes 'too' long) and in the background java is still downloading the groovy package - you will only see that, when you observe your process list. There is no other hint. 
thank you for any help, simon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-07 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling edited a comment on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 16:57:10nextnodes:[][SIMONTEST_SETUP]$cmd/ccallc:\temp\hudson2594808757146012965.bat16:57:11GroovyVersion:2.4.4JVM:1.7.0_17Vendor:OracleCorporationOS:Windows7{color:green}-runningfineoutofwin.cmd{color}16:57:11[SIMONTEST_SETUP]$ pythonc:\temp\hudson7152530239202425741.py16:57:11[SIMONTEST_SETUP]$ groovyc:\_HUDSON\workspace\SIMONTEST_SETUP\hudson2548118167563489193.groovy16:57:11FATAL:commandexecutionfailed{color:red}-notworkingforthegroovyplugin{color}16:57:11java.io.IOException:Cannotrunprogramgroovy(indirectoryc:\_HUDSON\workspace\SIMONTEST_SETUP):CreateProcesserror=2,Thesystemcannotfindthefilespecified16:57:11 atjava.lang.ProcessBuilder.start(UnknownSource) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-07 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling edited a comment on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 Hello,Ihavethesameproblem.Jenkinsver.1.621Groovybinaries2.4.4JRE1.8.0_31Groovybin.diraddedtoPATHGROOVY_HOMEsetcorrectlyafterwardsstartedthejenkinsslaveOutofthewindowsbatchinthejenkinsjob-groovycanbecalledwhenusingtheslaveside executed groovyplugin code -groovyexecannotbefoundareanyplansexistingtofixthat?Imnothappywiththeautomaticgroovyinstallationontheclients.1.itdoesntrecognizeinmanycasesthatthereisnogroovyinstalled2.ifitisinstalling(juhu),thejobaborts(becauseittakes'too'long)andinthebackgroundjavaisstilldownloadingthegroovypackage-youwillonlyseethat,whenyouobserveyourprocesslist.Thereisnootherhint.thankyouforanyhelp,simon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [groovy-plugin] (JENKINS-29422) Cannot run program groovy

2015-08-07 Thread werling.si...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 simon werling commented on  JENKINS-29422 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Cannot run program groovy  
 
 
 
 
 
 
 
 
 
 
16:57:10 next nodes: [][SIMONTEST_SETUP] $ cmd /c call c:\temp\hudson2594808757146012965.bat 16:57:11 Groovy Version: 2.4.4 JVM: 1.7.0_17 Vendor: Oracle Corporation OS: Windows 7 - running fine out of win. cmd 16:57:11 [SIMONTEST_SETUP] $ python c:\temp\hudson7152530239202425741.py 16:57:11 [SIMONTEST_SETUP] $ groovy c:_HUDSON\workspace\SIMONTEST_SETUP\hudson2548118167563489193.groovy 16:57:11 FATAL: command execution failed - not working for the groovy plugin 16:57:11 java.io.IOException: Cannot run program groovy (in directory c:_HUDSON\workspace\SIMONTEST_SETUP): CreateProcess error=2, The system cannot find the file specified 16:57:11 at java.lang.ProcessBuilder.start(Unknown Source) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

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





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.