| 1 | - defaults: |
| 2 | name: ctf-java-mvn |
| 3 | description: | |
| 4 | Nightly build of CTF Java. |
| 5 | |
| 6 | <p>Job is managed by Jenkins Job Builder.</p> |
| 7 | |
| 8 | project-type: maven |
| 9 | |
| 10 | maven: |
| 11 | goals: 'clean install' |
| 12 | private-repository: 'local-to-workspace' |
| 13 | automatic-fingerprinting: false |
| 14 | per-module-email: false |
| 15 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 16 | settings-type: cfp |
| 17 | |
| 18 | wrappers: |
| 19 | - workspace-cleanup |
| 20 | - timestamps |
| 21 | - ansicolor |
| 22 | |
| 23 | scm: |
| 24 | - git: |
| 25 | url: git://github.com/{github_user}/{github_name}.git |
| 26 | browser: githubweb |
| 27 | browser-url: https://github.com/{github_user}/{github_name} |
| 28 | branches: |
| 29 | - origin/{version} |
| 30 | skip-tag: true |
| 31 | |
| 32 | triggers: |
| 33 | - pollscm: |
| 34 | cron: "@hourly" |
| 35 | |
| 36 | properties: |
| 37 | - build-discarder: |
| 38 | num-to-keep: 2 |
| 39 | - github: |
| 40 | url: https://github.com/{github_user}/{github_name} |
| 41 | |
| 42 | - defaults: |
| 43 | name: ctf-java |
| 44 | description: | |
| 45 | Nightly build of CTF Java. |
| 46 | |
| 47 | <p>Job is managed by Jenkins Job Builder.</p> |
| 48 | |
| 49 | project-type: freestyle |
| 50 | |
| 51 | wrappers: |
| 52 | - workspace-cleanup |
| 53 | - timestamps |
| 54 | - ansicolor |
| 55 | |
| 56 | scm: |
| 57 | - git: |
| 58 | url: git://github.com/{github_user}/{github_name}.git |
| 59 | browser: githubweb |
| 60 | browser-url: https://github.com/{github_user}/{github_name} |
| 61 | branches: |
| 62 | - origin/{version} |
| 63 | skip-tag: true |
| 64 | |
| 65 | triggers: |
| 66 | - pollscm: |
| 67 | cron: "@hourly" |
| 68 | |
| 69 | properties: |
| 70 | - build-discarder: |
| 71 | num-to-keep: 2 |
| 72 | - github: |
| 73 | url: https://github.com/{github_user}/{github_name} |
| 74 | |
| 75 | |
| 76 | ## Templates |
| 77 | - job-template: |
| 78 | name: ctf-java_{version}_build |
| 79 | defaults: ctf-java-mvn |
| 80 | |
| 81 | publishers: |
| 82 | - warnings: |
| 83 | console-log-parsers: |
| 84 | - 'Maven' |
| 85 | total-thresholds: |
| 86 | unstable: |
| 87 | total-all: 0 |
| 88 | total-high: 0 |
| 89 | total-normal: 0 |
| 90 | total-low: 0 |
| 91 | - workspace-cleanup |
| 92 | - email-ext: |
| 93 | recipients: alex@voxpopuli.im |
| 94 | matrix-trigger: only-parent |
| 95 | |
| 96 | - job-template: |
| 97 | name: ctf-java_{version}_coverity |
| 98 | defaults: ctf-java |
| 99 | node: 'x86-64' |
| 100 | |
| 101 | triggers: |
| 102 | - pollscm: |
| 103 | cron: "@daily" |
| 104 | |
| 105 | wrappers: |
| 106 | - workspace-cleanup |
| 107 | - timestamps |
| 108 | - ansicolor: |
| 109 | colormap: xterm |
| 110 | - credentials-binding: |
| 111 | - username-password-separated: |
| 112 | credential-id: ctf-java_coverity_token |
| 113 | username: COVERITY_SCAN_PROJECT_NAME |
| 114 | password: COVERITY_SCAN_TOKEN |
| 115 | |
| 116 | scm: |
| 117 | - git: |
| 118 | url: git://github.com/{github_user}/{github_name}.git |
| 119 | browser: githubweb |
| 120 | browser-url: https://github.com/{github_user}/{github_name} |
| 121 | branches: |
| 122 | - origin/{version} |
| 123 | skip-tag: true |
| 124 | basedir: src/ctf-java |
| 125 | |
| 126 | builders: |
| 127 | - maven-target: |
| 128 | maven-version: "default" |
| 129 | goals: "-version" |
| 130 | private-repository: true |
| 131 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 132 | - shell: |
| 133 | !include-raw-escape: scripts/common/coverity.sh |
| 134 | |
| 135 | publishers: |
| 136 | - workspace-cleanup |
| 137 | - archive: |
| 138 | artifacts: 'analysis-results.tgz,cov-int/**' |
| 139 | allow-empty: false |
| 140 | |
| 141 | |
| 142 | ## Project |
| 143 | - project: |
| 144 | name: ctf-java |
| 145 | github_user: efficios |
| 146 | github_name: ctf-java |
| 147 | version: |
| 148 | - master |
| 149 | jobs: |
| 150 | - 'ctf-java_{version}_build' |
| 151 | - 'ctf-java_{version}_coverity': |
| 152 | version: master |