As we are using JFrog for private maven repository syncing server. We set the jfrog credentials in
Secrets for workflow.
Every time when we create/update a PR from feature branch to develop branch, it will trigger 2 builds
So the first build can actually read the credentials defined in
Secrets and the build will succeed
But the second build cannot read the credentials or the credentials are just got as empty string. And the build will fail.
I actually echo the jfrog credentials in bash script. I can see the first build can echo the correct credentials while the second one echos empty string
Can someone help or has anyone met this issue before?