Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
CDT 10.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed Jun 8, 2022
1 parent 9db6f7b commit 32c59d5
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 4 deletions.
12 changes: 12 additions & 0 deletions download/releases/10.7/compositeArtifacts.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
<repository name='CDT 10.7 Update Site'
type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
<properties size='1'>
<!-- timestamp made with date +%s%3N -->
<property name='p2.timestamp' value='1654707443791'/>
</properties>
<children size='3'>
<child location='cdt-10.7.0'/>
</children>
</repository>
12 changes: 12 additions & 0 deletions download/releases/10.7/compositeContent.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='CDT 10.7 Update Site'
type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
<properties size='1'>
<!-- timestamp made with date +%s%3N -->
<property name='p2.timestamp' value='1654707443791'/>
</properties>
<children size='3'>
<child location='cdt-10.7.0'/>
</children>
</repository>
4 changes: 2 additions & 2 deletions download/releases/latest/compositeArtifacts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
<properties size='1'>
<!-- timestamp made with date +%s%3N -->
<property name='p2.timestamp' value='1646786966676'/>
<property name='p2.timestamp' value='1654707443791'/>
</properties>
<children size='1'>
<child location='../10.6'/>
<child location='../10.7'/>
</children>
</repository>
4 changes: 2 additions & 2 deletions download/releases/latest/compositeContent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
<properties size='1'>
<!-- timestamp made with date +%s%3N -->
<property name='p2.timestamp' value='1646786966676'/>
<property name='p2.timestamp' value='1654707443791'/>
</properties>
<children size='1'>
<child location='../10.6'/>
<child location='../10.7'/>
</children>
</repository>
68 changes: 68 additions & 0 deletions jenkins/pipelines/cdt/cdt-10.7.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
pipeline {
agent {
kubernetes {
yamlFile 'jenkins/pod-templates/cdt-full-pod-standard.yaml'
}
}
options {
timestamps()
disableConcurrentBuilds()
}
stages {
stage('Process info') {
steps {
container('cdt') {
timeout(activity: true, time: 20) {
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) {
sh "ps -AHf"
sh "cat /etc/passwd | tail -1"
}
}
}
}
}
stage('Git Clone') {
steps {
container('cdt') {
timeout(activity: true, time: 20) {
/* Running the git fetch command manually is a workaround. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=560283#c16 */
sh 'git config remote.origin.url https://git.eclipse.org/r/cdt/org.eclipse.cdt.git'
/* Workaround for Bug 568904 */
sh 'git config protocol.version 1'
sh 'git fetch --no-tags --force --progress -- https://git.eclipse.org/r/cdt/org.eclipse.cdt.git +refs/heads/*:refs/remotes/origin/*'
}
checkout([$class: 'GitSCM', branches: [[name: '*/cdt_10_7']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CheckoutOption', timeout: 20], [$class: 'CloneOption', depth: 0, noTags: true, reference: '', shallow: false, timeout: 20]], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.eclipse.org/r/cdt/org.eclipse.cdt.git']]])
}
}
}
stage('Run build') {
steps {
container('cdt') {
timeout(activity: true, time: 20) {
withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) {
sh "/usr/share/maven/bin/mvn \
clean verify -B -V \
-Dmaven.test.failure.ignore=true \
-DexcludedGroups=flakyTest,slowTest \
-P baseline-compare-and-replace \
-Ddsf.gdb.tests.timeout.multiplier=50 \
-Dindexer.timeout=300 \
-P production \
-Dmaven.repo.local=/home/jenkins/.m2/repository \
--settings /home/jenkins/.m2/settings.xml \
"
}
}
}
}
}
}
post {
always {
container('cdt') {
junit '*/*/target/surefire-reports/*.xml,terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/*.xml'
archiveArtifacts '*/*/target/surefire-reports/**,terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/**,**/target/work/data/.metadata/.log,releng/org.eclipse.cdt.repo/target/org.eclipse.cdt.repo.zip,releng/org.eclipse.cdt.repo/target/repository/**,releng/org.eclipse.cdt.testing.repo/target/org.eclipse.cdt.testing.repo.zip,releng/org.eclipse.cdt.testing.repo/target/repository/**,debug/org.eclipse.cdt.debug.application.product/target/product/*.tar.gz,debug/org.eclipse.cdt.debug.application.product/target/products/*.zip,debug/org.eclipse.cdt.debug.application.product/target/products/*.tar.gz,debug/org.eclipse.cdt.debug.application.product/target/repository/**,lsp4e-cpp/org.eclipse.lsp4e.cpp.site/target/repository/**,lsp4e-cpp/org.eclipse.lsp4e.cpp.site/target/org.eclipse.lsp4e.cpp.repo.zip'
}
}
}
}
1 change: 1 addition & 0 deletions scripts/promote-files-to-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ fi
$ECHO $SSH mkdir -p "${DOWNLOAD}/releases/latest/"
$ECHO $SCP ./download/releases/latest/* "${SSHUSER}:${DOWNLOAD}/releases/latest/"
$ECHO $SCP ./download/releases/10.6/* "${SSHUSER}:${DOWNLOAD}/releases/10.6/"
$ECHO $SCP ./download/releases/10.7/* "${SSHUSER}:${DOWNLOAD}/releases/10.7/"

0 comments on commit 32c59d5

Please sign in to comment.