blob: 448da94387cb0b40e6cca61063f6e5dfd127b15d [file] [log] [blame]
Arthur She26fa2a62023-07-31 10:49:28 -07001- job:
2 name: tf-sync-repos
3 node: master
4 project-type: freestyle
5 concurrent: false
6 description: Mirror TF-M, TF-A, TS projects into GitHub
7 disabled: false
8 builders:
9 - shell: |-
Arthur She089da0b2023-07-31 11:06:28 -070010 #!/bin/bash -xe
Arthur She26fa2a62023-07-31 10:49:28 -070011
12 echo ""
13 echo "########################################################################"
14 echo " Gerrit Environment"
15 env |grep '^GERRIT'
16 echo "########################################################################"
17
18 cd proj_src
19 ls -a
20 git remote show
21 git remote get-url origin
22 git branch
23 properties:
24 - build-discarder:
25 num-to-keep: 10
26 scm:
27 - git:
28 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
Arthur She26fa2a62023-07-31 10:49:28 -070029 branches:
Arthur She089da0b2023-07-31 11:06:28 -070030 - origin/master
31 skip-tag: false
Arthur She26fa2a62023-07-31 10:49:28 -070032 clean:
33 before: true
34 choosing-strategy: gerrit
35 basedir: proj_src
36# publishers:
37# - email:
38# recipients: 'arthur.she@linaro.org'
39 triggers:
40 - gerrit:
41 server-name: review.trustedfirmware.org
42 projects:
43 - project-compare-type: PLAIN
44 project-pattern: sandbox/arthur
45 branches:
46 - branch-compare-type: PLAIN
47 branch-pattern: master
48 silent: true
49 trigger-on:
50 - patchset-created-event
51 wrappers:
52 - credentials-binding:
53 - text:
54 credential-id: openci-bot-github-token
55 variable: AUTH_TOKEN