Commit b4f67c95 authored by Ben Cooksley's avatar Ben Cooksley

Add branch and project information to package metadata for ABI dumps

Differential Revision: https://phabricator.kde.org/D16705
parent 762b79e8
......@@ -251,6 +251,8 @@ class Library:
# Parse the command line arguments we've been given
parser = argparse.ArgumentParser(description='Utility to create abi checker tarballs.')
parser.add_argument('--project', type=str, required=True)
parser.add_argument('--branchGroup', type=str, required=True)
parser.add_argument('--buildLog', type=str, required=True)
parser.add_argument('--environment', type=str, required=True)
parser.add_argument('--usingInstall', type=str, required=True)
......@@ -299,6 +301,8 @@ for library in foundLibraries:
"version": library.version,
"libname": library.name,
"targets": list(library.targets),
"project": arguments.project,
"branchGroup": arguments.branchGroup,
}
packageName = "{name}_{scmRevision}".format(name=library.name, scmRevision=scmRevision)
ourArchive.storePackage(packageName, fileName, scmRevision, extraMetadata)
......@@ -120,7 +120,7 @@ timestamps {
// Gather ABI Reference information for later checking
sh """
curl '$BUILD_URL/consoleText' -o currentBuildLog.txt
python3 -u ci-tooling/helpers/create-abi-dump.py --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
python3 -u ci-tooling/helpers/create-abi-dump.py --project ${projectName} --branchGroup ${branchGroup} --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
"""
// Platform Enablement Checks
......
......@@ -120,7 +120,7 @@ timestamps {
// Gather ABI Reference information for later checking
sh """
curl '$BUILD_URL/consoleText' -o currentBuildLog.txt
python3 -u ci-tooling/helpers/create-abi-dump.py --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
python3 -u ci-tooling/helpers/create-abi-dump.py --project ${projectName} --branchGroup ${branchGroup} --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
"""
// cppcheck is not supported by Pipeline at the moment, so we don't run that for now
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment