[JIRA] (JENKINS-43821) Groovy AST Transformation class not called

2020-04-18 Thread tavin.c...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tavin Cole commented on  JENKINS-43821  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Groovy AST Transformation class not called   
 

  
 
 
 
 

 
 I made it work by writing a java class to implement ASTTransformation, and placing the compiled class file in the shared library src tree.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.181339.1493124512000.13686.1587247320163%40Atlassian.JIRA.


[JIRA] (JENKINS-43821) Groovy AST Transformation class not called

2020-04-18 Thread tavin.c...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tavin Cole edited a comment on  JENKINS-43821  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Groovy AST Transformation class not called   
 

  
 
 
 
 

 
 I made it work by writing a java class to implement {{ASTTransformation,}} and placing the compiled class file in the shared library {{src}} tree. It also works with a Groovy implementation, if the {{visit}} method is annotated {{@NonCPS}}. Without {{@NonCPS}} there is an error.No doubt, Pipeline has changed a lot since this bug was filed.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.181339.1493124512000.13690.1587248700136%40Atlassian.JIRA.