Paul Sokolovsky | 48757e5 | 2024-07-04 15:49:21 +0300 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2024, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | * | ||||
6 | */ | ||||
7 | |||||
8 | def checkout_ci_scripts() { | ||||
9 | checkout([ | ||||
10 | $class: 'GitSCM', | ||||
11 | branches: [[name: '$CI_SCRIPTS_BRANCH']], | ||||
12 | userRemoteConfigs: [[ | ||||
13 | credentialsId: 'GIT_SSH_KEY', | ||||
14 | url: '$CI_SCRIPTS_REPO', | ||||
15 | refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*' | ||||
16 | ]] | ||||
17 | ]) | ||||
18 | } |