Skip to content

Commit bdcaaa2

Browse files
committed
Build for Ubunut Noble Added
Strict Types update
1 parent a29be5c commit bdcaaa2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

debian/Jenkinsfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!groovy
22

3-
String[] distributions = ['debian:bullseye', 'debian:bookworm', 'debian:trixie', 'ubuntu:focal', 'ubuntu:jammy']
3+
String[] distributions = ['debian:bullseye', 'debian:bookworm', 'debian:trixie', 'ubuntu:focal', 'ubuntu:jammy', 'ubuntu:noble']
44

55
String vendor = 'vitexsoftware'
66
String distribution = ''
@@ -32,14 +32,13 @@ distributions.each {
3232
node {
3333
ansiColor('xterm') {
3434
stage('Checkout ' + distribution) {
35-
checkout scm
3635
buildImage = docker.image(vendor + '/' + distribution)
37-
sh 'git checkout debian/changelog'
38-
def VERSION = sh (
36+
sh 'git checkout debian/changelog'
37+
def version = sh (
3938
script: 'dpkg-parsechangelog --show-field Version',
4039
returnStdout: true
4140
).trim()
42-
ver = VERSION + '.' + env.BUILD_NUMBER + '~' + distroCodename
41+
ver = version + '.' + env.BUILD_NUMBER + '~' + distroCodename
4342
}
4443
stage('Build ' + distribution) {
4544
buildImage.inside {
@@ -52,7 +51,7 @@ distributions.each {
5251
}
5352
}
5453

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

src/SpojeNet/PohodaSQL/CiselnaRada.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class CiselnaRada extends Agenda
233233
/**
234234
* Předpona číselné řady.
235235
*/
236-
public string $prefix = null;
236+
public string $prefix = '';
237237

238238
/**
239239
* Hodnota číselné řady.

0 commit comments

Comments
 (0)