[JIRA] (JENKINS-39461) "Poll SCM" triggers don't generate valid Groovy in snippet generator

2016-11-28 Thread lude...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrey A commented on  JENKINS-39461  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: "Poll SCM" triggers don't generate valid Groovy in snippet generator   
 

  
 
 
 
 

 
 observing this issue on Jenkins ver. 2.19.3 can someone please tell what text should be instead of  placeholder ? I would like to configure multibranch pipeline job via Jenkinsfile but it is hard to figure out the correct syntax for git polling  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] [matrix-combinations-parameter-plugin] (JENKINS-27502) Combination filter groovy script fails after upgrade

2015-03-19 Thread lude...@yahoo.com (JIRA)














































Andrey A
 created  JENKINS-27502


Combination filter groovy script fails after upgrade















Issue Type:


Bug



Assignee:


Unassigned


Components:


matrix-combinations-parameter-plugin



Created:


19/Mar/15 10:49 AM



Description:


1) Upgraded 1.599->1.605
2) Matrix job is used
3) In order to choose particular configuration or run All of them
the following groovy _expression_ is used in Combination filter:

targetHost=="All" || targetHost.contains(hostUnderTest)

where
hostUnderTest is matrix axis that contains the list of available hosts
targetHost is build parameter and usually contains comma separated list of hosts against which tests are executed

It was working on 1.599 but fails with the following error after update to 1.605

FATAL: Scripts not permitted to use method java.lang.String contains java.lang.CharSequence


I suppose these are due to some security restriction - could someone please advise how to disable them or propose another workaround?




Environment:


1.605




Project:


Jenkins



Priority:


Major



Reporter:


Andrey A

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.