Merge "Add job to delete stale nodes older than 24H on RS"
[releng/builder.git] / jjb / autorelease / version-bump.sh
index 4b4aea4391b014b25480f93be876eb36b0776a39..15b7c8739ac428bc2865896b8a806be246a410eb 100644 (file)
@@ -59,9 +59,10 @@ then
     # Run a build here! Should be safe to run mvn clean deploy as nothing should be
     # using the version bumped versions just yet.
     ./scripts/fix-relativepaths.sh
-    "$MVN" clean install -Pq \
+    "$MVN" clean deploy -Pq \
     -s "$SETTINGS_FILE" \
     -gs "$GLOBAL_SETTINGS_FILE" \
+    -DaltDeploymentRepository="opendaylight-snapshot::default::https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot" \
     --show-version \
     --batch-mode \
     -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \