Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 7edb031

Browse files
authored
Publish to archive site (#148)
1 parent efea580 commit 7edb031

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pipeline {
9292

9393
steps {
9494
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
95-
println("Deploying codewind-openapi-eclipse to downoad area...")
95+
println("Deploying codewind-openapi-eclipse to archive area...")
9696

9797
dir("$WORKSPACE/dev/ant_build/artifacts") {
9898
unstash 'codewind-openapi-eclipse-zip'
@@ -102,15 +102,15 @@ pipeline {
102102
export REPO_NAME="codewind-openapi-eclipse"
103103
export OUTPUT_NAME="codewind-openapi-eclipse"
104104
export OUTPUT_DIR="$WORKSPACE/dev/ant_build/artifacts"
105-
export DOWNLOAD_AREA_URL="https://download.eclipse.org/codewind/$REPO_NAME"
105+
export ARCHIVE_AREA_URL="https://archive.eclipse.org/codewind/$REPO_NAME"
106106
export LATEST_DIR="latest"
107107
export BUILD_INFO="build_info.properties"
108108
export sshHost="genie.codewind@projects-storage.eclipse.org"
109-
export deployDir="/home/data/httpd/download.eclipse.org/codewind/$REPO_NAME"
109+
export deployDir="/home/data/httpd/archive.eclipse.org/codewind/$REPO_NAME"
110110
111111
if [ -z $CHANGE_ID ]; then
112112
UPLOAD_DIR="$GIT_BRANCH/$BUILD_ID"
113-
BUILD_URL="$DOWNLOAD_AREA_URL/$UPLOAD_DIR"
113+
BUILD_URL="$ARCHIVE_AREA_URL/$UPLOAD_DIR"
114114
115115
ssh $sshHost rm -rf $deployDir/$GIT_BRANCH/$LATEST_DIR
116116
ssh $sshHost mkdir -p $deployDir/$GIT_BRANCH/$LATEST_DIR

0 commit comments

Comments
 (0)