jenkinsci / jenkinsci/credentials-binding-plugin

[JENKINS-60237] How can I check none value for credentials parameter in pipeline?

Open
#474 0 comments 0 reactions 0 assignees View on GitHub
component:credentials-binding-plugin imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
57
Forks
108
PR merge metrics
No merged PRs in 30d

Description

I saw many threads on empty fields, but how does it work with credentials parameter where the field is none?

currently, when it's NONE, it fails with this error:

org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: ${GPG_PASSPHRASE}

---
Originally reported by arielma2304, imported from: How can I check none value for credentials parameter in pipeline?


  • status: Open
  • priority: Critical
  • component(s): credentials-binding-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

Raw content of original issue

I saw many threads on empty fields, but how does it work with credentials parameter where the field is none?

currently, when it's NONE, it fails with this error:

org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: ${GPG_PASSPHRASE}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.