Credentials problem not well explained in Blue Ocean

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In a Jenkinsfile for a declarative pipeline, if you misconfigure a credential, the build will fail, but the displayed explanation in Blue Ocean isn't very helpful. For example, say you referenced a nonexistent credential "nope":

      environment {
         VAR = credentials('nope')

         ...

      When run, the build fails as expected, but in the Blue Ocean interface, when you click on the failed build step, the final log line simply reads, "nope".

      Could this be changed so the log says something more informative like, "Error: unable to find credentials with name 'nope'"?

            Assignee:
            Unassigned
            Reporter:
            Matt Russell
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: