Skip to content

Improve installation/testing of SNAPSHOT releases #1763

@hohwille

Description

@hohwille

Task summary

We have a nightly build workflow that builds a SNAPSHOT release in the night containing the latest changes from main branch. The general upgrade to such SNAPSHOT for testing and confirming a bug is fixed before the official release is done is automated via some command and documented here.

However, downloading a SNAPSHOT release manually e.g. for another OS to see if some expected file is included there or not is a little tricky.

We could either automate that as well or document it.
Since it seems to be rather an edge-case, I would simply extend the documentation section about testing SNAPSHOTs.

The general idea is to look in this file to find the latest SNAPSHOT version:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/maven-metadata.xml

Today it would be this:

<latest>2026.04.001-SNAPSHOT</latest>

Then we put that version into our URL like this:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/2026.04.001-SNAPSHOT/maven-metadata.xml

Now we can find the release artifact we are interested in e.g. mac-x64 and we compose the final URL via this pattern:

https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/${version.snapshot}/ide-cli-${version.value}-${version.classifier}.${version.extension}

Which in this example leads us to:
https://central.sonatype.com/repository/maven-snapshots/com/devonfw/tools/IDEasy/ide-cli/2026.04.001-SNAPSHOT/ide-cli-2026.04.001-20260321.030716-2-mac-x64.tar.gz

Now, we can download the artifact, extract and test it.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestinstallinstallation process of IDE + tools and install commandletready-to-implementtestrelated to testing and QA

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions