Skip to content

Commit 9676199

Browse files
committed
add change_branch to doc
Signed-off-by: habibayassin <[email protected]>
1 parent faed9d8 commit 9676199

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

flow/util/uploadMetadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
parser.add_argument('--pipelineID', type=str, help='Jenkins pipeline ID')
2222
parser.add_argument('--commitSHA', type=str, help='Current commit sha')
2323
parser.add_argument('--jenkinsURL', type=str, help='Jenkins Report URL')
24+
parser.add_argument('--changeBranch', type=str, help='Branch corresponding to change request')
2425
parser.add_argument('--cred', type=str, help='Service account credentials file')
2526
parser.add_argument('--variant', type=str, default='base')
2627

@@ -36,6 +37,7 @@ def upload_data(db, datafile, platform, design, variant, args, rules):
3637
'build_id': args.buildID,
3738
'branch_name': args.branchName,
3839
'pipeline_id': args.pipelineID,
40+
'change_branch': args.changeBranch,
3941
'commit_sha': args.commitSHA,
4042
'jenkins_url': args.jenkinsURL,
4143
'rules': rules,

jenkins/public_nightly.Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ pipeline {
196196
--commitSHA ${env.GIT_COMMIT}-dirty \
197197
--jenkinsURL ${env.RUN_DISPLAY_URL} \
198198
--pipelineID ${env.BUILD_TAG} \
199+
--changeBranch ${env.CHANGE_BRANCH} \
199200
""" + '--cred ${db_cred}'
200201
}
201202
}

jenkins/public_tests_all.Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ pipeline {
171171
--commitSHA ${env.GIT_COMMIT} \
172172
--jenkinsURL ${env.RUN_DISPLAY_URL} \
173173
--pipelineID ${env.BUILD_TAG} \
174+
--changeBranch ${env.CHANGE_BRANCH} \
174175
""" + '--cred ${db_cred}'
175176
}
176177
}

0 commit comments

Comments
 (0)