aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile38
-rw-r--r--debian/changelog6
-rw-r--r--debian/source/format1
3 files changed, 44 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..1401405
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,38 @@
+pipeline {
+ agent any
+ stages {
+ stage('Build source') {
+ steps {
+ sh '/usr/bin/build-source.sh'
+ stash(name: 'source', includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt')
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ }
+ }
+ stage('Build binary - armhf') {
+ steps {
+ node(label: 'xenial-arm64') {
+ unstash 'source'
+ sh '''export architecture="armhf"
+export BUILD_ONLY=true
+/usr/bin/build-and-provide-package'''
+ stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build')
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ }
+
+ }
+ }
+ stage('Results') {
+ steps {
+ unstash 'build'
+ archiveArtifacts(artifacts: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo', fingerprint: true, onlyIfSuccessful: true)
+ sh '''export architecture="armhf"
+/usr/bin/build-repo.sh'''
+ }
+ }
+ stage('Cleanup') {
+ steps {
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ }
+ }
+ }
+}
diff --git a/debian/changelog b/debian/changelog
index 5fcb489..29f6270 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+indicator-bluetooth (0.0.7+ubports) zesty; urgency=medium
+
+ * Imported to UBports
+
+ -- UBports auto importer <infra@ubports.com> Sun, 23 Jul 2017 17:24:48 +0200
+
indicator-bluetooth (0.0.6+17.04.20161023-0ubuntu1) zesty; urgency=medium
[ Ted Gould ]
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index d3827e7..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-1.0