We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cae0150 commit 7e084acCopy full SHA for 7e084ac
1 file changed
debian/Jenkinsfile
@@ -77,6 +77,10 @@ distributions.each { distro ->
77
artifacts.each { deb_file ->
78
if (deb_file.endsWith('.deb')) {
79
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
+ }
84
sh 'echo -e "${GREEN} installing ' + pkgName + ' on `lsb_release -sc` ${ENDCOLOR} "'
85
sh 'sudo DEBIAN_FRONTEND=noninteractive DEBCONF_DEBUG=' + debconf_debug + ' apt-get -y install ' + pkgName + ' || sudo apt-get -y -f install'
86
}
0 commit comments