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

Option to have Parameterized Trigger plugin report a build as failed when triggered job fails to trigger.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Builds will be reported as successful when the Parameterized Trigger plugin encounters an error. EG:

      16:11:38 ERROR: Failed to build parameters to trigger project: <Project to Build>
      16:11:38 java.lang.IllegalArgumentException: Illegal choice for parameter BRANCH_PATH: Trunk
      16:11:38 	at hudson.model.ChoiceParameterDefinition.checkValue(ChoiceParameterDefinition.java:79)
      16:11:38 	at hudson.model.ChoiceParameterDefinition.createValue(ChoiceParameterDefinition.java:91)
      16:11:38 	at hudson.model.ChoiceParameterDefinition.createValue(ChoiceParameterDefinition.java:19)
      16:11:38 	at hudson.plugins.parameterizedtrigger.ProjectSpecificParameterValuesActionTransform.convertToDefinedType(ProjectSpecificParameterValuesActionTransform.java:82)
      16:11:38 	at hudson.plugins.parameterizedtrigger.ProjectSpecificParameterValuesActionTransform.transformParametersAction(ProjectSpecificParameterValuesActionTransform.java:33)
      16:11:38 	at hudson.plugins.parameterizedtrigger.ProjectSpecificParametersActionFactory.getProjectSpecificBuildActions(ProjectSpecificParametersActionFactory.java:33)
      16:11:38 	at hudson.plugins.parameterizedtrigger.BuildTriggerConfig.getBuildActions(BuildTriggerConfig.java:351)
      16:11:38 	at hudson.plugins.parameterizedtrigger.ParameterizedDependency.shouldTriggerBuild(ParameterizedDependency.java:60)
      16:11:38 	at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:245)
      16:11:38 	at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:684)
      16:11:38 	at hudson.model.Build$BuildExecution.cleanUp(Build.java:200)
      16:11:38 	at hudson.model.Run.execute(Run.java:1785)
      16:11:38 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      16:11:38 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      16:11:38 	at hudson.model.Executor.run(Executor.java:410)
      16:11:38 Finished: SUCCESS

      We would like to have the Parameterized Trigger plugin to report a build as failed when encountering such errors.

      It took us a couple of days to notice this error in our build process since these failing builds would be reported as successful.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              astarkey Andrew Starkey
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: