KBEC-00146 - Continuous Integration property storage and management

Summary

During Continuous Integration sentry runs, ElectricSentry stores triggers and when they were last modified in the ElectricSentry schedule in the Electric Cloud project.

Sentry plugin

The Sentry plugin examines the schedules in each project for the schedule property "Enabled for ElectricSentry".

ElectricSentry enabled schedules have a propertySheet called ec_customEditorData. This property sheet has values stored by the Source Control Monitor (SCM) specific plugin.

If you are using the file trigger SCM for example, the shortcut path to the Trigger File Name would be:

Each SCM plugin has plugin specific properties in ec_customEditorData. Look over the property values for the ones of use in your use case.

Deprecated SentryMonitor Schedule (Prior to Commander version 3.6)

XML Example - finding the time of the last attempted snapshot

The time of the last attempted snapshot is stored as a property in the "Electric Cloud" project.

The path to the property:

An example property sheet response:

In the XML, look for LastAttemptedSnapshot

  1. <value> - the value that caused the trigger
  2. <modifyTime> - the time of the trigger

Javascript Example pre plugin - finding the time of the last attempted snapshot

Have more questions? Submit a request

Comments

Powered by Zendesk