X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng-templates-java.yaml;h=8612c19bb579bbd4662ec0abd5936e445470071a;hb=ed70b8667a2dc06e0d445ef7fbfa05051f5d905c;hp=9d580ad9b2c018ebbd95a8d1ee2351d713cc41d8;hpb=2021800dee7c68a8a2b3615e07bd757b635cab48;p=releng%2Fbuilder.git diff --git a/jjb/releng-templates-java.yaml b/jjb/releng-templates-java.yaml index 9d580ad9b..8612c19bb 100644 --- a/jjb/releng-templates-java.yaml +++ b/jjb/releng-templates-java.yaml @@ -12,9 +12,9 @@ node: '{build-node}' jdk: '{jdk}' - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - opendaylight-infra-parameters: @@ -75,11 +75,9 @@ node: '{build-node}' jdk: '{jdk}' - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - opendaylight-infra-parameters: @@ -142,11 +140,9 @@ concurrent: true jdk: '{jdk}' - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - opendaylight-infra-parameters: @@ -154,7 +150,8 @@ branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt' - - integration-distribution-git-url + - integration-distribution-git-url: + git-url: '{git-url}' scm: - integration-gerrit-scm: @@ -237,11 +234,9 @@ node: '{build-node}' jdk: '{jdk}' - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: '{build-days-to-keep}' parameters: - opendaylight-infra-parameters: @@ -308,11 +303,9 @@ node: '{build-node}' jdk: '{jdk}' - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + properties: + - opendaylight-infra-properties: + build-days-to-keep: 14 parameters: - opendaylight-infra-parameters: @@ -402,68 +395,6 @@ - opendaylight-infra-shiplogs: maven-version: 'mvn33' -- job-template: - name: '{project-name}-periodic-{stream}' - - # Job template for periodic builders - # - # The purpose of this job template is to setup a periodic - # builder. - # - # Required Variables: - # stream: release stream (eg. boron or carbon) - # branch: git branch (eg. stable/boron or master) - - project-type: freestyle - node: '{build-node}' - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - - parameters: - - opendaylight-infra-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' - - scm: - - git-scm: - refspec: '' - branch: '{branch}' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '@daily' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: '{mvn-settings}' - - maven-target: - maven-version: 'mvn33' - goals: '{mvn-goals} -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '{mvn-opts}' - settings: '{mvn-settings}' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[{project-name}]' - - jacoco-report - - findbugs - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' - - job-template: name: '{project-name}-sonar' disabled: false @@ -472,11 +403,9 @@ node: '{build-node}' jdk: 'openjdk8' - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' + properties: + - opendaylight-infra-properties: + build-days-to-keep: 7 parameters: - opendaylight-infra-parameters: @@ -546,8 +475,9 @@ concurrent: true jdk: '{jdk}' - logrotate: - daysToKeep: '7' + properties: + - opendaylight-infra-properties: + build-days-to-keep: 7 parameters: - opendaylight-infra-parameters: @@ -561,7 +491,7 @@ release-branch: '{branch}' - string: name: CLONE_URL - default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' + default: '{git-url}/releng/autorelease' description: "Autorelease clone URL" scm: @@ -636,8 +566,9 @@ concurrent: true jdk: '{jdks}' - logrotate: - daysToKeep: '7' + properties: + - opendaylight-infra-properties: + build-days-to-keep: 7 parameters: - opendaylight-infra-parameters: