[JIRA] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-03-27 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 I just noticed that I hadn't used your attached plugin yet... I installed the attached version now and restarted Jenkins - but considering the long time this worked without me using the updated version I'm not sure I will be able to provide any usable feedback any time soon =/  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-03-27 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 So this happened again (4 times) . This time I updated the plugins listed below and restarted Jenkins: 

 
blueocean-commons.jpi
blueocean-web.jpi
blueocean-rest.jpi
blueocean-jwt.jpi
blueocean-rest-impl.jpi
blueocean-pipeline-api-impl.jpi
blueocean-github-pipeline.jpi
blueocean-git-pipeline.jpi
blueocean-config.jpi
blueocean-events.jpi
blueocean-personalization.jpi
blueocean-i18n.jpi
blueocean-dashboard.jpi
blueocean.jpi
active-directory.jpi
analysis-core.jpi
git-client.jpi
matrix-project.jpi
blueocean-rest
blueocean-events
blueocean-pipeline-api-impl
analysis-core
blueocean-commons
blueocean-web
blueocean-jwt
blueocean-personalization
blueocean-config
blueocean-github-pipeline
blueocean-dashboard
blueocean-rest-impl
blueocean
active-directory
matrix-project
git-client
blueocean-i18n
blueocean-git-pipeline
 

 From the Jenkins log: 

 
Mär 27, 2017 1:04:15 PM org.jenkins_ci.plugins.run_condition.BuildStepRunner logEvaluateException
WARNUNG: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV
at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.prepare(DataBoundTokenMacro.java:172)
at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:198)
at org.jenkinsci.plugins.tokenmacro.Parser.processToken(Parser.java:297)
at org.jenkinsci.plugins.tokenmacro.Action$KiHW1UeqOdqAwZul.run(Unknown Source)
at org.parboiled.matchers.ActionMatcher.match(ActionMatcher.java:96)
at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:351)
at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:351)
at org.parboiled.matchers.FirstOfMatcher.match(FirstOfMatcher.java:41)
at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:351)
at org.parboiled.matchers.FirstOfMatcher.match(FirstOfMatcher.java:41)
at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:351)
at org.parboiled.matchers.ZeroOrMoreMatcher.match(ZeroOrMoreMatcher.java:39)
at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:351)
at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
at org

[JIRA] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-02-02 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 Sorry for not noticing this earlier. I have not seen this issue since I reported it here. I also didn't install new plugins into my Jenkins instance since then. I could definitely try out the attached plugin if that is of any help.  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-02-01 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 Code changed in jenkins User: Alex Earl Path: src/main/java/org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacro.java http://jenkins-ci.org/commit/token-macro-plugin/65fabc0bb02fa64fc17fd5e1b12d39f3a9fa1eb5 Log: Fix JENKINS-38871  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-01-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 If you are willing to try the .hpi I attached, please let me know if you see issues with it.  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-01-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38871  
 
 
  Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
Change By: 
 Alex Earl  
 
 
Attachment: 
 token-macro.hpi  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-01-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 I think I might know why this happens and why it is intermittent. I will try and write a test to replicate it now that I understand it better.   
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2017-01-23 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 I haven't been able to reproduce this...any update from your end if you have a more reproducible case?  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2016-11-09 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 Some plugins can be loaded dynamically and don't "need" a restart of Jenkins to load.  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2016-11-09 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
  Jenkins-Plugin-Versions-20161109.txt Added. Jenkins always needs a restart after plugin updates: yes. However I may have had new plugins installed and not yet restarted Jenkins after those installations... It is my understanding that plugin updates have no effect until after a Jenkins restart (they are downloaded, but not activated)? Also I haven't seen this exception in a while and I also did not install new plugins without restarting in a while so this might be related.  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2016-11-09 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38871  
 
 
  Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
Change By: 
 Christoph Obexer  
 
 
Attachment: 
 Jenkins-Plugin-Versions-20161109.txt  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2016-11-07 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-38871  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
 Can you tell me what plugins you have installed? Also, did you restart Jenkins after upgrading your plugins?  
 

  
 
 
 
 

 
 
 

 
 
 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] (JENKINS-38871) Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]

2016-10-10 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38871  
 
 
  Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" the build]   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Alex Earl  
 
 
Components: 
 token-macro-plugin  
 
 
Created: 
 2016/Oct/10 4:37 PM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Christoph Obexer  
 

  
 
 
 
 

 
 In a "Conditional step (single)" where Run is "Regular _expression_ match" and Label is {{"$ {ENV,var="NODE_LABELS"} "}} I sometimes get "Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = "" class="error">[Fail the build]" errors. The exceptions started to appear after the update of the Token Macro Plugin to version 2.0 (from 1.12.1). As a side note: I only need to use a regex match on NODE_LABELS because there is no simpler way to identify windows nodes that I know of...  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment