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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: