Commits

Peter Eisentraut committed 41b858c

Mark builds with failed tests as unstable

  • Participants
  • Parent commits abfd0f1

Comments (0)

Files changed (8)

File jenkins/jobs/postgresql_8.3_world/config.xml

     </hudson.tasks.Shell>
   </builders>
   <publishers>
+    <hudson.tasks.ArtifactArchiver>
+      <artifacts>**/regression.diffs,**/regression.out</artifacts>
+      <latestOnly>false</latestOnly>
+    </hudson.tasks.ArtifactArchiver>
+    <hudson.plugins.textfinder.TextFinderPublisher plugin="text-finder@1.9">
+      <regexp>5644dbce38ce0f5f16155eba9988fee1</regexp>
+      <succeedIfFound>false</succeedIfFound>
+      <unstableIfFound>true</unstableIfFound>
+      <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput>
+    </hudson.plugins.textfinder.TextFinderPublisher>
     <htmlpublisher.HtmlPublisher plugin="htmlpublisher@1.0">
       <reportTargets>
         <htmlpublisher.HtmlPublisherTarget>

File jenkins/jobs/postgresql_8.4_world/config.xml

     </hudson.tasks.Shell>
   </builders>
   <publishers>
+    <hudson.tasks.ArtifactArchiver>
+      <artifacts>**/regression.diffs,**/regression.out</artifacts>
+      <latestOnly>false</latestOnly>
+    </hudson.tasks.ArtifactArchiver>
+    <hudson.plugins.textfinder.TextFinderPublisher plugin="text-finder@1.9">
+      <regexp>5644dbce38ce0f5f16155eba9988fee1</regexp>
+      <succeedIfFound>false</succeedIfFound>
+      <unstableIfFound>true</unstableIfFound>
+      <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput>
+    </hudson.plugins.textfinder.TextFinderPublisher>
     <htmlpublisher.HtmlPublisher plugin="htmlpublisher@1.0">
       <reportTargets>
         <htmlpublisher.HtmlPublisherTarget>

File jenkins/jobs/postgresql_9.0_world/config.xml

     </hudson.tasks.Shell>
   </builders>
   <publishers>
+    <hudson.tasks.ArtifactArchiver>
+      <artifacts>**/regression.diffs,**/regression.out</artifacts>
+      <latestOnly>false</latestOnly>
+    </hudson.tasks.ArtifactArchiver>
+    <hudson.plugins.textfinder.TextFinderPublisher plugin="text-finder@1.9">
+      <regexp>5644dbce38ce0f5f16155eba9988fee1</regexp>
+      <succeedIfFound>false</succeedIfFound>
+      <unstableIfFound>true</unstableIfFound>
+      <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput>
+    </hudson.plugins.textfinder.TextFinderPublisher>
     <htmlpublisher.HtmlPublisher plugin="htmlpublisher@1.0">
       <reportTargets>
         <htmlpublisher.HtmlPublisherTarget>

File jenkins/jobs/postgresql_9.1_world/config.xml

     </hudson.tasks.Shell>
   </builders>
   <publishers>
+    <hudson.tasks.ArtifactArchiver>
+      <artifacts>**/regression.diffs,**/regression.out</artifacts>
+      <latestOnly>false</latestOnly>
+    </hudson.tasks.ArtifactArchiver>
+    <hudson.plugins.textfinder.TextFinderPublisher plugin="text-finder@1.9">
+      <regexp>5644dbce38ce0f5f16155eba9988fee1</regexp>
+      <succeedIfFound>false</succeedIfFound>
+      <unstableIfFound>true</unstableIfFound>
+      <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput>
+    </hudson.plugins.textfinder.TextFinderPublisher>
     <htmlpublisher.HtmlPublisher plugin="htmlpublisher@1.0">
       <reportTargets>
         <htmlpublisher.HtmlPublisherTarget>

File jenkins/jobs/postgresql_9.2_world/config.xml

     </hudson.tasks.Shell>
   </builders>
   <publishers>
+    <hudson.tasks.ArtifactArchiver>
+      <artifacts>**/regression.diffs,**/regression.out</artifacts>
+      <latestOnly>false</latestOnly>
+    </hudson.tasks.ArtifactArchiver>
+    <hudson.plugins.textfinder.TextFinderPublisher plugin="text-finder@1.9">
+      <regexp>5644dbce38ce0f5f16155eba9988fee1</regexp>
+      <succeedIfFound>false</succeedIfFound>
+      <unstableIfFound>true</unstableIfFound>
+      <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput>
+    </hudson.plugins.textfinder.TextFinderPublisher>
     <htmlpublisher.HtmlPublisher plugin="htmlpublisher@1.0">
       <reportTargets>
         <htmlpublisher.HtmlPublisherTarget>

File jenkins/jobs/postgresql_master_world/config.xml

     </hudson.tasks.Shell>
   </builders>
   <publishers>
+    <hudson.tasks.ArtifactArchiver>
+      <artifacts>**/regression.diffs,**/regression.out</artifacts>
+      <latestOnly>false</latestOnly>
+    </hudson.tasks.ArtifactArchiver>
+    <hudson.plugins.textfinder.TextFinderPublisher plugin="text-finder@1.9">
+      <regexp>5644dbce38ce0f5f16155eba9988fee1</regexp>
+      <succeedIfFound>false</succeedIfFound>
+      <unstableIfFound>true</unstableIfFound>
+      <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput>
+    </hudson.plugins.textfinder.TextFinderPublisher>
     <htmlpublisher.HtmlPublisher plugin="htmlpublisher@1.0">
       <reportTargets>
         <htmlpublisher.HtmlPublisherTarget>

File jobhelpers/postgresql-build.sh

 fi
 
 if grep -qw check-world GNUmakefile; then
-	make -k check-world
+	make -k check-world || echo unstable | md5sum
 else
-	make -k check
+	make -k check || echo unstable | md5sum
 fi

File manifests/pgci.pp

 jenkins::plugin { 'git': }
 jenkins::plugin { 'googleanalytics': }
 jenkins::plugin { 'htmlpublisher': }
+jenkins::plugin { 'text-finder': }
 jenkins::plugin { 'timestamper': }
 jenkins::plugin { 'thinBackup': }
 jenkins::plugin { 'ws-cleanup': }