[JENKINS-21016] Fix store syntax and temporary credentials file