mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-06-30 18:14:51 +00:00
ATS-851: Improve build reliability (#329)
- Add Maven Central to top of repo search list - Disable Maven connection pool - Fixed formatting
This commit is contained in:
parent
c5d7791cb5
commit
97b9fc39cf
@ -36,8 +36,8 @@ jobs:
|
||||
name: "Core & Base Snapshot deployment" # This is to separate the snapshot deployment from the following jobs, to prevent duplication on nexus
|
||||
if: branch = master AND type != pull_request
|
||||
before_script: travis_wait bash _ci/cache_artifacts.sh
|
||||
install: travis_wait 20 mvn -B -U -q clean install -DadditionalOption=-Xdoclint:none -DskipTests -Dmaven.javadoc.skip=true -Pbase
|
||||
script: mvn -B -U clean deploy -DadditionalOption=-Xdoclint:none -Dmaven.javadoc.skip=true -Pbase
|
||||
install: travis_wait 20 mvn -B -U -q clean install -DadditionalOption=-Xdoclint:none -DskipTests -Dmaven.javadoc.skip=true -Dmaven.wagon.http.pool=false -Pbase
|
||||
script: mvn -B -U clean deploy -DadditionalOption=-Xdoclint:none -Dmaven.javadoc.skip=true -Dmaven.wagon.http.pool=false -Pbase
|
||||
- name: "ImageMagick"
|
||||
if: branch NOT IN (company_release)
|
||||
before_script: travis_wait bash _ci/cache_artifacts.sh
|
||||
|
@ -5,7 +5,7 @@ PS4="\[\e[35m\]+ \[\e[m\]"
|
||||
set -vex
|
||||
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
||||
|
||||
mvn -B -U \
|
||||
mvn -B -U -Dmaven.wagon.http.pool=false \
|
||||
clean install \
|
||||
-DadditionalOption=-Xdoclint:none -Dmaven.javadoc.skip=true \
|
||||
-DskipTests \
|
||||
@ -14,4 +14,3 @@ mvn -B -U \
|
||||
popd
|
||||
set +vex
|
||||
echo "=========================== Finishing Build Script =========================="
|
||||
|
||||
|
@ -14,7 +14,7 @@ git checkout -B "${TRAVIS_BRANCH}"
|
||||
git config user.email "build@alfresco.com"
|
||||
|
||||
# Run the release plugin - with "[skip ci]" in the release commit message
|
||||
mvn -B \
|
||||
mvn -B -Dmaven.wagon.http.pool=false \
|
||||
${DRY_RUN} \
|
||||
-Prelease \
|
||||
"-Darguments=-Prelease -DskipTests -Dmaven.javadoc.skip -Dadditionalparam=-Xdoclint:none" \
|
||||
|
@ -6,6 +6,15 @@
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Central Repository</name>
|
||||
<url>https://repo.maven.apache.org/maven2</url>
|
||||
<layout>default</layout>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>alfresco-internal</id>
|
||||
<name>Alfresco Internal Repository</name>
|
||||
|
@ -12,7 +12,7 @@ pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
||||
[ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && DEPLOY="deploy" || DEPLOY="verify"
|
||||
|
||||
# Do not deploy snapshots for alfresco-transform-core and alfresco-transformer-base
|
||||
mvn -B -U \
|
||||
mvn -B -U -Dmaven.wagon.http.pool=false \
|
||||
clean ${DEPLOY} \
|
||||
-DadditionalOption=-Xdoclint:none -Dmaven.javadoc.skip=true \
|
||||
-Dparent.core.deploy.skip=true -Dtransformer.base.deploy.skip=true \
|
||||
@ -23,4 +23,3 @@ docker ps -a -q | xargs -r -l docker stop ; docker ps -a -q | xargs -r -l docker
|
||||
popd
|
||||
set +vex
|
||||
echo "=========================== Finishing Test&Deploy Script =========================="
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user