Skip to content
Permalink
Browse files

[releng] split projects in categories

  • Loading branch information
vladdu committed Jul 21, 2017
1 parent 6eee90d commit 8152be5f3ff06bbeadcc52f23d3a1b31c9cf28c9
Showing 2,817 changed files with 4,705 additions and 4,633 deletions.
@@ -1,8 +1,6 @@
.eunit
deps/
*.o
*.beam
!org.erlide.kernel/**/*.beam
*.plt
erl_crash.dump
target/
@@ -15,7 +13,6 @@ hs_err_pid*

workspaces
**/bin/
**/ebin/
*.orig
*.rej
hs_err*.log
@@ -38,7 +35,7 @@ ttb_last_config
.sonar

Rerun\ *.launch
org.erlide.ui.tests/projects/Erlide_tests (1).launch
tests/org.erlide.ui.tests/projects/Erlide_tests (1).launch

buildroot/
coverage.data
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>erlide_eclipse</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
File renamed without changes.
File renamed without changes.

This file was deleted.

This file was deleted.

@@ -53,7 +53,6 @@ pipeline {
}
}


}

///////////////////////////////////
@@ -76,20 +75,18 @@ def checkout() {
}

def compile() {
dir('org.erlide.parent') {
sh "chmod u+x mvnw"
def product
if(env.BRANCH_NAME=="master")
product=",build-product"
else
product=""
profiles="help${product}"
wrap([$class: 'Xvfb', displayNameOffset: 100, installationName: 'xvfb', screen: '1024x768x24']) {
sh "PATH=$PATH:~jenkins/erlide_tools && ./mvnw -B -U clean verify -P ${profiles} -Dmaven.test.failure.ignore=true -X"
}
if(env.BRANCH_NAME=="master") {
// TODO rename product artifacts
}
sh "chmod u+x mvnw"
def product
if(env.BRANCH_NAME=="master")
product=",build-product"
else
product=""
profiles="help${product}"
wrap([$class: 'Xvfb', displayNameOffset: 100, installationName: 'xvfb', screen: '1024x768x24']) {
sh "PATH=$PATH:~jenkins/erlide_tools && ./mvnw -B -U clean verify -P ${profiles} -Dmaven.test.failure.ignore=true -X"
}
if(env.BRANCH_NAME=="master") {
// TODO rename product artifacts
}
}

@@ -105,16 +102,16 @@ def analyze() {

def archive() {
sh 'rm -rf VSN'
sh 'ls org.erlide.site/target/repository/features/org.erlide_*.jar | xargs basename > VSN || true'
sh 'ls releng/org.erlide.site/target/repository/features/org.erlide_*.jar | xargs basename > VSN || true'
def archive = readFile('VSN').trim().replace('.jar', '.zip')
if(archive != '') {
dir('org.erlide.site/target/repository') {
dir('releng/org.erlide.site/target/repository') {
sh "zip -r ${archive} * "
step([$class: 'ArtifactArchiver', artifacts: archive, fingerprint: true])
}
}
if(env.BRANCH_NAME=="master") {
step([$class: 'ArtifactArchiver', artifacts: 'org.erlide.product.site/target/products/*.zip', fingerprint: true])
step([$class: 'ArtifactArchiver', artifacts: 'releng/org.erlide.product.site/target/products/*.zip', fingerprint: true])
}
return archive
}
@@ -165,7 +162,7 @@ def publish(def archive) {
def full_dest = "${output_base}/archive/${repo}/${dest}"
sh "umask 002"
sh "mkdir -p ${full_dest}"
sh "cp -r org.erlide.site/target/repository/* ${full_dest}"
sh "cp -r releng/org.erlide.site/target/repository/* ${full_dest}"
sh "chown -R :www-data ${full_dest}"

if(kind == "R") {
@@ -184,7 +181,7 @@ def run_eclipse(def dir, def opts) {

def p2_add_composite(def dir, def base) {
def relpath = java.nio.file.Paths.get(base).relativize(java.nio.file.Paths.get(dir)).toString()
sh "chmod u+x org.erlide.releng/comp-repo.sh && org.erlide.releng/comp-repo.sh ${base} --eclipse ${env.HOME}/erlide_tools/buckminster/ add ${relpath}"
sh "chmod u+x releng/org.erlide.releng/comp-repo.sh && releng/org.erlide.releng/comp-repo.sh ${base} --eclipse ${env.HOME}/erlide_tools/buckminster/ add ${relpath}"
}

def generate_version_info(def vsn, def base) {
@@ -237,13 +234,13 @@ def publishRelease(def archive) {
def release = readFile('RELEASE').trim()
def info = getReleaseInfo(release)
def release_id = info[1]
sh "curl -X POST --header \"Content-Type:application/edn\" --data-binary @org.erlide.site/target/repository/${archive} https://uploads.github.com/repos/${owner}/${repository}/releases/${release_id}/assets?access_token=${access_token}\\&name=${archive}"
sh "curl -X POST --header \"Content-Type:application/edn\" --data-binary @releng/org.erlide.site/target/repository/${archive} https://uploads.github.com/repos/${owner}/${repository}/releases/${release_id}/assets?access_token=${access_token}\\&name=${archive}"

// publish help to github.io
val dest = "org.erlide.help/target/erlide.github.io"
val dest = "plugins/org.erlide.help/target/erlide.github.io"
sh "rm -rf ${dest} && mkdir -p ${dest}"
sh "git clone --depth 1 git@github.com:erlide/erlide.github.io -b master ${dest}"
sh "cp -R org.erlide.help/articles/* ${dest}/articles/eclipse"
sh "cp -R plugins/org.erlide.help/articles/* ${dest}/articles/eclipse"
dir(dest) {
sh "git add . && git commit -a -m 'autoupdate eclipse docs (${vsn})' && git push origin master"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.erlide</groupId>
<artifactId>org.erlide.parent</artifactId>
<version>1.0.0</version>
<relativePath>../..</relativePath>
</parent>

<artifactId>org.erlide.jvmcheck</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.erlide</groupId>
<artifactId>org.erlide.parent</artifactId>
<version>1.0.0</version>
<relativePath>../..</relativePath>
</parent>

<artifactId>org.erlide.licenses</artifactId>
<version>1.0.1</version>
<packaging>eclipse-feature</packaging>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.erlide</groupId>
<artifactId>org.erlide.wrangler.parent</artifactId>
<version>1.0.0</version>
<relativePath>../..</relativePath>
</parent>

<artifactId>org.erlide.wrangler</artifactId>
<version>0.10.7-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
File renamed without changes.
@@ -0,0 +1 @@
!ebin/*.beam
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.erlide</groupId>
<artifactId>org.erlide.wrangler.parent</artifactId>
<version>1.0.0</version>
<relativePath>../..</relativePath>
</parent>

<artifactId>org.erlide.wrangler.core</artifactId>
<version>0.9.15-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
</properties>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.