Maintenance

  • Home
  • Log in
  • « Git, Github and svn
  • TEI Jenkins build problem solved »

TEI Jenkins job configuration change

Posted by mholmes on 15 Oct 2019 in Announcements


These are blocks of code used in the TEIP5-Test-dev and oxygen-tei-bleeding jobs respectively to create required symlinks; this requirement is now provided by a plugin.

#Move to the Stylesheets-dev job folder.
cd ../../Stylesheets-dev

#Get the last build number into a variable.
BUILDNUM=`cat builds/permalinks | grep lastSuccessfulBuild | awk -F"lastSuccessfulBuild " '{print $2}'`

#Remove any existing alias.
rm -f lastSuccessful 2> /dev/null

#Create up-to-date symlink.
ln -s "builds/$BUILDNUM" lastSuccessful
#Move to the TEIP5-dev job folder.
cd ../../TEIP5-dev

#Get the last build number into a variable.
BUILDNUM=`cat builds/permalinks | grep lastSuccessfulBuild | awk -F"lastSuccessfulBuild " '{print $2}'`

#Remove any existing alias.
rm -f lastSuccessful 2> /dev/null

#Create up-to-date symlink.
ln -s "builds/$BUILDNUM" lastSuccessful
This entry was posted by Martin and filed under Announcements.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2025 by admin • Help • b2evo