Project

Profile

Help

How to connect?
Download (1.17 KB) Statistics View on GitHub Reload from mirrored respository
| Branch: | Tag: | Revision:

root / jobs / sync-boxes-repo.yaml @ master

1
- job:
2
    name: sync-boxes-repo 
3
    description: 'This job performs synchronization for boxes repo.'
4
    parameters:
5
        - string:
6
            name: REPO_PATH
7
            default: /home/boxes_repo
8
            description:  'Directory for boxes path.'
9
        - string:
10
            name: BOXES_JSON_PATH
11
            default: /home/vagrant/mdbci/BOXES/
12
            description:  'Directory for box descriptions.'
13
    scm:
14
        - git:
15
            url: git@github.com:OSLL/mdbci.git 
16
            branches:
17
                - 6785_boxes_repo
18
    builders:
19
        - shell: 
20
            'rm -rf $REPO_PATH/*'
21
        - shell: 
22
            './scripts/download_boxes.rb --force --dir $REPO_PATH --boxes-dir $BOXES_JSON_PATH'
23
    publishers:
24
        - email-ext:
25
            recipients: $DEFAULT_RECIPIENTS
26
            reply-to: $DEFAULT_REPLYTO
27
            content-type: default
28
            subject: $DEFAULT_SUBJECT
29
            body: $DEFAULT_CONTENT
30
            attach-build-log: false
31
            always: true
32
            aborted: true
33
            failure: true
34
            still-failing: true
35
            success: true
36
            fixed: true
37
            send-to:
38
               - recipients
(4-4/4)