aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Chapman <dpniel@ubuntu.com>2018-01-11 10:38:38 +0000
committerDan Chapman <dpniel@ubuntu.com>2018-01-11 10:38:38 +0000
commit5024aafdba098a7c4f481357c206c4cd1437ccf2 (patch)
tree3c5e83019bfe7de3e59915641cfccaaaef04a943
parentbcd3785ab39143355b09519ba2d4a20dcb38914a (diff)
downloadayatana-indicator-bluetooth-5024aafdba098a7c4f481357c206c4cd1437ccf2.tar.gz
ayatana-indicator-bluetooth-5024aafdba098a7c4f481357c206c4cd1437ccf2.tar.bz2
ayatana-indicator-bluetooth-5024aafdba098a7c4f481357c206c4cd1437ccf2.zip
Update Jenkinsfile
-rw-r--r--Jenkinsfile48
-rw-r--r--debian/changelog6
2 files changed, 44 insertions, 10 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 92a6db7..a122443 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -10,22 +10,50 @@ pipeline {
}
stage('Build binary - armhf') {
steps {
- node(label: 'xenial-arm64') {
- unstash 'source'
- sh '''export architecture="armhf"
+ parallel(
+ "Build binary - armhf": {
+ node(label: 'arm64') {
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ unstash 'source'
+ sh '''export architecture="armhf"
build-binary.sh'''
- 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)
- }
-
+ stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build-armhf')
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ }
+
+
+ },
+ "Build binary - arm64": {
+ node(label: 'arm64') {
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ unstash 'source'
+ sh '''export architecture="arm64"
+ build-binary.sh'''
+ stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build-arm64')
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ }
+ },
+ "Build binary - amd64": {
+ node(label: 'amd64') {
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ unstash 'source'
+ sh '''export architecture="amd64"
+ build-binary.sh'''
+ stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build-amd64')
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ }
+ }
+ )
}
}
stage('Results') {
steps {
- unstash 'build'
+ cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
+ unstash 'build-armhf'
+ unstash 'build-arm64'
+ unstash 'build-amd64'
archiveArtifacts(artifacts: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo', fingerprint: true, onlyIfSuccessful: true)
- sh '''export architecture="armhf"
-/usr/bin/build-repo.sh'''
+ sh '''/usr/bin/build-repo.sh'''
}
}
stage('Cleanup') {
diff --git a/debian/changelog b/debian/changelog
index ba62c92..5449352 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+indicator-bluetooth (0.0.7+ubports1) xenial; urgency=medium
+
+ * Update Jenkinsfile for xenial
+
+ -- Dan Chapman <dan@ubports.com> Thu, 11 Jan 2018 10:38:02 +0000
+
indicator-bluetooth (0.0.7+ubports) vivid; urgency=medium
* Imported to UBports