Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9074

Disable the "Exclude element CHECKEDOUT" option when checking the "Use snaphost view" checkbox

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Hudson 1.393
      clearcase 7.0.1.2

      When defining the UCM Baseline parameter, if the Exclude element CHECKEDOUT is checked, the job systematically fails when creating the view's config spec.
      The error message is :

      — config spec start —
      element "/mts_tools/HudsonAdm/..." B_HUDSONADM_V01_E24 -nocheckout
      element * /main/0 -ucm -nocheckout
      load /mts_tools/HudsonAdm/Controler
      — config spec end —
      [HUDSON_CTRL_B_HUDSONADM_V01_E24] $ /usr/atria/bin/cleartool setcs -tag HUDSON_CTRL_B_HUDSONADM_V01_E24 ../configspec50873.txt
      cleartool: Error: The first element rule of a snapshot view's config spec must be "element * CHECKEDOUT".
      cleartool: Error: Config spec semantic processing failed.
      cleartool: Error: Unable to change configuration specification: error in configuration specification.
      FATAL: ClearCase UCM baseline failed. exit code=1

      Note that it works correctly if the checkbox is not checked. But it means that we cannot ensure that checkedout versions are not loaded, which is a critical problem when building or testing stable configuration.

            rseguy Romain Seguy
            jlpinardon jlpinardon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: