Changeset View
Changeset View
Standalone View
Standalone View
pipeline-templates/SUSEQt5.7.template
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Line(s) | 115 | stage('Checking Code Quality') { | |||
---|---|---|---|---|---|
118 | sh "python3 -u ci-tooling/helpers/check-appstream-compliance.py --product ${productName} --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --usingInstall '$HOME/install-prefix/' --withDiverted '$WORKSPACE/install-divert/'" | 118 | sh "python3 -u ci-tooling/helpers/check-appstream-compliance.py --product ${productName} --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --usingInstall '$HOME/install-prefix/' --withDiverted '$WORKSPACE/install-divert/'" | ||
119 | 119 | | |||
120 | // Gather ABI Reference information for later checking | 120 | // Gather ABI Reference information for later checking | ||
121 | sh """ | 121 | sh """ | ||
122 | curl '$BUILD_URL/consoleText' -o currentBuildLog.txt | 122 | curl '$BUILD_URL/consoleText' -o currentBuildLog.txt | ||
123 | python3 -u ci-tooling/helpers/create-abi-dump.py --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true | 123 | python3 -u ci-tooling/helpers/create-abi-dump.py --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true | ||
124 | """ | 124 | """ | ||
125 | 125 | | |||
126 | // Now perform the ABI Compatibility checks | ||||
127 | // This tool will produce reports stored at compat_reports/ which we will also need to capture | ||||
128 | sh """ | ||||
129 | python3 -u ci-tooling/helpers/check-abi.py --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --environment production || true | ||||
130 | """ | ||||
131 | // Save the ABI Compatibility reports for developers to review if necessary | ||||
132 | archiveArtifacts artifacts: 'compat_reports/*_compat_reports.html', onlyIfSuccessful: false | ||||
133 | | ||||
126 | // Platform Enablement Checks | 134 | // Platform Enablement Checks | ||
127 | // Frameworks have a metadata file which specifies the platforms it supports and should be built on | 135 | // Frameworks have a metadata file which specifies the platforms it supports and should be built on | ||
128 | // This check compares that metadata file against the records held by the CI system | 136 | // This check compares that metadata file against the records held by the CI system | ||
129 | sh """ | 137 | sh """ | ||
130 | touch PlatformCheckOutput.txt | 138 | touch PlatformCheckOutput.txt | ||
131 | if [[ -e metainfo.yaml ]]; then python3 ci-tooling/helpers/check-platform.py '$WORKSPACE/metainfo.yaml' &> PlatformCheckOutput.txt; fi | 139 | if [[ -e metainfo.yaml ]]; then python3 ci-tooling/helpers/check-platform.py '$WORKSPACE/metainfo.yaml' &> PlatformCheckOutput.txt; fi | ||
132 | """ | 140 | """ | ||
133 | 141 | | |||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |