New Jenkins build jobs for bleeding-edge and stable plugin
Hi all, I have what looks like a working setup on my Jenkins box for building two versions of the Oxygen TEI plugin. The original build job, "oxygen-tei", to which some of you may have subscribed, is now replaced by "oxygen-tei-bleeding", to which you can subscribe here: http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a... while there is also now "oxygen-tei-stable", to which if you want you can subscribe here: http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art... The idea is that oxygen-tei-bleeding builds with the latest plugin code against the latest trunk builds of P5 and the Stylesheets, enabling us to see if any change to any of these has broken the plugin; oxygen-tei-stable builds with the latest plugin code, but against the current release versions of P5 and the Stylesheets, enabling us to see what a release version of the plugin would look like if either we or Syncro built one right now. The build is now being done with ant, and in addition to these two targets, there's also: ant syncro which builds a version for the Syncro folks using the latest stable P5 and Stylesheets, as they would do when creating a build for a new Oxygen release. Up to now they've been using our original update-and-upload.sh script, and then preventing it from uploading to SourceForge as it tries to do. That script also requires that you _know_ the correct versions of P5 and the Stylesheets, and supply them correctly on the command line; the new ant build script works that information out for itself. Finally, there is: ant stable which is what our release technician would use during a P5 release process, or what we would use to release an official build of our version of the plugin. This builds in the same way as the version above, but also offers to upload the result to SourceForge, and creates a new version of the updateSite.oxygen file which it offers to upload to tei-c.org. This should make releasing a new plugin version much easier, I hope (although it can only truly be tested for real when we come to release a version, so I'd like to be the one who runs it for real the first time in case something goes wrong). I've added the new job configs for Jenkins to SVN, where James can find them for the Oxford Jenkins, when he has the time. This is all brand-new and only gently tested, so let me know if you try anything, and please report any problems with as much detail as you can. Cheers, Martin
Thank you so much for doing this, Martin, and for the presentation in Ann Arbor. However, I think I'm still confused. I'm running OXygen Developer 17, build 2015051321 on an Ubuntu box. (I also use Mac OS X, but let's get this working first.) Under Options > Preferences > Document Type Association > Locations, I find there are two entries: http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a... http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art... Under Options > Preferences > Add-ons, I find there are four entries: http://www.oxygenxml.com/InstData/Addons/default/updateSite.xml http://www.tei-c.org/release/oxygen/updateSite.oxygen http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a... pdateSite.oxygen http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art... ateSite.oxygen Under Options > Preferences > Document Type Association, I find that "TEI P5 External" is un-checked, and "TEI P5 Add-on" is checked. But how do I know which of the available frameworks is being used (tei-c, hcmc bleeding, hcmc stable; or even oxygenxml/InstData, if they had a TEI P5 framework there, which I doubt).
I have what looks like a working setup on my Jenkins box for building two versions of the Oxygen TEI plugin. The original build job, "oxygen-tei", to which some of you may have subscribed, is now replaced by "oxygen-tei-bleeding", to which you can subscribe here:
http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a...
while there is also now "oxygen-tei-stable", to which if you want you can subscribe here:
http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art...
The idea is that oxygen-tei-bleeding builds with the latest plugin code against the latest trunk builds of P5 and the Stylesheets, enabling us to see if any change to any of these has broken the plugin; oxygen-tei-stable builds with the latest plugin code, but against the current release versions of P5 and the Stylesheets, enabling us to see what a release version of the plugin would look like if either we or Syncro built one right now.
The build is now being done with ant, and in addition to these two targets, there's also:
ant syncro
which builds a version for the Syncro folks using the latest stable P5 and Stylesheets, as they would do when creating a build for a new Oxygen release. Up to now they've been using our original update-and-upload.sh script, and then preventing it from uploading to SourceForge as it tries to do. That script also requires that you _know_ the correct versions of P5 and the Stylesheets, and supply them correctly on the command line; the new ant build script works that information out for itself.
Finally, there is:
ant stable
which is what our release technician would use during a P5 release process, or what we would use to release an official build of our version of the plugin. This builds in the same way as the version above, but also offers to upload the result to SourceForge, and creates a new version of the updateSite.oxygen file which it offers to upload to tei-c.org. This should make releasing a new plugin version much easier, I hope (although it can only truly be tested for real when we come to release a version, so I'd like to be the one who runs it for real the first time in case something goes wrong).
I've added the new job configs for Jenkins to SVN, where James can find them for the Oxford Jenkins, when he has the time.
This is all brand-new and only gently tested, so let me know if you try anything, and please report any problems with as much detail as you can.
HI Syd, What do you see if you go to Help / Manage Add-ons? I see only one, the bleeding build. I think the Preferences page just lists all updateSite.oxygen files that are known to Oxygen, not those which are active. Your post nicely copies my original post to the list, though, which I was supposed to re-send, so I'll consider it re-sent. Cheers, Martin On 15-06-01 07:51 AM, Syd Bauman wrote:
Thank you so much for doing this, Martin, and for the presentation in Ann Arbor. However, I think I'm still confused.
I'm running OXygen Developer 17, build 2015051321 on an Ubuntu box. (I also use Mac OS X, but let's get this working first.)
Under Options > Preferences > Document Type Association > Locations, I find there are two entries:
http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a... http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art...
Under Options > Preferences > Add-ons, I find there are four entries:
http://www.oxygenxml.com/InstData/Addons/default/updateSite.xml http://www.tei-c.org/release/oxygen/updateSite.oxygen http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a... pdateSite.oxygen http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art... ateSite.oxygen
Under Options > Preferences > Document Type Association, I find that "TEI P5 External" is un-checked, and "TEI P5 Add-on" is checked. But how do I know which of the available frameworks is being used (tei-c, hcmc bleeding, hcmc stable; or even oxygenxml/InstData, if they had a TEI P5 framework there, which I doubt).
I have what looks like a working setup on my Jenkins box for building two versions of the Oxygen TEI plugin. The original build job, "oxygen-tei", to which some of you may have subscribed, is now replaced by "oxygen-tei-bleeding", to which you can subscribe here:
http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-bleeding/lastSuccessfulBuild/a...
while there is also now "oxygen-tei-stable", to which if you want you can subscribe here:
http://teijenkins.hcmc.uvic.ca/job/oxygen-tei-stable/lastSuccessfulBuild/art...
The idea is that oxygen-tei-bleeding builds with the latest plugin code against the latest trunk builds of P5 and the Stylesheets, enabling us to see if any change to any of these has broken the plugin; oxygen-tei-stable builds with the latest plugin code, but against the current release versions of P5 and the Stylesheets, enabling us to see what a release version of the plugin would look like if either we or Syncro built one right now.
The build is now being done with ant, and in addition to these two targets, there's also:
ant syncro
which builds a version for the Syncro folks using the latest stable P5 and Stylesheets, as they would do when creating a build for a new Oxygen release. Up to now they've been using our original update-and-upload.sh script, and then preventing it from uploading to SourceForge as it tries to do. That script also requires that you _know_ the correct versions of P5 and the Stylesheets, and supply them correctly on the command line; the new ant build script works that information out for itself.
Finally, there is:
ant stable
which is what our release technician would use during a P5 release process, or what we would use to release an official build of our version of the plugin. This builds in the same way as the version above, but also offers to upload the result to SourceForge, and creates a new version of the updateSite.oxygen file which it offers to upload to tei-c.org. This should make releasing a new plugin version much easier, I hope (although it can only truly be tested for real when we come to release a version, so I'd like to be the one who runs it for real the first time in case something goes wrong).
I've added the new job configs for Jenkins to SVN, where James can find them for the Oxford Jenkins, when he has the time.
This is all brand-new and only gently tested, so let me know if you try anything, and please report any problems with as much detail as you can.
Well, I am totally confused. I don't like the sound of bleeding edges, so I have installed (I think) the stable version on both this desktop and my laptop. In both cases, I have a fresh installation of Oxygen 17.0 desktop: "Manage Add-ons" says I have build 2015-05-14-103611 (version 2.8.46) laptop: same thing says I have 2015-05-26-093412 (version 2.8.14) Pressing Update in this dialog in both cases says there are no updates available Neither machine will allow me to subscribe to either the new oxygen-tei-stable or the oxygen-tei-bleeding, claiming variously that it is incompatible, or already installed.
Hi Lou, I think you'd have to uninstall or unsubscribe to any existing versions of the TEI plugin before you could subscribe either to stable or bleeding. I think the only Jenkins build worth subscribing to right now (from the point of view of helping us by testing) would be the bleeding-edge one. The one that's dated May 14 is probably the original test build from the Jenkins server; that no longer exists. But if this is giving you headaches, just unsubscribe to the Jenkins ones completely and subscribe to the release version on tei-c.org. Sorry to have made this so complicated. Cheers, Martin On 15-06-04 11:10 AM, Lou Burnard wrote:
Well, I am totally confused.
I don't like the sound of bleeding edges, so I have installed (I think) the stable version on both this desktop and my laptop. In both cases, I have a fresh installation of Oxygen 17.0
desktop: "Manage Add-ons" says I have build 2015-05-14-103611 (version 2.8.46) laptop: same thing says I have 2015-05-26-093412 (version 2.8.14)
Pressing Update in this dialog in both cases says there are no updates available
Neither machine will allow me to subscribe to either the new oxygen-tei-stable or the oxygen-tei-bleeding, claiming variously that it is incompatible, or already installed.
participants (3)
-
Lou Burnard
-
Martin Holmes
-
Syd Bauman