0

I need to use a secret file in a post-build action in a Jenkins job. I'm using plain bash scripts and can't use Jenkinsfiles for some reasons.

But

The credentials plugin cannot use secret file env variables in any post build step. The secret files are deleted by the time post build actions are run.

The issue is described here https://issues.jenkins-ci.org/browse/JENKINS-32283

What are available workarounds?

0 Answers0