on xenial help sign in
Imported to UBports
commit7821dc875cb1eb59ab1ff828369734140dbca7ae authorMarius Gripsgard <mariogrip@ubuntu.com> dateMon 31 Jul 2017, 03:12 (9 years ago) parent9f75d6d
3 files changed+44−1
Jenkinsfile+38 debian/changelog+6 debian/source/format−1
Jenkinsfilenew file+38
@@ -0,0 +1,38 @@
1+pipeline {
2+ agent any
3+ stages {
4+ stage('Build source') {
5+ steps {
6+ sh '/usr/bin/build-source.sh'
7+ stash(name: 'source', includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt')
8+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
9+ }
10+ }
11+ stage('Build binary - armhf') {
12+ steps {
13+ node(label: 'xenial-arm64') {
14+ unstash 'source'
15+ sh '''export architecture="armhf"
16+export BUILD_ONLY=true
17+/usr/bin/build-and-provide-package'''
18+ stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build')
19+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
20+ }
21+
22+ }
23+ }
24+ stage('Results') {
25+ steps {
26+ unstash 'build'
27+ archiveArtifacts(artifacts: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo', fingerprint: true, onlyIfSuccessful: true)
28+ sh '''export architecture="armhf"
29+/usr/bin/build-repo.sh'''
30+ }
31+ }
32+ stage('Cleanup') {
33+ steps {
34+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
35+ }
36+ }
37+ }
38+}
debian/changelog+6
@@ -1,3 +1,9 @@
1+unity8 (8.16+ubports) vivid; urgency=medium
2+
3+ * Imported to UBports
4+
5+ -- UBports auto importer <infra@ubports.com> Mon, 31 Jul 2017 03:12:43 +0200
6+
17unity8 (8.15+17.04.20161129-0ubuntu1) zesty; urgency=medium
28
39 [ Albert Astals Cid ]
debian/source/formatdeleted−1
@@ -1 +0,0 @@
1−1.0