mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
jenkins: Update meson-fedora
This commit is contained in:
parent
4da90f0d8c
commit
d023ae0eb2
1 changed files with 28 additions and 26 deletions
|
@ -15,14 +15,14 @@ node('docker') {
|
||||||
sh 'rm -Rf build/'
|
sh 'rm -Rf build/'
|
||||||
}
|
}
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
|
||||||
doGenerateSubmoduleConfigurations: false,
|
doGenerateSubmoduleConfigurations: false,
|
||||||
extensions: [[$class: 'CloneOption',
|
extensions: [[$class: 'CloneOption',
|
||||||
depth: 0,
|
depth: 0,
|
||||||
noTags: false,
|
noTags: false,
|
||||||
reference: '/gstbuild/gst-build/',
|
reference: '/gstbuild/gst-build/',
|
||||||
shallow: false]],
|
shallow: false]],
|
||||||
submoduleCfg: [],
|
submoduleCfg: [],
|
||||||
userRemoteConfigs: [[url: 'git://anongit.freedesktop.org/gstreamer/gst-build']]]
|
userRemoteConfigs: [[url: 'git://anongit.freedesktop.org/gstreamer/gst-build']]]
|
||||||
)
|
)
|
||||||
sh 'git checkout master && git reset --hard origin/master'
|
sh 'git checkout master && git reset --hard origin/master'
|
||||||
sh 'curl "https://git.arracacha.collabora.co.uk/cgit/gst-manifest.git/plain/default.xml?id=$BUILD_TAG" -k -o manifest.xml'
|
sh 'curl "https://git.arracacha.collabora.co.uk/cgit/gst-manifest.git/plain/default.xml?id=$BUILD_TAG" -k -o manifest.xml'
|
||||||
|
@ -41,29 +41,31 @@ node('docker') {
|
||||||
sh "./gst-uninstalled.py gst-validate-launcher --check-bugs --no-display --mute -n check --xunit-file $WORKSPACE/xunit.xml -M $WORKSPACE/validate-output --ignore-numfailures"
|
sh "./gst-uninstalled.py gst-validate-launcher --check-bugs --no-display --mute -n check --xunit-file $WORKSPACE/xunit.xml -M $WORKSPACE/validate-output --ignore-numfailures"
|
||||||
|
|
||||||
step([$class: 'XUnitBuilder',
|
step([$class: 'XUnitBuilder',
|
||||||
testTimeMargin: '3000', thresholdMode: 1,
|
testTimeMargin: '3000', thresholdMode: 1,
|
||||||
thresholds: [[$class: 'FailedThreshold',
|
thresholds: [[$class: 'FailedThreshold',
|
||||||
failureNewThreshold: '',
|
failureNewThreshold: '',
|
||||||
failureThreshold: '5',
|
failureThreshold: '5',
|
||||||
unstableNewThreshold: '',
|
unstableNewThreshold: '',
|
||||||
unstableThreshold: '1'],
|
unstableThreshold: '1'],
|
||||||
[$class: 'SkippedThreshold',
|
[$class: 'SkippedThreshold',
|
||||||
failureNewThreshold: '',
|
failureNewThreshold: '',
|
||||||
failureThreshold: '',
|
failureThreshold: '',
|
||||||
unstableNewThreshold: '',
|
unstableNewThreshold: '',
|
||||||
unstableThreshold: '']],
|
unstableThreshold: '']],
|
||||||
tools: [[$class: 'JUnitType',
|
tools: [[$class: 'JUnitType',
|
||||||
deleteOutputFiles: true,
|
deleteOutputFiles: true,
|
||||||
failIfNotNew: true,
|
failIfNotNew: true,
|
||||||
pattern: 'xunit.xml',
|
pattern: 'xunit.xml',
|
||||||
skipNoTestFiles: true,
|
skipNoTestFiles: true,
|
||||||
stopProcessingIfError: true]]])
|
stopProcessingIfError: true]]])
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('install') {
|
stage('install') {
|
||||||
sh 'mkdir -p dest'
|
sh 'mkdir -p dest'
|
||||||
sh 'DESTDIR=$PWD/dest ninja -C build install'
|
sh 'DESTDIR=$PWD/dest ninja -C build install'
|
||||||
}
|
}
|
||||||
|
stage('package') {
|
||||||
|
sh 'cd dest && tar caJf gstreamer-$BUILD_TAG.tar.xz usr'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue