DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

How to get raw file from BitBucket (Git) from branch other than master? #284

Closed piyush94 closed 4 years ago

piyush94 commented 4 years ago

How to get raw file from BitBucket (Git) from branch other than master?

CC: @svisagan83

piyush94 commented 4 years ago

Or what is the recommended way to get files from git repos as component item?

piyush94 commented 4 years ago

@sbtaylor15 we were trying to give querystring ?at=refs/heads/ , but the ? and / characters are getting url encoded and get request is failing while deploying.

CC: @svisagan83

sbtaylor15 commented 4 years ago

@piyush94 where are you specifying the query string? At the component item level or as part of the repository definition?

piyush94 commented 4 years ago

@sbtaylor15 at component item level image

log: image

"?" is getting changed to "%3f"

CC: @svisagan83

piyush94 commented 4 years ago

@sbtaylor15 let me know if we can give query string at repository definition. It's a http repository (git raw).

CC: @svisagan83

sbtaylor15 commented 4 years ago

@piyush94 we removed encoding of the ?. Please pull the latest image.

CC: @svisagan83

sbtaylor15 commented 4 years ago

@piyush94 the file was trying to be saved to the file system with the query string as part of the name. We stripped off the query string on the name and its now working as expected. Please pull the latest image.

CC: @svisagan83