Skip to content

Commit

Permalink
eclipse-kitalpha#23 Migrate to 2021-06
Browse files Browse the repository at this point in the history
Change-Id: Iee1a271504e3f544fe1b7a2b66801e6ebb8d67ca
  • Loading branch information
arnauddieumegard committed Jul 29, 2021
1 parent cab7d85 commit 6bc5bc5
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 50 deletions.
25 changes: 15 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,21 @@ pipeline {
}
steps {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
echo "deploy update site"
DST_DIR=/home/data/httpd/download.eclipse.org/kitalpha/addons/introspector/nightly/master
ssh [email protected] rm -rf ${DST_DIR}
ssh [email protected] mkdir -p ${DST_DIR}
ssh [email protected] mkdir -p ${DST_DIR}/updates/
ssh [email protected] mkdir -p ${DST_DIR}/dropins/
scp -r releng/sites/introspector/org.polarsys.kitalpha.pdt.introspector.all.site/target/repository/* [email protected]:${DST_DIR}/updates/
scp -r releng/sites/introspector/org.polarsys.kitalpha.pdt.introspector.all.site/target/PDTTooling_All-dropins-*.zip [email protected]:${DST_DIR}/dropins/
'''
script {
def VERSION = BRANCH_NAME
if (VERSION.matches("v\\d\\.\\d\\.x")) {
VERSION = VERSION.substring(1)
}
sh "echo 'deploy update site'"
def DST_DIR='/home/data/httpd/download.eclipse.org/kitalpha/addons/introspector/nightly/'+VERSION

sh "ssh [email protected] rm -rf ${DST_DIR}"
sh "ssh [email protected] mkdir -p ${DST_DIR}"
sh "ssh [email protected] mkdir -p ${DST_DIR}/updates/"
sh "ssh [email protected] mkdir -p ${DST_DIR}/dropins/"
sh "scp -r releng/sites/introspector/org.polarsys.kitalpha.pdt.introspector.all.site/target/repository/* [email protected]:${DST_DIR}/updates/"
sh "scp -r releng/sites/introspector/org.polarsys.kitalpha.pdt.introspector.all.site/target/PDTTooling_All-dropins-*.zip [email protected]:${DST_DIR}/dropins/"
}
}
}
}
Expand Down
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<packaging>pom</packaging>

<properties>
<tycho-version>2.0.0</tycho-version>
<tycho-extras-version>2.0.0</tycho-extras-version>
<tycho-version>2.2.0</tycho-version>
<tycho-extras-version>2.2.0</tycho-extras-version>
<tycho.scmUrl>scm:git:https://github.com/eclipse/kitalpha-addons.git/</tycho.scmUrl>
<antrun-version>1.8</antrun-version>
<jacoco-version>0.8.6</jacoco-version>
Expand All @@ -33,7 +33,7 @@
<tycho.testArgLine>-Xms256m -Xmx1024m</tycho.testArgLine>

<!-- for packaging -->
<platform-name>2019-06</platform-name>
<platform-name>2021-06</platform-name>
<eclipse-repo.url>http://download.eclipse.org/releases/${platform-name}</eclipse-repo.url>
<packagedAddonName>PDTTooling</packagedAddonName>
</properties>
Expand Down Expand Up @@ -125,6 +125,7 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<executionEnvironment>JavaSE-14</executionEnvironment>
<target>
<artifact>
<groupId>org.polarsys</groupId>
Expand Down
Loading

0 comments on commit 6bc5bc5

Please sign in to comment.