Skip to content

Provides the ability to create TeamCity triggers based on astronomical events for a given location, including sunrise and sunset.

License

Notifications You must be signed in to change notification settings

DanielGallo/teamcity-astronomical-trigger

Repository files navigation

TeamCity Astronomical Trigger Plugin

This build trigger plugin for TeamCity enables builds to be added to the queue on a daily basis whenever the selected astronomical event occurs for the specified location (defined using latitude and longitude coordinates).

The astronomical events supported by the plugin include:

  • Sunrise
  • Sunset
  • Solar Noon
  • Beginning and end of Civil Twilight
  • Beginning and end of Nautical Twilight
  • Beginning and end of Astronomical Twilight

Dependencies

The plugin leverages a free REST API offered by Sunrise-Sunset to calculate the times of the astronomical events.

Plugin installation and usage

  1. Install and enable the plugin by going to Administration >> Plugins and uploading the plugin zip file
  2. Go to the Triggers screen within a Build Configuration and add a new Trigger
  3. Select Astronomical Trigger from the list and populate the location and astronomical event settings
  4. You can check the upcoming trigger times by clicking on the "Calculate next trigger time" button
  5. Once saved, builds will be added to the queue automatically each day based on the times returned by the Sunrise-Sunset API.

About

Provides the ability to create TeamCity triggers based on astronomical events for a given location, including sunrise and sunset.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published