Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-8316

Profile Target Matcher staging rule should not fail on file patterns not uploaded into a staging repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.2
    • Fix Version/s: 2.14.12
    • Component/s: Staging
    • Labels:
    • Story Points:
      2

      Description

      Setup

      • Create a staging ruleset with a Profile Target Matcher Rule
      • Create a Repository target that includes these typical patterns:
        • ^/+com/example/.*
        • /|/com/|/com/example/.*
      • Create a staging profile that references the repository target and uses the staging ruleset in the Close and promote set of rulesets to apply

      Test

      • Stage matching artifacts against this staging profile to create a closed staging repository. This works, as the ruleset patterns match
      • Try to release the staging repository. This fails because of the Profile target matcher rule. Nexus created a /archetype-catalog.xml file on close, and the repository target pattern does not match this.

      Expected

      • one should not have to add patterns to a repository target for files generated by Nexus in order to apply the Profile Target Matcher rule on a staging repository
      • one should still be allowed to apply this rule on Release/Promotion, in case the repository target has changed since the staging repository was closed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dbradicich Damian Bradicich
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch
              Team:
              NXRM - Tron
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title