Uploaded image for project: 'releng'
  1. releng
  2. RELENG-43

Improve ar-notify script to find groupId without <name> field

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • None
    • unspecified
    • Autorelease
    • None
    • Operating System: All
      Platform: All

      In light of discussions in [0], Robert suggested exploring the possibility of improving the script to detect failure from parsing more of the logs. We can infer some additional information from the build by parsing the maven ERROR lines.

      Maven prints the command line args to resume the build:

      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :config-manager

      hence you can use:
      mvn help:evaluate -Dexpression=project.groupId -rf :config-manager

      to get:

      [INFO] — maven-help-plugin:2.2:evaluate (default-cli) @ config-manager —
      [INFO] No artifact parameter specified, using 'org.opendaylight.controller:config-manager:bundle:0.6.0-SNAPSHOT' as project.
      [INFO]

      org.opendaylight.controller

            askb Anil Belur
            zxiiro Thanh Ha (zxiiro)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: