edu-packages.yaml 2.53 KB
Newer Older
1 2 3 4 5 6
- defaults:
    name: edu-packages
    project-type: freestyle
    properties:
      - sidebar:
          url: https://jenkins.debian.net/userContent/about.html
7
          text: About jenkins.debian.net
8 9 10 11 12 13
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar:
          url: https://jenkins.debian.net/view/edu_devel
          text: Debian Edu development
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
14
          url: http://www.profitbricks.co.uk
15 16
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
17
    description: 'Build the master branch of https://salsa.debian.org/debian-edu/{my_package} in sid on every commit.<br><br>Job configuration source is <a href=""https://salsa.debian.org/qa/jenkins.debian.net/blob/master/job-cfg/edu-packages.yaml>edu-packages.yaml</a>.'
18
    logrotate:
19 20
      daysToKeep: 90
      numToKeep: 30
21 22
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
23 24
    scm:
      - git:
25
          url: '{my_url}'
26 27 28
          branches:
            - master
    builders:
29
      - shell: '{my_shell}'
30
    triggers:
31
      - pollscm:
32
          cron: 'H/1 H/1 * * *'
33 34
    publishers:
      - email:
35
          recipients: 'jenkins+debian-edu debian-edu-commits@lists.alioth.debian.org'
36 37 38
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
39 40
          max-failed-builds: 3
          regular-expression: '(Caused by: hudson.plugins.git.GitException: Command "git fetch|^ERROR: Error cloning remote repo)'
41 42


43
- job-template:
44
    defaults: edu-packages
45 46
    name: '{name}_{my_distro}_{my_package}'

47 48 49

- project:
    name: edu-packages
50
    my_distro: 'sid'
51
    my_shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} debuild -b -uc -us'
52
    my_url: 'https://salsa.debian.org/debian-edu/{my_package}'
53 54 55 56 57 58
    my_package:
        - 'debian-edu'
        - 'debian-edu-artwork'
        - 'debian-edu-config'
        - 'debian-edu-doc'
        - 'debian-edu-install'
59 60
        - 'desktop-profiles':
           my_url: 'https://salsa.debian.org/debian-edu/upstream/{my_package}'
61 62
        - 'libpam-mklocaluser':
           my_url: 'https://salsa.debian.org/debian-edu/upstream/{my_package}'
63
        - 'sitesummary':
64
           my_url: 'https://salsa.debian.org/debian-edu/upstream/{my_package}'
65
        - 'guacamole-client':
66
           my_url: 'https://salsa.debian.org/debian-remote-team/{my_package}'
67
        - 'guacamole-server':
68
           my_url: 'https://salsa.debian.org/debian-remote-team/{my_package}'
69
    jobs: ['{name}_{my_distro}_{my_package}']