Skip to content

Commit 7e084ac

Browse files
Vitexusclaude
andcommitted
ci: skip mysql and postgresql packages in test stage, install sqlite only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cae0150 commit 7e084ac

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

debian/Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ distributions.each { distro ->
7777
artifacts.each { deb_file ->
7878
if (deb_file.endsWith('.deb')) {
7979
def pkgName = deb_file.tokenize('/')[-1].replaceFirst(/_.*/, '')
80+
if (pkgName.contains('mysql') || pkgName.contains('pgsql') || pkgName.contains('postgresql')) {
81+
sh 'echo -e "${YELLOW} skipping db-specific package ' + pkgName + ' ${ENDCOLOR}"'
82+
return
83+
}
8084
sh 'echo -e "${GREEN} installing ' + pkgName + ' on `lsb_release -sc` ${ENDCOLOR} "'
8185
sh 'sudo DEBIAN_FRONTEND=noninteractive DEBCONF_DEBUG=' + debconf_debug + ' apt-get -y install ' + pkgName + ' || sudo apt-get -y -f install'
8286
}

0 commit comments

Comments
 (0)