Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-934

Make nuxeo-doc job fail if JSF taglibs build fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Other

      Description

      The following builds status should be failure, because of errors when generating VDL doc (see NXBT-931):

      http://qa.nuxeo.org/jenkins/job/nuxeo-doc/9100/console

      09:33:36 2015-08-05 09:33:37 (1.03 MB/s) - '/home/hudson/tmp/workspace/nuxeo-doc/vdldoc-2.0.jar' saved [54623/54623]
      09:33:36 
      09:33:47 Exception in thread "main" java.lang.IllegalArgumentException: /home/hudson/tmp/workspace/nuxeo-doc/src/nuxeo-7.4/VDL is not a .taglib.xml file.
      09:33:47 	at org.omnifaces.vdldoc.VdldocGenerator.addTaglib(VdldocGenerator.java:167)
      09:33:47 	at org.omnifaces.vdldoc.Main.main(Main.java:98)
      09:33:47 ##### running rsync in background
      09:33:47 ######## nuxeo-7.4 end
      09:33:47 + ssh nuxeo@lethe.nuxeo.com find /opt/doc/api -type d ! -perm -a+x -exec chmod a+x {} \+ ; find /opt/doc/api -type f ! -perm -a+r -exec chmod a+r {} \+
      09:37:58 [description-setter] Description set: 7.4
      09:37:58 No emails were triggered.
      09:37:58 Finished: SUCCESS
      

      http://qa.nuxeo.org/jenkins/job/nuxeo-doc/9101/console
      http://qa.nuxeo.org/jenkins/job/nuxeo-doc/9102/console
      http://qa.nuxeo.org/jenkins/job/nuxeo-doc/9103/console

      09:51:17 ##### running rsync in background
      09:51:23 Parsing nxweb-layout.taglib.xml file... Exception in thread "main" java.lang.NullPointerException
      09:51:23 	at org.omnifaces.vdldoc.VdldocGenerator.parse(VdldocGenerator.java:686)
      09:51:23 	at org.omnifaces.vdldoc.VdldocGenerator.createSummaryDoc(VdldocGenerator.java:385)
      09:51:23 	at org.omnifaces.vdldoc.VdldocGenerator.generate(VdldocGenerator.java:239)
      09:51:23 	at org.omnifaces.vdldoc.Main.main(Main.java:112)
      09:51:23 ##### running rsync in background
      09:51:24 ######## nuxeo-7.4 end
      09:51:24 + ssh nuxeo@lethe.nuxeo.com find /opt/doc/api -type d ! -perm -a+x -exec chmod a+x {} \+ ; find /opt/doc/api -type f ! -perm -a+r -exec chmod a+r {} \+
      09:54:19 [description-setter] Description set: 7.4
      09:54:19 No emails were triggered.
      09:54:19 Finished: SUCCESS
      

      Above errors were linked to the fact that changes for NXP-17609 were not available to the nuxeo-doc job yet (hence not following the right format for doc generation). First error was linked to errors in the bash code (see NXBT-931).

      If in the future, if some taglibs prevent a correct update, the nuxeo-doc jobs should be red to allow detecting the issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: