artifactDaysToKeep: '14'
parameters:
+ - maven-exec:
+ maven-version: '{mvn33}'
- opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
- timed: 'H 0 * * *'
builders:
+ # force jenkins install of maven version before any shell scripts use it
+ - maven-target:
+ maven-version: '{mvn33}'
+ goals: '--version'
+ settings: 'autorelease-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
- wipe-local-maven-repo
- jacoco-nojava-workaround
- shell: "./scripts/list-project-dependencies.sh"
--exclude 'resolver-status.properties' \
"stage/org/opendaylight/integration" m2repo/org/opendaylight/
-mvn -V -B org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
+"$MVN" -V -B org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
-DrepositoryDirectory="`pwd`/m2repo" \
-DnexusUrl=https://nexus.opendaylight.org/ \
-DstagingProfileId="425e43800fea70" \
default: '{stage-id}'
description: 'Nexus staging profile id'
+- parameter:
+ name: maven-exec
+ parameters:
+ - string:
+ name: MVN
+ default: '$HOME/tools/hudson.tasks.Maven_MavenInstallation/{maven-version}/bin/mvn'
+ description: 'Maven selector to be used by shell scripts'
+
- scm:
name: git-scm
scm: