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

Conditional BuildStep Fails Build with NullPointerException

      I set up a conditional build step to run a 'Clean' target once a week on our nightly build. The night following the successful clean failed with a NullPointerException:

      Exception caught evaluating condition: [java.lang.NullPointerException: null], action = [Fail the build]
      Build step 'Conditional step (single)' changed build result to FAILURE
      Build step 'Conditional step (single)' marked build as failure
      [locks-and-latches] Releasing all the locks
      [locks-and-latches] All the locks released
      Archiving artifacts

      I have not been able to initiate a successful build since this first occurred. The same error prevents all subsequent tasks from initiating.

          [JENKINS-14693] Conditional BuildStep Fails Build with NullPointerException

          Loren Keagle created issue -
          Dominik Bartholdi made changes -
          Component/s New: run-condition [ 16129 ]
          Assignee Original: Dominik Bartholdi [ domi ] New: cjo9900 [ cjo9900 ]
          Dominik Bartholdi made changes -
          Assignee Original: cjo9900 [ cjo9900 ] New: bap [ bap ]
          Dominik Bartholdi made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          bap made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145389 ] New: JNJira + In-Review [ 206036 ]
          Sasha Miroshnychenko made changes -
          Link New: This issue relates to JENKINS-21636 [ JENKINS-21636 ]

            bap bap
            lkeagle Loren Keagle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: