diff --git a/Jenkinsfile b/Jenkinsfile index f573aacdeb8..67af97167a7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { mvn clean install -f org.eclipse.jdt.core.compiler.batch -DlocalEcjVersion=99.99 -Dmaven.repo.local=$WORKSPACE/.m2/repository -DcompilerBaselineMode=disable -DcompilerBaselineReplace=none mvn -U clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \ - -Ptest-on-javase-21 -Pbree-libs -Papi-check -Pjavadoc \ + -Ptest-on-javase-21 -Pbree-libs -Papi-check -Pjavadoc -Pp2-repo \ -Dmaven.test.failure.ignore=true \ -Dcompare-version-with-baselines.skip=false \ -Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 \ @@ -44,7 +44,7 @@ pipeline { } post { always { - archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log', allowEmptyArchive: true + archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log,repository/target/repository/**', allowEmptyArchive: true // The following lines use the newest build on master that did not fail a reference // To not fail master build on failed test maven needs to be started with "-Dmaven.test.failure.ignore=true" it will then only marked unstable. // To not fail the build also "unstable: true" is used to only mark the build unstable instead of failing when qualityGates are missed diff --git a/pom.xml b/pom.xml index c96c9a82795..a515350d597 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,12 @@ + + p2-repo + + repository + + diff --git a/repository/category.xml b/repository/category.xml new file mode 100644 index 00000000000..cd47e863b7a --- /dev/null +++ b/repository/category.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + +