DWN-37110: attempting to fix upload
parent
f443981518
commit
674a822512
|
@ -35,18 +35,10 @@ jobs:
|
|||
- run:
|
||||
name: "Running Maven build and deploy"
|
||||
command: |
|
||||
MASTER_BRANCH=1.3.x
|
||||
REPOSITORY=altSnapshotDeploymentRepository=snapshots::default::https://nexus.greshamtech.com/repository/thirdparty-maven-snapshots/
|
||||
|
||||
# if on 1.3.x but not snapshot (i.e building a release)
|
||||
if [[ "${CIRCLE_BRANCH}" == "${MASTER_BRANCH}" && "${VERSION}" != *-SNAPSHOT ]]; then
|
||||
REPOSITORY=altReleaseDeploymentRepository=releases::default::https://nexus.greshamtech.com/repository/thirdparty-maven-releases/
|
||||
fi
|
||||
|
||||
# deploy to appropriate repo
|
||||
mvn -s gresham-nexus-settings/ctc.plugins.settings.xml clean deploy \
|
||||
-B -V -U -DskipTests -DskipITs \
|
||||
-D$REPOSITORY \
|
||||
-DaltSnapshotDeploymentRepository=snapshots::default::https://nexus.greshamtech.com/repository/thirdparty-maven-snapshots/ \
|
||||
-DaltReleaseDeploymentRepository=releases::default::https://nexus.greshamtech.com/repository/thirdparty-maven-releases/ \
|
||||
|& tee -a /home/circleci/project/mavenOutput.log
|
||||
- generate-download-urls:
|
||||
extension: jar
|
||||
|
|
Loading…
Reference in New Issue