Skip to content

[ci] Fix auto-update JMX scraper version #41864

@rogercoll

Description

@rogercoll

What happened?

Incorrect value for the pinned sha256, see: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/41863/files

Version is not populated correctly in the curl command: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/.github/workflows/auto-update-jmx-component.yml#L195

$ curl -L https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-jmx-scraper/$version/opentelemetry-jmx-scraper-ANYTHING.jar | sha256sum | cut -d ' ' -f 1 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   554  100   554    0     0   2944      0 --:--:-- --:--:-- --:--:--  2962
e791ccfcfee9c0d299d07474d9bfcbfcbebf1181323be601220c8a823062ab99

Collector version

v0.131.0

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNew item requiring triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions