Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-158

cleanup scripts should have an exit code != 0 in case of an error

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.12.8

    Description

      Current Situation

      The cleanup scripts

      • cleanup_auditlog_table.(sh|cmd)
      • cleanup_inventory_tables.(sh|cmd)
      • cleanup_jobscheduler_tables.(sh|cmd)
      • cleanup_reporting_tables.(sh|cmd)

      have always an exit code 0.

      Desired behavior

      Above cleanup scripts should have an exit != 0 if

      • a database transaction has an error
      • the database configuration file ./config/(reporting.)hibernate.cfg.xml doesn't exist

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: