Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
shallow-clone: true
skip-tag: true
fastpoll: true
shallow-clone: true
skip-tag: true
fastpoll: true
+ basedir: src/lttng-modules
target: 'deps/linux'
do-not-fingerprint: true
- shell: |
target: 'deps/linux'
do-not-fingerprint: true
- shell: |
- git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
+ git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
- shell:
!include-raw-escape: scripts/lttng-modules/build.sh
- shell:
!include-raw-escape: scripts/lttng-modules/build.sh
description: 'The lowest kernel version to build.'
- string:
name: 'kgitrepo'
description: 'The lowest kernel version to build.'
- string:
name: 'kgitrepo'
- default: 'git://artifacts.internal.efficios.com/git/linux-stable.git'
+ default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
description: 'The lowest kernel version to build.'
- string:
name: 'kgitrepo'
description: 'The lowest kernel version to build.'
- string:
name: 'kgitrepo'
- default: 'git://artifacts.internal.efficios.com/git/ubuntu-{uversion}.git'
+ default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
description: 'The lowest kernel version to build.'
- string:
name: 'kgitrepo'
description: 'The lowest kernel version to build.'
- string:
name: 'kgitrepo'
- default: 'git://artifacts.internal.efficios.com/git/linux-rt-devel.git'
+ default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
description: 'The linux kernel git tag to build against.'
- string:
name: 'kgitrepo'
description: 'The linux kernel git tag to build against.'
- string:
name: 'kgitrepo'
- default: 'git://artifacts.internal.efficios.com/git/linux-stable.git'
+ default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
description: 'The linux kernel git repository url.'
concurrent: true
description: 'The linux kernel git repository url.'
concurrent: true
- pollscm:
cron: "@daily"
- pollscm:
cron: "@daily"
- scm:
- - git:
- url: git://github.com/lttng/lttng-modules.git
- browser: githubweb
- browser-url: https://github.com/lttng/lttng-modules
- branches:
- - "{mversion}"
-
wrappers:
- workspace-cleanup
- timestamps
wrappers:
- workspace-cleanup
- timestamps
- git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
- cd linux
+ git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
+ cd src/linux
make defconfig
sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
make modules_prepare
make defconfig
sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
make modules_prepare
- shell:
!include-raw-escape: scripts/common/coverity.sh
- shell:
!include-raw-escape: scripts/common/coverity.sh
- pollscm:
cron: "@daily"
- pollscm:
cron: "@daily"
- scm:
- - git:
- url: git://github.com/lttng/lttng-modules.git
- browser: githubweb
- browser-url: https://github.com/lttng/lttng-modules
- branches:
- - "{mversion}"
-
builders:
- shell: |
rm -f cppcheck.xml
builders:
- shell: |
rm -f cppcheck.xml
- cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck.xml
+ cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
export LD_LIBRARY_PATH="$UST_LIBS:${LD_LIBRARY_PATH:-}"
fi
export LD_LIBRARY_PATH="$UST_LIBS:${LD_LIBRARY_PATH:-}"
fi
-if [ -d "$WORKSPACE/linux" ]; then
- export KERNELDIR="$WORKSPACE/linux"
+if [ -d "$WORKSPACE/src/linux" ]; then
+ export KERNELDIR="$WORKSPACE/src/linux"
# Use all CPU cores
NPROC=$(nproc)
# Use all CPU cores
NPROC=$(nproc)
-SRCDIR="${WORKSPACE}/lttng-modules"
+SRCDIR="${WORKSPACE}/src/lttng-modules"
BUILDDIR="${WORKSPACE}/build"
BUILDDIR="${WORKSPACE}/build"
-LNXSRCDIR="${WORKSPACE}/linux"
+LNXSRCDIR="${WORKSPACE}/src/linux"
LNXBINDIR="${WORKSPACE}/deps/linux/build"
# Create build directory
LNXBINDIR="${WORKSPACE}/deps/linux/build"
# Create build directory
def kernelStr = b.buildVariableResolver.resolve("kversion")
println "${b.fullDisplayName} (${kernelStr}) completed with status ${b.result}"
// Cleanup builds
def kernelStr = b.buildVariableResolver.resolve("kversion")
println "${b.fullDisplayName} (${kernelStr}) completed with status ${b.result}"
// Cleanup builds
+ try {
+ b.delete()
+ } catch (all) {}
}
// Mark this build failed if any child build has failed
}
// Mark this build failed if any child build has failed
def kernelStr = b.buildVariableResolver.resolve("kversion")
println "${b.fullDisplayName} (${kernelStr}) completed with status ${b.result}"
// Cleanup builds
def kernelStr = b.buildVariableResolver.resolve("kversion")
println "${b.fullDisplayName} (${kernelStr}) completed with status ${b.result}"
// Cleanup builds
+ try {
+ b.delete()
+ } catch (all) {}
}
// Mark this build failed if any child build has failed
}
// Mark this build failed if any child build has failed
def kernelStr = b.buildVariableResolver.resolve("kversion")
println "${b.fullDisplayName} (${kernelStr}) completed with status ${b.result}"
// Cleanup builds
def kernelStr = b.buildVariableResolver.resolve("kversion")
println "${b.fullDisplayName} (${kernelStr}) completed with status ${b.result}"
// Cleanup builds
+ try {
+ b.delete()
+ } catch (all) {}
}
// Mark this build failed if any child build has failed
}
// Mark this build failed if any child build has failed