Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37348

conditional-build-step-plugin fail then try to fire another build

    Details

    • Similar Issues:

      Description

      Building remotely on *********** in workspace /tmp/workspace/*************
      Run condition [Boolean condition] enabling prebuild for step [Trigger/call builds on other projects]
      FATAL: org/parboiled/transform/ClassNodeInitializer
      java.lang.IncompatibleClassChangeError: org/parboiled/transform/ClassNodeInitializer
      at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:44)
      at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
      at org.parboiled.Parboiled.createParser(Parboiled.java:54)
      at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:63)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:194)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:223)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:206)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:198)
      at org.jenkins_ci.plugins.run_condition.core.BooleanCondition.runPerform(BooleanCondition.java:56)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.evaluate(BuildStepRunner.java:107)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:147)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105)
      at org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder.perform(SingleConditionalBuilder.java:109)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1720)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:404)
      Finished: FAILURE

        Attachments

          Activity

          Hide
          imod Dominik Bartholdi added a comment -

          looking at the stacktrace, it seems more a problem with the configured expression, please change the condition once to "Always" to see if the other job gets triggered correctly. If it does, then your boolean expression has a problem. If the problem persists, please add a screenshot showing your configuration.

          Show
          imod Dominik Bartholdi added a comment - looking at the stacktrace, it seems more a problem with the configured expression, please change the condition once to "Always" to see if the other job gets triggered correctly. If it does, then your boolean expression has a problem. If the problem persists, please add a screenshot showing your configuration.
          Hide
          whitediver Sergey Arbuzov added a comment -

          Yes always condition solve problem
          But i use boolean condition

          ${ENV,var="get_translation"}

          And Boolean parameter get_translation
          Could your help what i do wrong?

          Show
          whitediver Sergey Arbuzov added a comment - Yes always condition solve problem But i use boolean condition ${ENV,var="get_translation"} And Boolean parameter get_translation Could your help what i do wrong?
          Hide
          imod Dominik Bartholdi added a comment -

          i tested your config with jenkins 1.651.2 and 2.7.2 and its working fine - please also make sure you have all your plugins upgraded.
          The plugin failing in your case is actually the "Token Macro Plugin"

          Show
          imod Dominik Bartholdi added a comment - i tested your config with jenkins 1.651.2 and 2.7.2 and its working fine - please also make sure you have all your plugins upgraded. The plugin failing in your case is actually the "Token Macro Plugin"
          Hide
          whitediver Sergey Arbuzov added a comment -

          Problem dismiss then I rollback "Token Macro Plugin" from 2.0-beta to 1.12.1
          Thanks a lot

          Show
          whitediver Sergey Arbuzov added a comment - Problem dismiss then I rollback "Token Macro Plugin" from 2.0-beta to 1.12.1 Thanks a lot
          Hide
          whitediver Sergey Arbuzov added a comment -

          Thanks a lot again

          Show
          whitediver Sergey Arbuzov added a comment - Thanks a lot again

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              whitediver Sergey Arbuzov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: