From ec3f329b3e0473cc76b6652acb0a1596ee5ac12f Mon Sep 17 00:00:00 2001 From: Marius Gripsgard Date: Sun, 23 Jul 2017 17:24:48 +0200 Subject: Imported to UBports --- Jenkinsfile | 38 ++++++++++++++++++++++++++++++++++++++ debian/changelog | 6 ++++++ debian/source/format | 1 - 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 Jenkinsfile delete mode 100644 debian/source/format 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 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 -- cgit v1.2.3