Changeset View
Changeset View
Standalone View
Standalone View
pipeline-templates/SUSEQt5.9.template
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Line(s) | 115 | stage('Checking Code Quality') { | |||
---|---|---|---|---|---|
117 | // Perform Appstream Compliance Checks | 117 | // Perform Appstream Compliance Checks | ||
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 | // Save the ABI build logs to review if necessary | ||||
126 | archiveArtifacts artifacts: 'logs/*/*/log.txt', onlyIfSuccessful: false, allowEmptyArchive: true | ||||
125 | 127 | | |||
126 | // Now perform the ABI Compatibility checks | 128 | // Now perform the ABI Compatibility checks | ||
127 | // This tool will produce reports stored at compat_reports/ which we will also need to capture | 129 | // This tool will produce reports stored at compat_reports/ which we will also need to capture | ||
128 | sh """ | 130 | sh """ | ||
129 | python3 -u ci-tooling/helpers/check-abi.py --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --environment production || true | 131 | python3 -u ci-tooling/helpers/check-abi.py --project ${projectName} --branchGroup ${branchGroup} --platform ${currentPlatform} --environment production || true | ||
130 | """ | 132 | """ | ||
131 | // Save the ABI Compatibility reports for developers to review if necessary | 133 | // Save the ABI Compatibility reports for developers to review if necessary | ||
132 | archiveArtifacts artifacts: 'compat_reports/*_compat_report.html', onlyIfSuccessful: false, allowEmptyArchive: true | 134 | archiveArtifacts artifacts: 'compat_reports/*_compat_report.html', onlyIfSuccessful: false, allowEmptyArchive: true | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |