Changeset View
Changeset View
Standalone View
Standalone View
helpers/create-abi-dump.py
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Line(s) | |||||
268 | with open(arguments.buildLog, encoding='utf-8') as log: | 268 | with open(arguments.buildLog, encoding='utf-8') as log: | ||
269 | for line in log.readlines(): | 269 | for line in log.readlines(): | ||
270 | match = cmakeConfig.match(line) | 270 | match = cmakeConfig.match(line) | ||
271 | if match: | 271 | if match: | ||
272 | foundLibrary = Library( match.group(2) ) | 272 | foundLibrary = Library( match.group(2) ) | ||
273 | foundLibraries.append(foundLibrary) | 273 | foundLibraries.append(foundLibrary) | ||
274 | 274 | | |||
275 | # Initialize the archive manager | 275 | # Initialize the archive manager | ||
276 | ourArchive = Packages.Archive(arguments.environment, 'ABIReference', usingCache = False) | 276 | ourArchive = Packages.Archive(arguments.environment, 'ABIReference', usingCache = False, suffix = ".abidump") | ||
knauss: sorry here I forgotten to update suffix -> contentsSuffix | |||||
277 | 277 | | |||
278 | # Determine which SCM revision we are storing | 278 | # Determine which SCM revision we are storing | ||
279 | # This will be embedded into the package metadata which might help someone doing some debugging | 279 | # This will be embedded into the package metadata which might help someone doing some debugging | ||
280 | # GIT_COMMIT is set by Jenkins Git plugin, so we can rely on that for most of our builds | 280 | # GIT_COMMIT is set by Jenkins Git plugin, so we can rely on that for most of our builds | ||
281 | scmRevision = '' | 281 | scmRevision = '' | ||
282 | if os.getenv('GIT_COMMIT') != '': | 282 | if os.getenv('GIT_COMMIT') != '': | ||
283 | scmRevision = os.getenv('GIT_COMMIT') | 283 | scmRevision = os.getenv('GIT_COMMIT') | ||
284 | 284 | | |||
Show All 20 Lines |
sorry here I forgotten to update suffix -> contentsSuffix