Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Notes from Tom concerning "bridge script"

1) determine if a new build is needed
2) notify Jenkins to start the build

Then we'll need a script on the Mac that will

3) run each of the RM programs in order to process the build.

If we were just doing a cron job, we'd only need 1 & 3.

What I'm not sure about is exactly how to best go about #1.  There are several ways of doing it:

a) Add a new workflow to the RM that we trigger for Mac builds.  This should be possible but that bit of the code is very untested outside of how we currently use it.  Navid wrote this whole engine and then never used it.  It may or may not work.

b) Turn off automatic triggers for Mac builds and have something (cron job, Jenkins, etc.) look for builds where there should have been a Mac build and start it up.  This has issue in that it's the automatic trigger setting that determine which ones should run.  If we turn that all off, we need to store this logic somewhere else (i.e. another database entry or something)

c) Something in the middle that creates the build entries but then doesn't call the LSF jobs.  I'm not exactly sure how this would be implemented.  Then Jenkins or something else would look for these entries and trigger the build.

The point is this is the tricky part and will greatly depend on how we proceed.  And on exactly how (or if) we interface with Jenkins.  I'd do it one way if we were doing simple cron jobs and probably have to do it a different way if we go through Jenkins.