| 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 | .*Source root doesn't exist.* |
| 98 | Could not transfer metadata.*codehaus-snapshots.* |
| 99 | - workspace-cleanup |
| 100 | - email-ext: |
| 101 | recipients: '{obj:email_for_all_failure}' |
| 102 | always: false |
| 103 | unstable: true |
| 104 | first-failure: false |
| 105 | first-unstable: false |
| 106 | not-built: false |
| 107 | aborted: false |
| 108 | regression: false |
| 109 | failure: true |
| 110 | second-failure: false |
| 111 | improvement: false |
| 112 | still-failing: false |
| 113 | success: false |
| 114 | fixed: false |
| 115 | fixed-unhealthy: true |
| 116 | still-unstable: false |
| 117 | pre-build: false |
| 118 | matrix-trigger: only-parent |
| 119 | send-to: |
| 120 | - recipients |
| 121 | - email-ext: |
| 122 | recipients: '{obj:email_to}' |
| 123 | reply-to: ci-notification@lists.lttng.org |
| 124 | always: false |
| 125 | unstable: false |
| 126 | first-failure: true |
| 127 | first-unstable: true |
| 128 | not-built: false |
| 129 | aborted: false |
| 130 | regression: false |
| 131 | failure: false |
| 132 | second-failure: false |
| 133 | improvement: false |
| 134 | still-failing: false |
| 135 | success: false |
| 136 | fixed: false |
| 137 | fixed-unhealthy: true |
| 138 | still-unstable: false |
| 139 | pre-build: false |
| 140 | matrix-trigger: only-parent |
| 141 | send-to: |
| 142 | - recipients |
| 143 | |
| 144 | - job-template: |
| 145 | name: libdelorean-java_{version}_coverity |
| 146 | defaults: libdelorean-java |
| 147 | node: 'x86-64' |
| 148 | |
| 149 | triggers: |
| 150 | - pollscm: |
| 151 | cron: "@daily" |
| 152 | |
| 153 | wrappers: |
| 154 | - workspace-cleanup |
| 155 | - timestamps |
| 156 | - ansicolor: |
| 157 | colormap: xterm |
| 158 | - credentials-binding: |
| 159 | - username-password-separated: |
| 160 | credential-id: libdelorean-java_coverity_token |
| 161 | username: COVERITY_SCAN_PROJECT_NAME |
| 162 | password: COVERITY_SCAN_TOKEN |
| 163 | |
| 164 | scm: |
| 165 | - git: |
| 166 | url: git://github.com/{github_user}/{github_name}.git |
| 167 | browser: githubweb |
| 168 | browser-url: https://github.com/{github_user}/{github_name} |
| 169 | branches: |
| 170 | - origin/{version} |
| 171 | skip-tag: true |
| 172 | basedir: src/libdelorean-java |
| 173 | |
| 174 | builders: |
| 175 | - maven-target: |
| 176 | maven-version: "default" |
| 177 | goals: "-version" |
| 178 | private-repository: true |
| 179 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 180 | - shell: |
| 181 | !include-raw-escape: scripts/common/coverity.sh |
| 182 | |
| 183 | publishers: |
| 184 | - workspace-cleanup |
| 185 | - archive: |
| 186 | artifacts: 'analysis-results.tgz,cov-int/**' |
| 187 | allow-empty: false |
| 188 | |
| 189 | |
| 190 | ## Project |
| 191 | - project: |
| 192 | name: libdelorean-java |
| 193 | github_user: efficios |
| 194 | github_name: libdelorean-java |
| 195 | email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' |
| 196 | email_for_all_failure: 'alexmonthy@efficios.com' |
| 197 | version: |
| 198 | - master |
| 199 | jobs: |
| 200 | - 'libdelorean-java_{version}_build' |
| 201 | - 'libdelorean-java_{version}_coverity': |
| 202 | version: master |