@@ -174,25 +174,6 @@ pipeline {
174174 }
175175 }
176176 }
177- stage('Create base builder'){
178- steps {
179- script{
180- def eclipsePlatformLatestRelease = "https://download.eclipse.org/eclipse/downloads/drops4/${PREVIOUS_RELEASE_ID}/eclipse-platform-${PREVIOUS_RELEASE_VER}-linux-gtk-x86_64.tar.gz"
181- def exe = utilities.installDownloadableTool('eclipse', eclipsePlatformLatestRelease) + '/eclipse'
182- assignEnvVariable('BASE_BUILDER_ECLIPSE_EXE', "${exe} -nosplash --launcher.suppressErrors")
183- sh '''
184- source $CJE_ROOT/buildproperties.shsource
185- mkdir -p $CJE_ROOT/$TMP_DIR
186- $BASE_BUILDER_ECLIPSE_EXE \
187- -debug -consolelog -data $CJE_ROOT/$TMP_DIR/workspace-toolsinstall \
188- -application org.eclipse.equinox.p2.director \
189- -repository ${ECLIPSE_RUN_REPO},https://download.eclipse.org/cbi/updates/p2-analyzers/tools/nightly/latest \
190- -installIU org.eclipse.pde.api.tools,org.eclipse.cbi.p2repo.analyzers.feature.feature.group \
191- -profile SDKProfile
192- '''
193- }
194- }
195- }
196177 stage('Aggregator maven build') {
197178 environment {
198179 KEYRING = credentials('secret-subkeys-releng.asc')
@@ -203,6 +184,7 @@ pipeline {
203184 dir("${AGG_DIR}") {
204185 sh '''#!/bin/bash -xe
205186 source $CJE_ROOT/buildproperties.shsource
187+ mkdir -p ${CJE_ROOT}/${TMP_DIR}
206188
207189 mvn clean install -pl :eclipse-sdk-prereqs,:org.eclipse.jdt.core.compiler.batch \
208190 -Dmaven.repo.local=${LOCAL_REPO} -DlocalEcjVersion=99.99 \
@@ -370,19 +352,22 @@ pipeline {
370352 popd
371353
372354 # Generate repository reports
373- $BASE_BUILDER_ECLIPSE_EXE \
374- -application org.eclipse.cbi.p2repo.analyzers.repoReport \
375- -data $CJE_ROOT/$TMP_DIR/workspace-report -vmargs -Xmx1g \
376- -DreferenceRepo=https://download.eclipse.org/eclipse/updates/${PREVIOUS_RELEASE_REPO_ID}/${BASEBUILD_ID} \
377- -DreportRepoDir=${PLATFORM_REPO_DIR} \
378- -DreportOutputDir=${DROP_DIR}/${BUILD_ID}/buildlogs
355+ mvn tycho-eclipse:eclipse-run@run-eclipse -f eclipse-platform-parent \
356+ -Declipserun.feature=org.eclipse.cbi.p2repo.analyzers.feature.feature.group \
357+ -Declipserun.workArea=${CJE_ROOT}/${TMP_DIR}/repo-report \
358+ -Declipserun.appArgs='-application org.eclipse.cbi.p2repo.analyzers.repoReport' \
359+ -Declipserun.vmArgs=" \
360+ -DreferenceRepo=https://download.eclipse.org/eclipse/updates/${PREVIOUS_RELEASE_REPO_ID}/${BASEBUILD_ID} \
361+ -DreportRepoDir=${PLATFORM_REPO_DIR} -DreportOutputDir=${DROP_DIR}/${BUILD_ID}/buildlogs \
362+ "
379363
380364 # Generate API-tools reports
381- pushd ${DROP_DIR}/${BUILD_ID}
382- $BASE_BUILDER_ECLIPSE_EXE \
365+ mvn tycho-eclipse:eclipse-run@run-eclipse -f eclipse-platform-parent \
366+ -Declipserun.feature=org.eclipse.cbi.p2repo.analyzers.feature.feature.group \
367+ -Declipserun.workArea=${CJE_ROOT}/${TMP_DIR}/apitoolings-logs \
368+ -Declipserun.appArgs="\
383369 -application org.eclipse.ant.core.antRunner \
384370 -buildfile $ECLIPSE_BUILDER_DIR/eclipse/buildScripts/api-tools-builder.xml \
385- -data $CJE_ROOT/$TMP_DIR/workspace-apitoolingsLogs \
386371 -DEBuilderDir=$ECLIPSE_BUILDER_DIR \
387372 -DbuildDirectory=${DROP_DIR}/${BUILD_ID} \
388373 -DbuildId=$BUILD_ID \
@@ -393,7 +378,7 @@ pipeline {
393378 -DpreviousBaselineFilename=eclipse-SDK-$PREVIOUS_RELEASE_VER-win32-x86_64.zip \
394379 -Djava.io.tmpdir=$CJE_ROOT/$TMP_DIR \
395380 apiToolsReports
396- popd
381+ "
397382 rm -rf ${DROP_DIR}/${BUILD_ID}/apitoolingreference
398383
399384 # Wait for notarization to complete before checksums are generated.
@@ -482,6 +467,7 @@ pipeline {
482467 # Build Equinox Launcher archives
483468 pushd $CJE_ROOT
484469 mkdir -p $ECLIPSE_BUILDER_DIR/equinox/$TMP_DIR
470+ #FIXME: Replace this too!!
485471 $BASE_BUILDER_ECLIPSE_EXE \
486472 -application org.eclipse.ant.core.antRunner \
487473 -buildfile ${ECLIPSE_BUILDER_DIR}/equinox/buildConfigs/equinox-launchers/build.xml \
0 commit comments