2 docker.image('gstreamer/build-meson-fedora:latest').inside {
4 env.CCACHE_DIR = "${env.WORKSPACE}/.ccache"
5 env.CCACHE_MAXSIZE = "2G"
9 env.PATH = "${env.WORKSPACE}:${env.PATH}"
10 env.HOME="${env.WORKSPACE}"
17 checkout([$class: 'GitSCM', branches: [[name: '*/master']],
18 doGenerateSubmoduleConfigurations: false,
19 extensions: [[$class: 'CloneOption',
22 reference: '/gstbuild/gst-build/',
25 userRemoteConfigs: [[url: 'git://anongit.freedesktop.org/gstreamer/gst-build']]]
27 sh 'git checkout master && git reset --hard origin/master'
28 sh 'curl "https://git.arracacha.collabora.co.uk/cgit/gst-manifest.git/plain/default.xml?id=$BUILD_TAG" -k -o manifest.xml'
32 sh './git-update --no-color --manifest=manifest.xml --no-interaction'
33 sh './setup.py -Ddisable_gstreamer_vaapi=true'
41 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"
43 step([$class: 'XUnitBuilder',
44 testTimeMargin: '3000', thresholdMode: 1,
45 thresholds: [[$class: 'FailedThreshold',
46 failureNewThreshold: '',
47 failureThreshold: '5',
48 unstableNewThreshold: '',
49 unstableThreshold: '1'],
50 [$class: 'SkippedThreshold',
51 failureNewThreshold: '',
53 unstableNewThreshold: '',
54 unstableThreshold: '']],
55 tools: [[$class: 'JUnitType',
56 deleteOutputFiles: true,
59 skipNoTestFiles: true,
60 stopProcessingIfError: true]]])
65 sh 'DESTDIR=$PWD/dest ninja -C build install'
68 sh 'cd dest && tar caJf gstreamer-$BUILD_TAG.tar.xz usr'