Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML parser does not honor YAML anchors in definition #151

Open
MarkSRobinson opened this issue Apr 17, 2020 · 1 comment
Open

YAML parser does not honor YAML anchors in definition #151

MarkSRobinson opened this issue Apr 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@MarkSRobinson
Copy link

When using the YAML config file in v1.7 it appears that it does correctly process YAML anchors.

  - groupId: "io.jenkins.blueocean"
    artifactId: "blueocean"
    source:
      version: &blueocean_version
          "1.22.0"
  - groupId: "io.jenkins.blueocean"
    artifactId: "blueocean-web"
    source:
      version: *blueocean_version
  - groupId: "io.jenkins.blueocean"
    artifactId: "blueocean-web"
    source:
      version: *blueocean_version

Should correctly process all three plugins to version 1.22.0, instead you get the error The POM for io.jenkins.blueocean:blueocean-web:jar:blueocean_version is missing, no dependency information available

@oleg-nenashev
Copy link
Member

There is no test coverage for Anchors, and there were bugs in Snake YAML related to it.

@oleg-nenashev oleg-nenashev added the enhancement New feature or request label Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants