Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-25721

HTTP Compression for Artifacts cannot set to Disable for specs plan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 9.6.1, 9.2.13, 9.5.3
    • 9.2.1, 9.2.11
    • Artifacts
    • None

    Description

      HTTP Compression for Artifacts cannot set to Disable when using specs to manage plan.

      For plans created manually, HTTP compression can be set to Disable by unchecking the Compression option in the Artifact definition.

      Steps to Reproduce:

      1. Create a Bamboo Plan with Specs(YAML) and define the artifact in the Specs configuration with httpCompressionOn: false
        .
        .
        artifacts:
        - name: Hello Javaparser
          location: target/classes/com/yourorganization/maven_sample
          pattern: '*.class'
          shared: true
          required: true
          httpCompressionOn: false
        .
        .
        
      2. No errors are detected during Specs scan for the parameter httpCompressionOn.
      3. When build is executed, we can still see the HTTP compression is enabled for the Artifact.
        simple	18-Mar-2024 13:09:58	Publishing an artifact: Hello Javaparser
        simple	18-Mar-2024 13:09:58	Finished publishing of artifact Required shared artifact Http Compression On : [Hello Javaparser], patterns: [*.class] anchored at: [target/classes/com/yourorganization/maven_sample] in 128.1 ms
        

      Expectation:

      The HTTP compression should be Off as in case of manually created plan. Ex:

      simple	11-Mar-2024 15:25:57	Publishing an artifact: Hello Javaparser
      simple	11-Mar-2024 15:25:57	Finished publishing of artifact Required shared artifact Http Compression Off : [Hello Javaparser], patterns: [*.class] anchored at: [target/classes/com/yourorganization/maven_sample] in 11.61 ms
      

       Workaround:

      Create the plan manually in Bamboo and uncheck the Compression option in the Artifact definition of the plan.

      Attachments

        Issue Links

          Activity

            People

              73868399605e Eduardo Alvarenga
              51ca760b6006 Ayrijit Swain
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: