Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Proget: some metadata sent with Jenkins uploadProgetPackage plugin not applied

    Scheduled Pinned Locked Moved Support
    packagejenkinsmetadataprogetupload
    9 Posts 3 Posters 16 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MaxCasconeM Offline
      MaxCascone
      last edited by

      Hi!

      I'm using the Jenkins uploadProgetPackage plugin, and it looks like it's recently been updated to allow pushing some new fields: metadata, description, and title. (or I never noticed it before)

      I've tried adding them to my pipeline step, and I am only seeing the description field populated with what I've sent.

      I only see the title data in the "old" UI, I can't find it in the new UI.

      I don't see any metadata that I've sent up.

      the code:

      uploadProgetPackage artifacts: map.artifact,
            excludes:    map.exclude,
            feedName:    map.feedName,
            groupName:   map.groupName,
            packageName: newPackageName,
            version:     map.version,
            description: 'some text',
            title: 'a title',
            metadata: 'key1=value1'
      

      thanks for any help!

      1 Reply Last reply Reply Quote 0
      • NanciCaloN Offline
        NanciCalo inedo-engineer
        last edited by

        Hi @mcascone ,

        I'm not super-familiar with the Jenkins plugin, but it's possible we're just not displaying those fields in the ProGet UI. It sounds like at least some are in the "old" UI.

        Are these fields showing up in the manifest upack.json metadata file?

        Thanks,
        Nanci

        1 Reply Last reply Reply Quote 0
        • MaxCasconeM Offline
          MaxCascone
          last edited by

          ah yes, i thought of that but didn't get around to checking... they are there:

          {
          "group": "myGroup",
          "name": "PipelineTest",
          "version": "4.3.1-PLATDEV-11339-promotion-flow-test-7",
          "title": "i am the title",
          "description": "i am the description",
          "key1": "value1"
          }
          
          NanciCaloN 1 Reply Last reply Reply Quote 0
          • NanciCaloN Offline
            NanciCalo inedo-engineer @MaxCascone
            last edited by

            @mcascone thanks for checking, looks like this is missing on the display end. And just to confirm, what version of ProGet is this? v5.3 or v6?

            1 Reply Last reply Reply Quote 0
            • MaxCasconeM Offline
              MaxCascone
              last edited by

              We're still on Version 5.3.17 (Build 19).

              atrippA 1 Reply Last reply Reply Quote 0
              • atrippA Offline
                atripp inedo-engineer @MaxCascone
                last edited by

                Hi @mcascone,

                It looks like this isn't being displayed in ProGet's UI, so we'll fix this via PG-2038

                cheers,
                Alana

                1 Reply Last reply Reply Quote 0
                • MaxCasconeM Offline
                  MaxCascone
                  last edited by

                  Hi there!

                  I just updated our instance to 6.0.12, and this change appears to have been made. Thanks!

                  ...however, now a lot of the packages show "place title here" in the package listing, which is causing a lot of confusion:
                  67a2167a-1f58-46ec-8839-3980883db95a-image.png

                  I will have to update the jenkins pipeline that sends the title metadata to send the package name, so this stops happening.

                  Is there any way to fix the existing data? I don't seem to be able to alter any of the metadata in the UI - which is by design, I'm sure, but in this case it's a bit of an issue.

                  thanks
                  max

                  atrippA 1 Reply Last reply Reply Quote 0
                  • atrippA Offline
                    atripp inedo-engineer @MaxCascone
                    last edited by

                    Hi @mcascone,

                    To do this, you'd want to download the latest version of the package, edit it in a zip file, then reupload it. A little tedios but fastest way I think

                    Cheers,
                    Alana

                    1 Reply Last reply Reply Quote 0
                    • MaxCasconeM Offline
                      MaxCascone
                      last edited by

                      Thanks, yeah, that seems to work.

                      I changed my pipeline code to not send any title metadata to ProGet, which returned that field in the UI to its original behavior.

                      I also found that rebuilding an existing package, and sent to ProGet with the updated pipeline, has the same effect.

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post
                      Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation