Open RobeDevOps opened 7 years ago
Do I need to assign this to someone?
No, it'll get picked up when someone has time to look at it and test it out. We do have a bit of a change freeze as another PR needs to go in to insulate against change to this repository breaking things downstream.
Ok, thank you, I just asked, I am new here so I do not know the process really well.
1. Fixing issue with credentials file
The first error was related was a wrong path for SCM_KEY file.
So, in order to be able to read the credentials from SCM_KEY file I changed the path from:
[ -f ${WORKSPACE}/${SCM_KEY} ]
To
[ -f ${WORKSPACE}@tmp/secretFiles/${SCM_KEY} ]
2. Issue with URL
The second issue was related with the CARTRIDGE_CLONE_URL. It was using the whole URL and that was an error because just need the source URL without the username in the beginning. So the code was changed from:
To:
Where PROTOCOL and BITBUCKET_REPOSITORY are: