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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.