Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am getting an error when hitting a sibling repository on a secure bitbucket account.

Gary Torrence
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2019

I am able to access a yaml file successfully when in same project but when I move the files into a sibling project and try to access them I get a formatting error.

 

Secure site so not the full correct url:

error is: "stderr": "error: failed to read input object (not a Template?): error parsing https://bitbucket.site.net/projects/MSBES/repos/templates/raw/docker-build-template-with-secret.yml: error converting YAML to JSON: yaml: line 66: mapping values are not allowed in this context\nerror: no objects passed to apply",
"stderr_lines": [
"error: failed to read input object (not a Template?): error parsing https://bitbucket.sitr.net/projects/MSBES/repos/templates/raw/docker-build-template-with-secret.yml: error converting YAML to JSON: yaml: line 66: mapping values are not allowed in this context",
"error: no objects passed to apply"

 

- name: "{{ app_name }}-pr-pipeline" template: "https://bitbucket.site.net/projects/MSBES/repos/templates/raw/jenkins-pipeline-template-with-ocp-triggers-and-with-secret.yml" params_from_vars: "{{ build.pr_pipeline }}" namespace: "{{ ci_cd.NAMESPACE }}" tags:

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2019

Hello,

This looks like it's not a permission issue, but a parsing issue. Can you try running the same code, with the same configuration, locally?

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events