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

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

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • None
    • plugin version 1.3.5
      jenkins version 2.6

      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

          [JENKINS-37348] conditional-build-step-plugin fail then try to fire another build

          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.

          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.

          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?

          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?

          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"

          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"

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

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

          Thanks a lot again

          Sergey Arbuzov added a comment - Thanks a lot again

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

              Created:
              Updated:
              Resolved: