Skip to content

Commit

Permalink
Package version update Noarch
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Oct 9, 2024
1 parent d88906b commit bb50def
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Test/Jenkinsfile-noarch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!groovy

String[] distributions = ['debian:buster', 'debian:bullseye', 'debian:bookworm', 'ubuntu:focal', 'ubuntu:jammy', 'ubuntu:kinetic']
String[] distributions = ['debian:bullseye', 'debian:bookworm', 'debian:trixie', 'ubuntu:focal', 'ubuntu:jammy', 'ubuntu:noble']

String vendor = 'vitexsoftware'
String distribution = ''
Expand Down Expand Up @@ -34,12 +34,12 @@ distributions.each {
ansiColor('xterm') {
stage('Checkout ' + distribution) {
buildImage = docker.image(vendor + '/' + distribution)
sh 'git checkout debian/changelog'
def VERSION = sh (
sh 'git checkout debian/changelog'
def version = sh (
script: 'dpkg-parsechangelog --show-field Version',
returnStdout: true
).trim()
ver = VERSION + '~' + distroCodename + '~' + env.BUILD_NUMBER
ver = version + '.' + env.BUILD_NUMBER + '~' + distroCodename
}
stage('Build ' + distribution) {
buildImage.inside {
Expand All @@ -51,7 +51,7 @@ distributions.each {
}
}

stage('Test ' + distribution) {
stage('Package installation Test ' + distribution) {
buildImage.inside {
def debconf_debug = 0 //Set to "5" or "developer" to debug debconf
sh 'cd $WORKSPACE/dist/debian/ ; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz; cd $WORKSPACE'
Expand Down

0 comments on commit bb50def

Please sign in to comment.