diff --git a/Jenkinsfile b/Jenkinsfile index 32742c6ef7..4a6243fe1f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,6 +108,7 @@ pipeline { do cp -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/$library-${REVISION}.jar backend/app/target/dependency/BOOT-INF/lib/ # + rm -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/target/lib/* mvn dependency:copy-dependencies --file $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/$library-${REVISION}.pom --settings ./settings.xml cp -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/target/lib/* backend/app/target/dependency/BOOT-INF/lib/ done