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

Pipeline error should include line numbers in Jenkinsfile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, pipeline
    • None
    • Jenkins: 2.289.2

      Pipeline execution errors should include at least file name and line number of the problem.

       

      I can't copypaste the error from locked down system but it starts with

      hudson.AbortException: Attempted to execute step that requires a node context while 'agent none' was specified 

      This is similar to JENKINS-35308 except that ticket is explicitly about non-aborting errors

            Unassigned Unassigned
            mwisnicki Marcin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: