Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
bin/
TMP/m2repo/
settings.xml
setup.sh
*~
*.bak
workspace/
.metadata/
RemoteSystemsTempFiles/
/apiAnalyzer-workspace/
eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/samples/*/doc-html
/tools/

Expand Down
19 changes: 9 additions & 10 deletions JenkinsJobs/Builds/build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,25 @@ pipeline {
maven 'apache-maven-latest'
}
environment {
MAVEN_OPTS = '-Xmx4G'
CJE_ROOT = "${WORKSPACE}/cje-production"
SCRIPTS = "${WORKSPACE}/scripts"
AGG_DIR = "${CJE_ROOT}/gitCache/eclipse.platform.releng.aggregator"
TEMP_DIR = "${CJE_ROOT}/tmp"
logDir = "$CJE_ROOT/buildlogs"

PRODUCTS_DIR = "${AGG_DIR}/products"
SITES_DIR = "${AGG_DIR}/sites"
PLATFORM_REPO_DIR = "${SITES_DIR}/eclipse-platform-repository/target/repository"

DROP_DIR = "${CJE_ROOT}/siteDir/eclipse/downloads/drops4"
EQUINOX_DROP_DIR = "${CJE_ROOT}/siteDir/equinox/drops"
// Download server paths
EP_ROOT = '/home/data/httpd/download.eclipse.org'
EP_ECLIPSE_UPDATES = "${EP_ROOT}/eclipse/updates"
EP_ECLIPSE_DROPS = "${EP_ROOT}/eclipse/downloads/drops4"
EP_EQUINOX_DROPS = "${EP_ROOT}/equinox/drops"
// Tool configurations
MAVEN_OPTS = "-Xmx4G -Dmaven.repo.local=${TEMP_DIR}/maven-repo"
JDK_JAVA_OPTIONS = "-Djava.io.tmpdir=${TEMP_DIR}"
}
stages {
stage('Set up environment') {
Expand Down Expand Up @@ -177,16 +179,15 @@ pipeline {
environment {
KEYRING = credentials('secret-subkeys-releng.asc')
MAVEN_GPG_PASSPHRASE = credentials('secret-subkeys-releng.asc-passphrase')
LOCAL_REPO = 'localMavenRepo'
}
steps {
dir("${AGG_DIR}") {
sh '''#!/bin/bash -xe
source $CJE_ROOT/buildproperties.shsource
mkdir -p ${CJE_ROOT}/${TMP_DIR}
mkdir -p ${TEMP_DIR}

mvn clean install -pl :eclipse-sdk-prereqs,:org.eclipse.jdt.core.compiler.batch \
-Dmaven.repo.local=${LOCAL_REPO} -DlocalEcjVersion=99.99 \
-DlocalEcjVersion=99.99 \
-DcompilerBaselineMode=disable -DcompilerBaselineReplace=none

set -o pipefail
Expand All @@ -197,8 +198,7 @@ pipeline {
-Dcbi.jarsigner.continueOnFail=true \
-Dtycho.pgp.signer=bc -Dtycho.pgp.signer.bc.secretKeys="${KEYRING}" \
-Djgit.dirtyWorkingTree=error \
-Djava.io.tmpdir=$CJE_ROOT/$TMP_DIR \
-Dmaven.repo.local=${LOCAL_REPO} -Dcbi-ecj-version=99.99 \
-Dcbi-ecj-version=99.99 \
-DbuildType=${BUILD_TYPE} -DbuildId=${BUILD_ID} -DbuildTimestamp=${TIMESTAMP} \
-e -T 1C \
2>&1 | tee ${logDir}/mb220_buildSdkPatch.sh.log
Expand Down Expand Up @@ -235,7 +235,6 @@ pipeline {
java \
-DbuildDirectory=${DROP_DIR}/$BUILD_ID \
-DcomparatorRepo=${comparatorRepo} \
-Djava.io.tmpdir=$CJE_ROOT/$TMP_DIR \
${WORKSPACE}/scripts/releng/ComparatorSummaryExtractor.java

comparatorLogMinimumSize=350
Expand Down Expand Up @@ -352,13 +351,13 @@ pipeline {

# Generate repository reports
mvn tycho-eclipse:eclipse-run@generate-repo-report -f eclipse-platform-parent \
-Declipserun.workArea=${CJE_ROOT}/${TMP_DIR}/repo-report \
-Declipserun.workArea=${TEMP_DIR}/repo-report \
-DreportRepoDir=${PLATFORM_REPO_DIR} \
-DreportOutputDir=${DROP_DIR}/${BUILD_ID}/buildlogs

# Generate API-tools reports
mvn tycho-eclipse:eclipse-run@generate-api-report -f eclipse-platform-parent \
-Declipserun.workArea=${CJE_ROOT}/${TMP_DIR}/apitoolings-logs \
-Declipserun.workArea=${TEMP_DIR}/apitoolings-logs \
-DgitRepoRoot=${AGG_DIR} \
-DbuildDirectory=${DROP_DIR}/${BUILD_ID} \
-DbuildId=$BUILD_ID \
Expand Down
6 changes: 6 additions & 0 deletions cje-production/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Contains the git cache and maven build runs from there
/gitCache/
# Contains the build site directory structure
/siteDir/
# Contains the temporary files of the build
/tmp/
1 change: 0 additions & 1 deletion cje-production/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ STREAM="4.40.0"
STREAMMajor="4"
STREAMMinor="40"
STREAMService="0"
TMP_DIR="tmp"
NEXT_JAVA_RELEASE_DATE=""

PREVIOUS_RELEASE_VER="4.39"
Expand Down
1 change: 0 additions & 1 deletion cje-production/gitCache/readme.txt

This file was deleted.

1 change: 0 additions & 1 deletion cje-production/siteDir/readme.txt

This file was deleted.

1 change: 0 additions & 1 deletion eclipse-platform-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@
<arg>-DpreviousBaseURL=https://download.eclipse.org/eclipse/downloads/drops4/${previousReleaseId}/eclipse-SDK-${previousReleaseVer}-win32-x86_64.zip</arg>
<arg>-DpreviousBaselineName=Eclipse-SDK-${previousReleaseVer}</arg>
<arg>-DpreviousBaselineFilename=eclipse-SDK-${previousReleaseVer}-win32-x86_64.zip</arg>
<arg>-Djava.io.tmpdir=${env.CJE_ROOT}/${env.TMP_DIR}</arg>
</jvmArgs>
<dependencies>
<dependency>
Expand Down
Loading