Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1490

Job Templates should not overwrite Node Properties

    XMLWordPrintable

Details

    Description

      Current Situation

      A job template T1 defines the argument V1=value1
      A job J1 refers to T1
      J1 defines the node property P1=Vp1
      J1 defines the node property V1=VV1
      J1 defines the variable V2=value2
      J1 defines the variable V1=newValueOfV1

      When now changing the script of T1 and executing the "Update Jobs" action.

      • All node properties that have a name that is not the name of an argument in the job template are removed in J1
        • P1 is removed
      • All custom environment variables are removed from the job
        • V2 is removed
      • All environment variables do have the value of the environment variables stored in the job template.
        • V1 have the value1

      Desired Behavior

      When changing the script of T1 and executing the "Update Jobs" action.

      • The list of Node Properties in J1 should not be changed. P1 should not be removed.
      • It should not be possible to change the values for environment variables in the job that are defined by the job template.

      Attachments

        Activity

          People

            oh Oliver Haufe
            ur Uwe Risse
            Ajay Kumbhkar Ajay Kumbhkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: