jenkinsci / jenkinsci/configuration-as-code-plugin

readFile with default

Open
#2,229 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.8k
Forks
756
Avg merge
9h 47m
Merged PRs (30d)
10

Description

### What feature do you want to see added?

Currenlty it's not possible to use readFile substition with a fallback value.

```yaml
password: "${file:/data/secret/jenkins-password.txt:-fallback}"
````

Now this logs a warning.

### Upstream changes

_No response_

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.