From f279e4e6cc13dc6bf7bf6b46008dbd3f608b97c3 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 14 Mar 2017 12:36:34 -0400 Subject: [PATCH] jjb: Remove tracecompass Signed-off-by: Michael Jeanson --- jobs/tracecompass.yml | 252 -------------------------- scripts/tracecompass/launch-wm.sh | 32 ---- scripts/tracecompass/set-java-home.sh | 14 -- 3 files changed, 298 deletions(-) delete mode 100644 jobs/tracecompass.yml delete mode 100644 scripts/tracecompass/launch-wm.sh delete mode 100644 scripts/tracecompass/set-java-home.sh diff --git a/jobs/tracecompass.yml b/jobs/tracecompass.yml deleted file mode 100644 index f9c049a..0000000 --- a/jobs/tracecompass.yml +++ /dev/null @@ -1,252 +0,0 @@ -- defaults: - name: tracecompass - description: | - Nightly build of Trace Compass. - -

Job is managed by Jenkins Job Builder.

- - project-type: freestyle - - wrappers: - - workspace-cleanup - - timestamps - - ansicolor - - scm: - - git: - url: git://github.com/{github_user}/{github_name}.git - browser: githubweb - browser-url: https://github.com/{github_user}/{github_name} - branches: - - origin/{version} - - triggers: - - pollscm: - cron: "@hourly" - - properties: - - build-discarder: - num-to-keep: 2 - - github: - url: https://github.com/{github_user}/{github_name} - - -## Templates -- job-template: - name: tracecompass_{version}_build - defaults: tracecompass - - project-type: matrix - node: 'master' # Applies only to matrix flyweight task - axes: - - axis: - type: slave - name: arch - values: '{obj:arch}' - - axis: - type: user-defined - name: wm - values: '{obj:wm}' - - axis: - type: user-defined - name: SWT_GTK3 - values: - - "0" - - "1" - - axis: - type: user-defined - name: target-platform - values: '{obj:target_platform}' - - axis: - type: user-defined - name: java_version - values: '{obj:java_version}' - - wrappers: - - workspace-cleanup - - timestamps - - ansicolor - - xvfb: - installation-name: xvfb - auto-display-name: true - parallel-build: false - screen: 1024x768x24 - - timeout: - timeout: 120 - fail: true - type: absolute - - env-script: - script-content: - !include-raw-escape: scripts/tracecompass/set-java-home.sh - - builders: - - shell: - !include-raw-escape: scripts/tracecompass/launch-wm.sh - - maven-target: - maven-version: "Maven 3.3.3" - goals: "-version" - private-repository: true - - maven-target: - maven-version: "Maven 3.3.3" - goals: clean install -Pctf-grammar,build-rcp - settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' - properties: - - maven.test.failure.ignore=true - - eclipse.p2.mirrors=false - - publishers: - - archive: - artifacts: 'releng/org.eclipse.tracecompass.releng-site/target/repository/**,rcp/org.eclipse.tracecompass.rcp.product/target/repository/**' - allow-empty: false - only-if-success: true - - junit: - results: '**/*.test*/target/surefire-reports/*.xml' - - workspace-cleanup - - email-ext: - recipients: alex@voxpopuli.im - matrix-trigger: only-parent - - ircbot: - strategy: new-failure-and-fixed - matrix-notifier: only-parent - channels: - - name: '#efficios' - - -- job-template: - name: tracecompass_{version}_winbuild - defaults: tracecompass - - project-type: matrix - node: 'master' # Applies only to matrix flyweight task - axes: - - axis: - type: slave - name: arch - values: '{obj:arch}' - - axis: - type: user-defined - name: target-platform - values: '{obj:target_platform}' - - scm: - - git: - #url: git://github.com/tracecompass/tracecompass.git - url: git://github.com/alexmonthy/tracecompass.git - browser: githubweb - browser-url: https://github.com/tracecompass/tracecompass - branches: - - origin/{version} - git-tool: 'jgit' # Use jgit on windows to work around path too long - - wrappers: - - workspace-cleanup - - timestamps - - ansicolor - - timeout: - timeout: 120 - fail: true - type: absolute - - builders: - - maven-target: - maven-version: "Maven 3.3.3" - goals: clean install -Pctf-grammar,build-rcp - private-repository: true - settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig1447974054868' - properties: - - maven.test.failure.ignore=true - - eclipse.p2.mirrors=false - - publishers: - - archive: - artifacts: 'releng/org.eclipse.tracecompass.releng-site/target/repository/**,rcp/org.eclipse.tracecompass.rcp.product/target/repository/**' - allow-empty: false - only-if-success: true - - junit: - results: '**/*.test*/target/surefire-reports/*.xml' - - workspace-cleanup - - email-ext: - recipients: alex@voxpopuli.im - matrix-trigger: only-parent - - ircbot: - strategy: new-failure-and-fixed - matrix-notifier: only-parent - channels: - - name: '#efficios' - - -- job-template: - name: tracecompass_{version}_macosxbuild - defaults: tracecompass - - project-type: matrix - node: 'master' # Applies only to matrix flyweight task - axes: - - axis: - type: user-defined - name: target-platform - values: '{obj:target_platform}' - - wrappers: - - workspace-cleanup - - timestamps - - ansicolor - - timeout: - timeout: 120 - fail: true - type: absolute - - builders: - - maven-target: - maven-version: "Maven 3.3.3" - goals: "-version" - private-repository: true - - maven-target: - maven-version: "Maven 3.3.3" - goals: clean install -Pctf-grammar,build-rcp - private-repository: true - properties: - - maven.test.failure.ignore=true - - eclipse.p2.mirrors=false - - publishers: - - archive: - artifacts: 'releng/org.eclipse.tracecompass.releng-site/target/repository/**,rcp/org.eclipse.tracecompass.rcp.product/target/repository/**' - allow-empty: false - only-if-success: true - - junit: - results: '**/*.test*/target/surefire-reports/*.xml' - - workspace-cleanup - - email-ext: - recipients: alex@voxpopuli.im - matrix-trigger: only-parent - - ircbot: - strategy: new-failure-and-fixed - matrix-notifier: only-parent - channels: - - name: '#efficios' - - -## Project -- project: - name: tracecompass - github_user: alexmonthy - github_name: tracecompass - version: - - master - - tc-next - jobs: - - 'tracecompass_{version}_build': - arch: !!python/tuple [x86-32, x86-64] - wm: !!python/tuple [metacity, unity] - target_platform: !!python/tuple [tracecompass-e4.5, tracecompass-eStaging] - java_version: !!python/tuple [java-8-openjdk] - - - 'tracecompass_{version}_winbuild': - arch: !!python/tuple [win64] - target_platform: !!python/tuple [tracecompass-e4.5, tracecompass-eStaging] - - - 'tracecompass_{version}_macosxbuild': - arch: !!python/tuple [macosx] - target_platform: !!python/tuple [tracecompass-e4.5, tracecompass-eStaging] - diff --git a/scripts/tracecompass/launch-wm.sh b/scripts/tracecompass/launch-wm.sh deleted file mode 100644 index 85318e8..0000000 --- a/scripts/tracecompass/launch-wm.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -xue -# -# Copyright (C) 2015 - Alexandre Montplaisir -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - -# Launch the window manager defined by the configuration -case "$wm" in - "unity") - $wm & - ;; - - "metacity") - $wm --replace --sm-disable & - ;; - - *) - exit 1 - ;; -esac diff --git a/scripts/tracecompass/set-java-home.sh b/scripts/tracecompass/set-java-home.sh deleted file mode 100644 index 5788cf1..0000000 --- a/scripts/tracecompass/set-java-home.sh +++ /dev/null @@ -1,14 +0,0 @@ -# Set the JAVA_HOME to use according to the configuration - -case "$arch" in - "x86-32") - ARCH_SUFFIX="i386" - ;; - "x86-64") - ARCH_SUFFIX="amd64" - ;; - "*") - ARCH_SUFFIX="$arch" -esac - -echo "JAVA_HOME=/usr/lib/jvm/${java_version}-$ARCH_SUFFIX/jre" -- 2.34.1