Class TeamCityInfoXmlAccessor


  • public class TeamCityInfoXmlAccessor
    extends Object
    Author:
    Eugene Petrenko (eugene.petrenko@gmail.com) Date: 16.04.11 14:32
    • Method Detail

      • processTeamCityInfoXml

        public void processTeamCityInfoXml​(@NotNull
                                           SBuild build,
                                           @NotNull
                                           FileUtil.Processor action)
                                    throws TeamCityInfoException
        Static method which can be used to process teamcity-info.xml file for particular build. Does nothing if corresponding file is not available.
        Parameters:
        buildType - build configuration
        buildId - build identifier
        configDirectory - this is SBuildServer#getConfigDir
        action - processor of the teamcity-info.xml file content
        Throws:
        TeamCityInfoException - when file processing failed, for instance when XML cannot be validated against schema