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

Credentials problem not well explained in Blue Ocean

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      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'"?

            Unassigned Unassigned
            matthew_russell Matt Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: