Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Le Fevre - CEA2016-04-01 12:18:58 +0000
committerGerrit Code Review @ Eclipse.org2016-04-07 11:24:54 +0000
commit3e01041dae0626adcd0cc581c9c3df9b2726d925 (patch)
treec76eacd537f25916709b8a3450bb9176cb6d69d3 /releng/toolkit
parent5df37a81b7f4ae85b68c68796746f1a21e90471e (diff)
downloadorg.eclipse.papyrus-3e01041dae0626adcd0cc581c9c3df9b2726d925.tar.gz
org.eclipse.papyrus-3e01041dae0626adcd0cc581c9c3df9b2726d925.tar.xz
org.eclipse.papyrus-3e01041dae0626adcd0cc581c9c3df9b2726d925.zip
Bug 490568 - [developer] problem of compilation of oep.def promotion of
developer features - check has been made sign and pack (need integration of a patch) - repository is published as a zip - manualPromote-neon.sh has been adapted Fixme nevertheless no action has been taken for the adaptation of addToComposite.xls Change-Id: Ic7d4878cdffe0ff2d8ccc5046be5bfa47c3ae0f1 Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
Diffstat (limited to 'releng/toolkit')
-rw-r--r--releng/toolkit/server/manualPromote-neon.sh31
1 files changed, 29 insertions, 2 deletions
diff --git a/releng/toolkit/server/manualPromote-neon.sh b/releng/toolkit/server/manualPromote-neon.sh
index f86624c3a2a..385556d2a5e 100644
--- a/releng/toolkit/server/manualPromote-neon.sh
+++ b/releng/toolkit/server/manualPromote-neon.sh
@@ -35,6 +35,7 @@ source "$PROMOTE_FUNCTIONS_SH"
echo "-------------------- user parameters --------------------"
mainBuildNumber=""
extrasBuildNumber=""
+devBuildNumber=""
testsBuildNumber=""
version=""
updateSite=""
@@ -52,6 +53,12 @@ while [[ ! "$extrasBuildNumber" =~ ^[0-9]+$ || "$extrasBuildNumber" < 0 ]]; do
read extrasBuildNumber
done
+echo "devBuildNumber (the number of the \"Papyrus-Master-Developer\" Hudson build from which to publish the dev Papyrus plug-ins, or 0 to not publish): "
+while [[ ! "$devBuildNumber" =~ ^[0-9]+$ || "$devBuildNumber" < 0 ]]; do
+ echo -n "? "
+ read devBuildNumber
+done
+
echo "testsBuildNumber (the number of the \"Papyrus-Master-Tests\" Hudson build from which to publish the test results, or 0 to not publish): "
while [[ ! "$testsBuildNumber" =~ ^[0-9]+$ || "$testsBuildNumber" < 0 ]]; do
echo -n "? "
@@ -128,9 +135,10 @@ cat > "$updateSiteDir/compositeArtifacts.xml" <<EOF
<properties size="1">
<property name="p2.timestamp" value="$(date +%s000)"/>
</properties>
- <children size="2">
+ <children size="3">
<child location="main"/>
<child location="extra"/>
+ <child location="dev"/>
</children>
</repository>
EOF
@@ -141,9 +149,10 @@ cat > "$updateSiteDir/compositeContent.xml" <<EOF
<properties size="1">
<property name="p2.timestamp" value="$(date +%s000)"/>
</properties>
- <children size="2">
+ <children size="3">
<child location="main"/>
<child location="extra"/>
+ <child location="dev"/>
</children>
</repository>
EOF
@@ -164,6 +173,24 @@ if [[ "$extrasBuildNumber" != "0" ]]; then
$ADD_DOWNLOAD_STATS "$updateSiteDir/extra" "extra"
fi
+# ============================== PUBLISH DEV ==============================
+if [[ "$devBuildNumber" != "0" ]]; then
+ //variable
+ nfsURL="" ## Not supported for HIPP builds. Leave the variable since the promote functions are still shared with the Shared Hudson Instance builds
+ hudsonURL="https://hudson.eclipse.org/papyrus/job/Papyrus-Master-Developer/$devBuildNumber/artifact/"
+ zipName="Papyrus-Developer.zip"
+ updateZipName="Papyrus-Developer-Update.zip"
+ //pre-conditions
+ mkdir -p "$updateSiteDir/dev"
+ //actions
+ getZip "$zipName" "$nfsURL" "$hudsonURL"
+ # unzips under an "dev" folder under the main build's folder
+ unzip -o "$zipName" -d "$buildsDir/$folderName"
+ unzip -o "$buildsDir/$folderName/dev/$updateZipName" -d "$updateSiteDir/dev"
+ //post-actions
+ $ADD_DOWNLOAD_STATS "$updateSiteDir/dev" "dev"
+fi
+
# ============================== PUBLISH TESTS ==============================
if [[ "$testsBuildNumber" != "0" ]]; then
nfsURL="" ## Not supported for HIPP builds. Leave the variable since the promote functions are still shared with the Shared Hudson Instance builds

Back to the top