X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb-templates%2Fclm.yaml;h=71fe15bfaf5f0aa97d47e2a87b0d25b53e611d94;hb=31a134b8075e2addb1c5cf0d0fbfc20aabbfbc84;hp=6c92aa34e1f87a1a9ba6ba4000ebba80cdc5e9bf;hpb=42f05bc7f476c910efb5c12ea09677d6a6931ede;p=releng%2Fbuilder.git diff --git a/jjb-templates/clm.yaml b/jjb-templates/clm.yaml index 6c92aa34e..71fe15bfa 100644 --- a/jjb-templates/clm.yaml +++ b/jjb-templates/clm.yaml @@ -1,5 +1,5 @@ - job-template: - name: 'PROJECT-clm-{stream}' + name: 'PROJECT_SHORTNAME-clm-{stream}' project-type: maven node: dynamic_verify @@ -32,19 +32,23 @@ prebuilders: - wipe-org-opendaylight-repo + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{JENKINS_SETTINGS}' maven: 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: '{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]'