X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb-templates%2Fclm.yaml;h=7a0ba94456a666cc2636c454ffe1e42fed8e7849;hb=71840b2f2b578aefb7110468f7e1c5d385e5c126;hp=d7b99509d2095ba3a38bf95bca826b93f4329d85;hpb=b2b18042a298c488839bec7014548a148cb54eeb;p=releng%2Fbuilder.git diff --git a/jjb-templates/clm.yaml b/jjb-templates/clm.yaml index d7b99509d..7a0ba9445 100644 --- a/jjb-templates/clm.yaml +++ b/jjb-templates/clm.yaml @@ -1,9 +1,10 @@ - job-template: - name: 'PROJECT-clm' + name: 'PROJECT_SHORTNAME-clm-{stream}' + disabled: false project-type: maven node: dynamic_verify - jdk: 'openjdk7' + jdk: '{jdk}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -19,7 +20,7 @@ - git-scm: credentials-id: '{ssh-credentials}' refspec: '' - branch: 'master' + branch: '{branch}' wrappers: - build-timeout @@ -28,23 +29,27 @@ - '{ssh-credentials}' triggers: - - timed: '@weekly' + - timed: 'H H * * 6' prebuilders: - wipe-org-opendaylight-repo + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{JENKINS_SETTINGS}' maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: '{PROJECT-settings}' + settings: '{JENKINS_SETTINGS}' global-settings: '{odl-global-settings}' postbuilders: + - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - check-clm: - application-name: PROJECT + application-name: PROJECT_SHORTNAME publishers: - email-notification: - email-prefix: '[PROJECT]' + email-prefix: '[PROJECT_SHORTNAME]'