Skip to content

Commit 1c71bd3

Browse files
committed
Publish bleeding edge builds to download.eclipse.org
Fixes #966
1 parent 139fe3d commit 1c71bd3

File tree

5 files changed

+55
-8
lines changed

5 files changed

+55
-8
lines changed

Downloads.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -437,11 +437,6 @@ Archived p2 repos:
437437
There is limited information preserved about these old releases. Some of the download files are available on <https://archive.eclipse.org/tools/cdt/releases/> and <https://archive.eclipse.org/tools/cdt/updates/>
438438
</details>
439439

440-
### Development Builds
441-
442-
Development builds of the Eclipse C/C++ IDE can be found on the [Eclipse Downloads page](https://www.eclipse.org/downloads/packages/) by clicking on the Eclipse Developer Builds tab.
443-
444-
Bleeding edge continuous (aka nightly) builds are available from the [cdt/main Jenkins build page](https://ci.eclipse.org/cdt/job/cdt/job/main/) and the p2 software repository: <https://ci.eclipse.org/cdt/job/cdt/job/main/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository/>
445440

446441
### Additional Distributions
447442

FAQ/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ update site.
280280

281281
2. You can take the bleeding edge updates from nightly builds (they are
282282
usually quite stable). The update site for most recent nightly builds is
283-
<http://download.eclipse.org/tools/cdt/builds/master/nightly>
283+
<https://download.eclipse.org/tools/cdt/builds/cdt/main/>
284284

285285
#### I can't find the CDT download for the XXX operating system?
286286

@@ -2413,7 +2413,7 @@ The path to windres.exe must be known to eclipse.
24132413
24142414
#### How do I get a more recent build than is on the downloads page?
24152415
2416-
<http://download.eclipse.org/tools/cdt/builds/>
2416+
<https://download.eclipse.org/tools/cdt/builds/cdt/main/>
24172417
24182418
These plugin builds can be installed for use in the usual way via
24192419
Software Updates -\> Find and Install... but are packed which the

Jenkinsfile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,39 @@ pipeline {
5959
}
6060
}
6161
}
62+
stage('Deploy Snapshot') {
63+
steps {
64+
container('jnlp') {
65+
timeout(activity: true, time: 20) {
66+
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
67+
sh '''
68+
SSHUSER="genie.cdt@projects-storage.eclipse.org"
69+
SSH="ssh ${SSHUSER}"
70+
SCP="scp"
71+
72+
73+
DOWNLOAD=download.eclipse.org/tools/cdt/builds/cdt/$BRANCH_NAME
74+
DOWNLOAD_MOUNT=/home/data/httpd/$DOWNLOAD
75+
76+
# Deploying build to nightly location on download.eclipse.org
77+
if $SSH test -e ${DOWNLOAD_MOUNT}-new; then
78+
$SSH rm -r ${DOWNLOAD_MOUNT}-new
79+
fi
80+
if $SSH test -e ${DOWNLOAD_MOUNT}-last; then
81+
$SSH rm -r ${DOWNLOAD_MOUNT}-last
82+
fi
83+
$SSH mkdir -p ${DOWNLOAD_MOUNT}-new
84+
$SCP -rp releng/org.eclipse.cdt.repo/target/repository/* "${SSHUSER}:"${DOWNLOAD_MOUNT}-new
85+
if $SSH test -e ${DOWNLOAD_MOUNT}; then
86+
$SSH mv ${DOWNLOAD_MOUNT} ${DOWNLOAD_MOUNT}-last
87+
fi
88+
$SSH mv ${DOWNLOAD_MOUNT}-new ${DOWNLOAD_MOUNT}
89+
'''
90+
}
91+
}
92+
}
93+
}
94+
}
6295
}
6396
post {
6497
always {

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,21 @@ See also https://projects.eclipse.org/projects/tools.cdt and https://eclipse.org
1414

1515
## Download
1616

17-
The recommended way to obtain Eclipse CDT is to download it as part of the complete *Eclipse IDE for C/C++ Developers* or *Eclipse IDE for Embedded C/C++ Developers* or *Eclipse IDE for Scientific Computing* from the main [Eclipse IDE download site](https://eclipseide.org/release/).
17+
The recommended way to obtain Eclipse CDT is to download it as part of the complete *Eclipse IDE for C/C++ Developers* or *Eclipse IDE for Embedded C/C++ Developers* from the main [Eclipse IDE download site](https://eclipseide.org/release/).
1818

1919
Alternatively Eclipse CDT can be installed into an existing Eclipse installation using this p2 URL: `https://download.eclipse.org/tools/cdt/releases/latest/` ([see how](https://help.eclipse.org/topic/org.eclipse.platform.doc.user/tasks/tasks-127.htm))
2020

21+
### Download Development Builds
22+
23+
Milestone builds of the *Eclipse IDE for C/C++ Developers* or *Eclipse IDE for Embedded C/C++ Developers* can be found on the [Eclipse Downloads page](https://www.eclipse.org/downloads/packages/) by clicking on the Eclipse Developer Builds tab (only present when there is a milestone build newer than the latest release).
24+
25+
Alternatively, milestone builds of Eclipse CDT can be installed into an existing Eclipse installation using one of the p2 URLs in: <https://download.eclipse.org/tools/cdt/builds> ([see how](https://help.eclipse.org/topic/org.eclipse.platform.doc.user/tasks/tasks-127.htm)).
26+
See [cdt.aggrcon](https://github.com/eclipse-simrel/simrel.build/blob/main/cdt.aggrcon#L3) for which milestone is currently contributed to Eclipse SimRel.
27+
28+
Bleeding edge continuous (aka nightly) builds are available for the main branch from the p2 software repository: `https://download.eclipse.org/tools/cdt/builds/cdt/main/`
29+
30+
### Download older versions
31+
2132
Downloads links for older versions are available in [Downloads](Downloads.md).
2233

2334
## Help & Support

jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ spec:
2020
readOnly: true
2121
- name: m2-repo
2222
mountPath: /home/jenkins/.m2/repository
23+
- name: volume-known-hosts
24+
mountPath: /home/jenkins/.ssh
2325
- name: "jenkins-home"
2426
mountPath: "/home/jenkins"
2527
readOnly: false
@@ -33,6 +35,9 @@ spec:
3335
limits:
3436
memory: "512Mi"
3537
cpu: "500m"
38+
volumeMounts:
39+
- name: volume-known-hosts
40+
mountPath: /home/jenkins/.ssh
3641
volumes:
3742
- name: settings-xml
3843
secret:
@@ -42,6 +47,9 @@ spec:
4247
path: settings.xml
4348
- name: m2-repo
4449
emptyDir: {}
50+
- name: volume-known-hosts
51+
configMap:
52+
name: known-hosts
4553
- name: "jenkins-home"
4654
emptyDir: {}
4755
- name: tools

0 commit comments

Comments
 (0)