| 1 | - defaults: |
| 2 | name: libdelorean-java-mvn |
| 3 | description: | |
| 4 | Nightly build of libdelorean 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 | - timed: "@daily" |
| 36 | |
| 37 | properties: |
| 38 | - build-discarder: |
| 39 | num-to-keep: 2 |
| 40 | - github: |
| 41 | url: https://github.com/{github_user}/{github_name} |
| 42 | |
| 43 | - defaults: |
| 44 | name: libdelorean-java |
| 45 | description: | |
| 46 | Nightly build of libdelorean Java. |
| 47 | |
| 48 | <p>Job is managed by Jenkins Job Builder.</p> |
| 49 | |
| 50 | project-type: freestyle |
| 51 | |
| 52 | wrappers: |
| 53 | - workspace-cleanup |
| 54 | - timestamps |
| 55 | - ansicolor |
| 56 | |
| 57 | scm: |
| 58 | - git: |
| 59 | url: git://github.com/{github_user}/{github_name}.git |
| 60 | browser: githubweb |
| 61 | browser-url: https://github.com/{github_user}/{github_name} |
| 62 | branches: |
| 63 | - origin/{version} |
| 64 | skip-tag: true |
| 65 | |
| 66 | triggers: |
| 67 | - pollscm: |
| 68 | cron: "@hourly" |
| 69 | - timed: "@daily" |
| 70 | |
| 71 | properties: |
| 72 | - build-discarder: |
| 73 | num-to-keep: 2 |
| 74 | - github: |
| 75 | url: https://github.com/{github_user}/{github_name} |
| 76 | |
| 77 | |
| 78 | ## Templates |
| 79 | - job-template: |
| 80 | name: libdelorean-java_{version}_build |
| 81 | defaults: libdelorean-java-mvn |
| 82 | |
| 83 | publishers: |
| 84 | - warnings: |
| 85 | console-log-parsers: |
| 86 | - 'Maven' |
| 87 | total-thresholds: |
| 88 | unstable: |
| 89 | total-all: 0 |
| 90 | total-high: 0 |
| 91 | total-normal: 0 |
| 92 | total-low: 0 |
| 93 | messages-to-ignore: |- |
| 94 | No sources found skipping Kotlin compile |
| 95 | Ignoring project type pom - supportedProjectTypes = \[jar, bundle\] |
| 96 | ^Tests run:.* |
| 97 | - workspace-cleanup |
| 98 | - email-ext: |
| 99 | recipients: '{obj:email_for_all_failure}' |
| 100 | always: false |
| 101 | unstable: true |
| 102 | first-failure: false |
| 103 | first-unstable: false |
| 104 | not-built: false |
| 105 | aborted: false |
| 106 | regression: false |
| 107 | failure: true |
| 108 | second-failure: false |
| 109 | improvement: false |
| 110 | still-failing: false |
| 111 | success: false |
| 112 | fixed: false |
| 113 | fixed-unhealthy: true |
| 114 | still-unstable: false |
| 115 | pre-build: false |
| 116 | matrix-trigger: only-parent |
| 117 | send-to: |
| 118 | - recipients |
| 119 | - email-ext: |
| 120 | recipients: '{obj:email_to}' |
| 121 | reply-to: ci-notification@lists.lttng.org |
| 122 | always: false |
| 123 | unstable: false |
| 124 | first-failure: true |
| 125 | first-unstable: true |
| 126 | not-built: false |
| 127 | aborted: false |
| 128 | regression: false |
| 129 | failure: false |
| 130 | second-failure: false |
| 131 | improvement: false |
| 132 | still-failing: false |
| 133 | success: false |
| 134 | fixed: false |
| 135 | fixed-unhealthy: true |
| 136 | still-unstable: false |
| 137 | pre-build: false |
| 138 | matrix-trigger: only-parent |
| 139 | send-to: |
| 140 | - recipients |
| 141 | |
| 142 | - job-template: |
| 143 | name: libdelorean-java_{version}_coverity |
| 144 | defaults: libdelorean-java |
| 145 | node: 'x86-64' |
| 146 | |
| 147 | triggers: |
| 148 | - pollscm: |
| 149 | cron: "@daily" |
| 150 | |
| 151 | wrappers: |
| 152 | - workspace-cleanup |
| 153 | - timestamps |
| 154 | - ansicolor: |
| 155 | colormap: xterm |
| 156 | - credentials-binding: |
| 157 | - username-password-separated: |
| 158 | credential-id: libdelorean-java_coverity_token |
| 159 | username: COVERITY_SCAN_PROJECT_NAME |
| 160 | password: COVERITY_SCAN_TOKEN |
| 161 | |
| 162 | scm: |
| 163 | - git: |
| 164 | url: git://github.com/{github_user}/{github_name}.git |
| 165 | browser: githubweb |
| 166 | browser-url: https://github.com/{github_user}/{github_name} |
| 167 | branches: |
| 168 | - origin/{version} |
| 169 | skip-tag: true |
| 170 | basedir: src/libdelorean-java |
| 171 | |
| 172 | builders: |
| 173 | - maven-target: |
| 174 | maven-version: "default" |
| 175 | goals: "-version" |
| 176 | private-repository: true |
| 177 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 178 | - shell: |
| 179 | !include-raw-escape: scripts/common/coverity.sh |
| 180 | |
| 181 | publishers: |
| 182 | - workspace-cleanup |
| 183 | - archive: |
| 184 | artifacts: 'analysis-results.tgz,cov-int/**' |
| 185 | allow-empty: false |
| 186 | |
| 187 | |
| 188 | ## Project |
| 189 | - project: |
| 190 | name: libdelorean-java |
| 191 | github_user: efficios |
| 192 | github_name: libdelorean-java |
| 193 | email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' |
| 194 | email_for_all_failure: 'alexmonthy@efficios.com' |
| 195 | version: |
| 196 | - master |
| 197 | jobs: |
| 198 | - 'libdelorean-java_{version}_build' |
| 199 | - 'libdelorean-java_{version}_coverity': |
| 200 | version: master |