@@ -0,0 +1,41 @@
4+ stage('Preparation') {
7+ git 'https://github.com/ubports/unity8.git'
11+ stage('Build source') {
13+ sh 'rm -f ./* || true'
15+export GIT_COMMIT=$(git rev-parse HEAD)
16+export GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
18+/usr/bin/generate-git-snapshot
22+ stage('Build binary - armhf') {
24+ sh '''export architecture="armhf"
26+/usr/bin/generate-reprepro-codename "${REPOS}"
27+/usr/bin/build-and-provide-package'''
32+ archiveArtifacts '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo'
37+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true)