Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63197

Yaml configured build properties are not taken into account

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • custom-war-packager
    • None
    • cwp 2.0-alpha3

      It is currently impossible to specify most of the buildProperties through the yaml.

       

      Reproduction

      *** Create an empty bom.yml and the following packager config:

       

      bundle:
        title: "Demo Runner"
      buildSettings:
        bom: "bom.yml"
      
      
      
      • Run the cwp with this configuration and observe:
      Exception in thread "main" java.io.IOException: Neither Jenkins core nor Jenkins war have been defined by configuration file or BOM/POM

       

      Workaround

      Pass the properties (eg BOM) in the cli arguments

       

       

            pierrebtz Pierre Beitz
            pierrebtz Pierre Beitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: