Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11586

Release scripts: Silent warning when pom.xmls can't be found during release build

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 7.13.0, 7.13.0-alpha3
    • None
    • None
    • None

    Description

      We don't get notified in case of projects that are not found for version promotion during the release builds examples - CAM-11170, CAM-11322, CAM-11517.
      The warnings are only added silently during the execution and we don't get notified for them.

      Output example:

      create.release.tag.version:
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs8/distro
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs8/ear
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs8/jobexecutor-rar
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs8
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs8/service
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs9/distro
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/ibmWs9
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/jbossas7/distro
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/jbossas7
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/run/distro
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/run/modules
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/run/modules/webapps
           [copy] Copying 1 file to /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/run
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/distro/run/qa/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/qa/docker/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform-ee/webapps/camunda-webapp/plugins/node_modules/camunda-bpm-webapp/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/distro/run/qa/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-plugins/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-plugins/spin/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-plugins/spin/spin-dataformat-all/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-plugins/spin/spin-dataformat-json-jackson/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-simple/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-webapp/invoice-example/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-webapp/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-webapp/runtimes/community/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-webapp/runtimes/enterprise/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/integration-test-webapp/runtimes/pom.xml.tag to copy.
           [copy] Warning: Could not find file /home/work/workspace/7.13/7.13-RELEASE-create-camunda-bpm-version-tags/camunda-bpm-platform/spring-boot-starter/starter-qa/pom.xml.tag to copy.
      ...
      

      Hints:
      Code: https://github.com/camunda/camunda-bpm-release-scripts/blob/cc1def6ee5b9283ec885a9b190910a3c016e1174/macros.xml#L723-L724
      Jobs:
      VERSION-RELEASE-create-camunda-bpm-version-tags

      Possible solutions:

      • fail the job in case of missing pom (in case of small impact, no commits are done and etc., we get notified for the Test jobs)
      • add to the release procedure to check for such warnings

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                nikola.koevski Nikola Koevski
                yana.vasileva Yana Vasileva
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce