X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb-templates%2Fclm.yaml;h=7a0ba94456a666cc2636c454ffe1e42fed8e7849;hb=62663c2f04b846dab936e0d63932adeea39d48b5;hp=2046957902bc117f6e035c4e710b122887bd90e5;hpb=bd634d3f17cb18e4d087f279ca0d6d98fd4e4f40;p=releng%2Fbuilder.git diff --git a/jjb-templates/clm.yaml b/jjb-templates/clm.yaml index 204695790..7a0ba9445 100644 --- a/jjb-templates/clm.yaml +++ b/jjb-templates/clm.yaml @@ -1,5 +1,6 @@ - job-template: - name: 'PROJECT-clm' + name: 'PROJECT_SHORTNAME-clm-{stream}' + disabled: false project-type: maven node: dynamic_verify @@ -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]'