Skip to content

Commit

Permalink
Update previous release version to 4.31 GA across build scripts (#1895)
Browse files Browse the repository at this point in the history
Tracked in
#1894
  • Loading branch information
MohananRahul committed Mar 11, 2024
1 parent 2dc1832 commit 67a2096
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/I_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for (STREAM in STREAMS){
# - - - Integration Eclipse SDK builds - - -
# 2023-12 Release Schedule
# Normal : 6 PM every day (1/6 - 2/9)
#0 18 * * *
0 18 * * *
# Milestone/RC Schedule
Expand Down
8 changes: 4 additions & 4 deletions cje-production/Y-build/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ API_FREEZE_REF_LABEL=""
# Otherwise set to a blank space
FREEZE_PARAMS=" "

PREVIOUS_RELEASE_VER="4.31RC2"
PREVIOUS_RELEASE_REPO_ID="4.31-I-builds"
PREVIOUS_RELEASE_VER="4.31"
PREVIOUS_RELEASE_REPO_ID="4.31"
#build id for getting repo
BASEBUILD_ID="I20240229-0520"
BASEBUILD_ID="R-4.31-202402290520"
#release id for downloading eclipse
PREVIOUS_RELEASE_ID="S-4.31RC2-202402290520"
PREVIOUS_RELEASE_ID="R-4.31-202402290520"

BUILDTOOLS_REPO="https://download.eclipse.org/eclipse/updates/buildtools/"
WEBTOOLS_REPO="https://download.eclipse.org/webtools/downloads/drops/R3.31.0/R-3.31.0-20230903090456/repositoryunittests/"
Expand Down
8 changes: 4 additions & 4 deletions cje-production/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ API_FREEZE_REF_LABEL=""
# Otherwise set to a blank space
FREEZE_PARAMS=" "

PREVIOUS_RELEASE_VER="4.31RC2"
PREVIOUS_RELEASE_REPO_ID="4.31-I-builds"
PREVIOUS_RELEASE_VER="4.31"
PREVIOUS_RELEASE_REPO_ID="4.31"
#build id for getting repo
BASEBUILD_ID="I20240229-0520"
BASEBUILD_ID="R-4.31-202402290520"
#release id for downloading eclipse
PREVIOUS_RELEASE_ID="S-4.31RC2-202402290520"
PREVIOUS_RELEASE_ID="R-4.31-202402290520"

BUILDTOOLS_REPO="https://download.eclipse.org/eclipse/updates/buildtools/"
WEBTOOLS_REPO="https://download.eclipse.org/webtools/downloads/drops/R3.31.0/R-3.31.0-20230903090456/repositoryunittests/"
Expand Down
6 changes: 3 additions & 3 deletions eclipse-platform-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

<compare-version-with-baselines.skip>true</compare-version-with-baselines.skip>
<tycho.baseline.replace>all</tycho.baseline.replace>
<previous-release.baseline>https://download.eclipse.org/eclipse/updates/4.31-I-builds/I20240229-0520/</previous-release.baseline>
<previous-release.baseline>https://download.eclipse.org/eclipse/updates/4.31/R-4.31-202402290520/</previous-release.baseline>

<!--
Declaration of properties that contribute to the arg line for the tycho-surefire-plugin.
Expand Down Expand Up @@ -768,12 +768,12 @@
<!-- Can specify an exact range here, or something of a loose range, depending on what's needed. -->
<versionRangeForPatch>[3.19.400.v20240221-1800,3.19.449.v20240612-1800)</versionRangeForPatch>
<!-- Comment this line when a patch is required on top of I-build -->
<comparator.repo>https://download.eclipse.org/eclipse/updates/4.31-I-builds/I20240221-1800/</comparator.repo>
<comparator.repo>https://download.eclipse.org/eclipse/updates/4.31/R-4.31-202402290520/</comparator.repo>
</properties>
<repositories>
<repository>
<id>eclipse-p2-repo-java22patch</id>
<url>https://download.eclipse.org/eclipse/updates/4.31-I-builds/I20240221-1800/</url>
<url>https://download.eclipse.org/eclipse/updates/4.31/R-4.31-202402290520/</url>
<layout>p2</layout>
</repository>
</repositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux-x86_64=\${basedir
org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-${buildId}-win32-x86_64.zip
org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-${buildId}-macosx-cocoa-x86_64.dmg

org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64=\${basedir}/eclipse-platform-4.31RC2-linux-gtk-x86_64.tar.gz
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-4.31RC2-win32-x86_64.zip
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-4.31RC2-macosx-cocoa-x86_64.dmg
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64=\${basedir}/eclipse-platform-4.31-linux-gtk-x86_64.tar.gz
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-4.31-win32-x86_64.zip
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-4.31-macosx-cocoa-x86_64.dmg

org.eclipse.equinox.p2.tests.current.build.repo=https://download.eclipse.org/eclipse/updates/${eclipseStreamMajor}.${eclipseStreamMinor}-${buildType}-builds/${buildId}
org.eclipse.equinox.p2.tests.last.release.build.repo=https://download.eclipse.org/equinox/drops/S-4.31RC2-202402290520/
org.eclipse.equinox.p2.tests.last.release.build.repo=https://download.eclipse.org/equinox/drops/R-4.31-202402290520/

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ buildId=${buildId}
# such as "4.5" instead of "4.5.0".
eclipseStream=${releaseNumberSDK}
# similar for previous release version
previousReleaseVersion=4.31RC2
previousReleaseVersion=4.31
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@


mkdir -p workarea/${buildId}/eclipse-testing
cp /home/files/buildzips/oxygen/R/S-4.31RC2-202402290520//eclipse-platform-4.31RC2-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/platformLocation/
cp /home/files/buildzips/oxygen/R/R-4.31-202402290520//eclipse-platform-4.31-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/platformLocation/

cp /home/files/buildzips/oxygen/R/S-4.31RC2-202402290520//eclipse-SDK-4.31RC2-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/
cp /home/files/buildzips/oxygen/R/R-4.31-202402290520//eclipse-SDK-4.31-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/

cp eclipse-junit-tests-${buildId}.zip workarea/${buildId}/eclipse-testing/

Expand Down
10 changes: 5 additions & 5 deletions production/testScripts/configuration/streamSpecific.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ streamSpecificPropertiesTitle="Properties for 4.32.0 builds and tests"
# stable version of Eclipse, that is used, for example, for it's p2
# director, etc., so that "running the tests" is not actually using
# the "just built" versions.
previousReleaseLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.31RC2-202402290520/
previousReleaseLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/R-4.31-202402290520/
# version here is "build label" ... in general form, the "middle" of archive name,
# such as "eclipse-platform-${previousReleaseVersion}-linux-gtk-x86_64.tar.gz
# Also used used in p2 testing?
previousReleaseVersion=4.31RC2
previousReleaseVersion=4.31
# This is last segment of last release repo, such as in
# http://${ARCHIVE_HOST}/eclipse/updates/${previousReleaseVersion}
# NOTE: I am assuming the "composite" repo is suitable for p2. In theory,
# they might want the simple repo, such as at 4.4/R-4.4.1-201409250400
previousReleaseVersionRepo=4.31RC2
previousReleaseVersionRepo=4.31

# Note: API tests needs the _base_ of previous release, and also the previous service release
# Bug 378587 - update releng tests (data) to go work against previous release
Expand All @@ -34,9 +34,9 @@ apiTestsPreviousRefererenceWin32Filename=obsoleteAndNotUsed
# baselinePerf=true
# are specified. The baselinePerf will often be the same as "previous release", but
# not necessarily, so is not hard coded in assumptions.
baselinePerfLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.31RC2-202402290520
baselinePerfLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/R-4.31-202402290520
# NOTE: value must match baselineCode in testScripts/updateTestResultsPages.sh
baselinePerfVersion=S-4.31RC2-202402290520
baselinePerfVersion=R-4.31-202402290520
# TODO: could/should eventually "compute" label, from full version?
baselinePerfVersionLabel=4.31
baselinePerfBuildId=I20240229-0520
Expand Down
2 changes: 1 addition & 1 deletion production/testScripts/updateTestResultsPages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ then

# TODO: avoid this hard coding of baseline value
# NOTE: value must start with a letter match baselinePerfVersion in testScripts/configuration/streamSpecific.properties
baselineCode="S-4.31RC2-202402290520"
baselineCode="R-4.31-202402290520"
# to get time stamp, first remove initial IMN:
baselineForBuildSuffix=${buildId/[IMN]/}
#Then remove final '-' in build id
Expand Down

0 comments on commit 67a2096

Please sign in to comment.