Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8266465

Add wildcard to JTwork/JTreport exclude in jib-profiles.js

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • infrastructure
    • None
    • b21

    Description

      If you stash away jtreg test results in a specific JTwork directory this can causes problem creating a jib source bundle. Simple fix is to add a wildcard to the JTwork and JTreport exclude entries:

      diff --git a/make/conf/jib-profiles.js b/make/conf/jib-profiles.js
      index df2241b259d..b254cbe0cd8 100644
      --- a/make/conf/jib-profiles.js
      +++ b/make/conf/jib-profiles.js
      @@ -205,7 +205,7 @@ var getJibProfiles = function (input) {
       
           // Exclude list to use when Jib creates a source bundle
           data.src_bundle_excludes = [
      - "build", "{,**/}webrev*", "{,**/}.hg", "{,**/}JTwork", "{,**/}JTreport",
      + "build", "{,**/}webrev*", "{,**/}.hg", "{,**/}JTwork*", "{,**/}JTreport*",
               "{,**/}.git"
           ];
           // Include list to use when creating a minimal jib source bundle which

      Attachments

        Issue Links

          Activity

            People

              dholmes David Holmes
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: