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

Add support for generic validation hook when uploading package

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: Repository, Webhooks
    • Labels:
      None
    • Environment:
      Nexus OSS 3.1.0-04

      Description

      After a package is uploaded provide generic validation hook which validates the package before adding it to the repository. Upload should fail if validation failed.
      The validation hook might be script based or an external executable which provides exit codes to signal validity of package. The validation should have access at least to the following information:

      • Package file and it's contents
      • Package type
      • Repository name

      Example:
      A NuGet package can be validated (e.g. license URL provided, package id fits certain conventions, ...) during the upload sequence but before added to the feed.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Sam13 Samuel Braun
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title