Skip to content

Commit 320b89c

Browse files
authored
Merge pull request #8531 from The-OpenROAD-Project-staging/bzl-analyze
Add analyze-profile to the bazel build
2 parents 9fe4455 + 9208546 commit 320b89c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,10 @@ def bazelTest = {
221221
stage('bazelisk test ...') {
222222
withCredentials([string(credentialsId: 'bazel-auth-token-b64', variable: 'BAZEL_AUTH_TOKEN_B64')]) {
223223
timeout(time: 120, unit: 'MINUTES') {
224-
def cmd = 'bazelisk test --config=ci --show_timestamps --test_output=errors --curses=no --force_pic --remote_header="Authorization=Basic $BAZEL_AUTH_TOKEN_B64"'
224+
def cmd = 'bazelisk test --config=ci --show_timestamps --test_output=errors --curses=no --force_pic --remote_header="Authorization=Basic $BAZEL_AUTH_TOKEN_B64" --profile=build.profile'
225225
try {
226226
sh label: 'Bazel Build', script: cmd + ' ...';
227+
sh label: 'Bazel Build', script: 'bazelisk analyze-profile build.profile';
227228
} catch (e) {
228229
currentBuild.result = 'FAILURE';
229230
sh label: 'Bazel Build (keep_going)', script: cmd + ' --keep_going ...';

0 commit comments

Comments
 (0)