From 12571e83aee3ca00b9a3de5205e576cc795c755f Mon Sep 17 00:00:00 2001 From: Esophose Date: Thu, 11 Apr 2019 08:03:38 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb3d884..5824266 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,12 +11,10 @@ build: image: maven:3.5.3-jdk-8 script: - find $path/ -type f -name "*.xml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g - - mvn clean package - find $path/ -type f -name "*.yml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g - mvn clean package - - find $path/$name-Plugin/ -depth -path '*original*' -delete - - mv -v $path/$name-Plugin/target/*.jar $path + - find $path/ -depth -path '*original*' -delete artifacts: name: $name-$version paths: - - "$path/*.jar" \ No newline at end of file + - "$path/$name-Plugin/target/*.jar"