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