X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fdidm%2Fdidm.yaml;h=2535ec7ab402fd2806240e4a9b97c5a646ff1836;hb=d135d6b49e1d5e3745352b3f238ae63812ee2fb9;hp=0496b874ff8274d01a55bf0c60a77c6d3fc0e956;hpb=93ffdcbe009d3a4d1c4a38a62043822125827bdd;p=releng%2Fbuilder.git diff --git a/jjb/didm/didm.yaml b/jjb/didm/didm.yaml index 0496b874f..2535ec7ab 100644 --- a/jjb/didm/didm.yaml +++ b/jjb/didm/didm.yaml @@ -100,7 +100,7 @@ - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' settings: '{didm-settings}' @@ -165,10 +165,41 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{didm-settings}' global-settings: '{odl-global-settings}' + post-step-run-condition: UNSTABLE + + postbuilders: + - conditional-step: + condition-kind: file-exists + condition-filename: deploy-site.xml + condition-basedir: workspace + + # The strategy here is intentional to run Maven site:deploy twice + # once using regular pom.xml to produce a staged-site which is + # then used by deploy-site.xml to push to Nexus. This is a + # workaround to Maven Site's default linking code which creates + # incorrect URLs for sites due to auto-detection assuming your + # project is configured in a certain way which ODL is not. + steps: + - maven-target: + maven-version: '{mvn33}' + pom: pom.xml + goals: 'site:deploy -Dstream={stream}' + java-opts: + - '-Xmx2g' + settings: '{didm-settings}' + global-settings: '{odl-global-settings}' + - maven-target: + maven-version: '{mvn33}' + pom: deploy-site.xml + goals: 'site:deploy -Dstream={stream}' + java-opts: + - '-Xmx2g' + settings: '{didm-settings}' + global-settings: '{odl-global-settings}' reporters: - findbugs @@ -265,7 +296,7 @@ parameters: - project-parameter: - project: 'integration' + project: 'integration/distribution' scm: - git-scm: @@ -475,7 +506,7 @@ 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 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' settings: '{didm-settings}' global-settings: '{odl-global-settings}'