Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

CICI Github dataminer-catalog-upload does not return artifact ID

Solved406 views23rd October 2024catalog CICD GitHub Actions
2
Felix Wesemeier [DevOps Catalyst]1.84K 23rd October 2024 0 Comments

Hi community,

I use Skylines dotnet cicd tools for maintaining my catalog.

I would like to use the deploy action, but the latest beta of dataminer catalog upload does not return an artifaction ID after a successful upload command (can find the uploaded version in the catalog).

How to solve?

My command:

echo id=$(dataminer-catalog-upload with-registration –path-to-artifact “/path/to/some.dmapp –dm-catalog-token *** –catalog-identifier “some-uuid” –artifact-version “some version”) >> $GITHUB_OUTPUT

Returns:

{

id:

}

Felix Wesemeier [DevOps Catalyst] Selected answer as best 23rd October 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Oda [SLC] [DevOps Enabler]3.61K Posted 23rd October 2024 16 Comments

Hi Felix

Beta version (or pre-releases) are not advised to be used. Those are versions that we use for testing and seeing if everything is working. We are currently working on the Catalog Upload tool, so I would suggest to stick to the latest released version which is currently version 2.0.2

Felix Wesemeier [DevOps Catalyst] Selected answer as best 23rd October 2024
Felix Wesemeier [DevOps Catalyst] commented 23rd October 2024

Hi Michiel,
but V2.0.2 does not accept –catalog-identifier
How to work with a specific catalog-identifier in V2.0.2?
Or is there any other way to get the artifact ID? when I try to deploy with catalogID or azureStorageID it fails with “Error with reason ArtifactNotFound occurred”.

Michiel Oda [SLC] [DevOps Enabler] commented 23rd October 2024

That is currently not supported yet but it is what we are working on. In the upcoming weeks we’ll release a new version of the Catalog Upload tool (do note that it will be a major change as the API behind it is different).
Instead of the catalog-identifier option, with v2.0.2 the uri-source code is currently being used as there is an internal mapping table to link it to the correct catalog item.

Felix Wesemeier [DevOps Catalyst] commented 23rd October 2024

Not sure how the internal mapping works, but I’ve cannot see a version update when using uri-sourcecode and the id is empty too: echo id=$(dataminer-catalog-upload with-registration –path-to-artifact “${{ github.workspace }}/${{ steps.packageName.outputs.name }}.dmapp” –dm-catalog-token ${{ secrets.API_TOKEN }} –uri-sourcecode “${{ github.server_url }}/${{ github.repository }}” –artifact-version “${{ env.VERSION }}”) >> $GITHUB_OUTPUT
returns empty id

Michiel Oda [SLC] [DevOps Enabler] commented 23rd October 2024

Does the console show any error/logging that could give an indication something went wrong? Also, not sure how much impact it will have, but in our flows we have double quotes around the id=… part: https://github.com/SkylineCommunications/_ReusableWorkflows/blob/main/.github/workflows/AutomationMasterSDKWorkflow.yml

Felix Wesemeier [DevOps Catalyst] commented 23rd October 2024

Same with double quotes:
{
{
outputs: {
id:
},
outcome: success,
conclusion: success
}
No error in the upload part, only the deploy action fails because of empty artifact-id.
Run dataminer-package-deploy from-catalog –artifact-id “” –dm-catalog-token ***
[06:52:17 FTL] System.InvalidOperationException: The deploy API returned a response with status code BadRequest, content: {“type”:”https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400″,”title”:”Error with reason InvalidArtifactId occurred”,”status”:400,”traceId”:”00-d26ec5d53f2f83408497423e48122279-625b8c98eeef30c1-00″,”errorCode”:10050,”artifactId”:””}

Show 11 more comments
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs