From 12e3c5fc2f335c289c6fd435125b1e9d97877a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sun, 15 Jan 2023 21:56:24 +0100 Subject: [PATCH] Remove maven reposity upload in normal commit builds --- .drone.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index f895b99..12d19cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,17 +35,6 @@ steps: SONAR_LOGIN_KEY: from_secret: sonar_login_key - # upload to maven repository - - name: maven-deploy - image: maven:3-eclipse-temurin-16 - commands: - - mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -gs settings.xml -Dmaven.repo.username=$MAVEN_REPO_USERNAME -Dmaven.repo.password=$MAVEN_REPO_PASSWORD - environment: - MAVEN_REPO_USERNAME: - from_secret: maven_repo_username - MAVEN_REPO_PASSWORD: - from_secret: maven_repo_password - --- kind: pipeline @@ -60,7 +49,7 @@ trigger: steps: # skip all previous steps because they were already ran in the "build" phase; we don't need to re-analyze the code. - + # upload to maven repository - name: maven-deploy image: maven:3-eclipse-temurin-16