Ejemplo n.º 1
0
        public void UpdateJobRunProperties(IExecutionContext executionContext, TrackingConfig config, string file)
        {
            Trace.Entering();

            // Update the info properties and save the file.
            config.UpdateJobRunProperties(executionContext);
            WriteToFile(file, config);
        }
        private void UpdateJobRunProperties(
            IExecutionContext executionContext,
            TrackingConfig config)
        {
            Trace.Entering();

            // Update the info properties and save the file.
            config.UpdateJobRunProperties(executionContext);
            WriteToFile(GetTrackingFileLocation(executionContext), config);
        }
Ejemplo n.º 3
0
        private void UpdateJobRunProperties(
            IExecutionContext executionContext,
            TrackingConfig config)
        {
            Trace.Entering();

            // Update the info properties and save the file.
            config.UpdateJobRunProperties(executionContext);

            // Make sure we clean up any files in the old location (no workspace id in the path)
            string oldLocation = GetTrackingFileLocation(executionContext, false);
            if (File.Exists(oldLocation))
            {
                File.Delete(oldLocation);
            }

            WriteToFile(GetTrackingFileLocation(executionContext, true), config);
        }
Ejemplo n.º 4
0
        public void UpdateJobRunProperties(IExecutionContext executionContext, TrackingConfig config, string file)
        {
            Trace.Entering();

            // Update the info properties and save the file.
            config.UpdateJobRunProperties(executionContext);
            WriteToFile(file, config);
        }