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.