You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh 'mkdir -p $WORKSPACE/dist/debian/ ; rm -rf $WORKSPACE/dist/debian/* ; for deb in $(cat debian/files | awk \'{print $1}\'); do mv "../$deb" $WORKSPACE/dist/debian/; done'
53
+
artifacts = sh (
54
+
script: "cat debian/files | awk '{print \$1}'",
55
+
returnStdout: true
56
+
).trim().split('\n')
51
57
}
52
58
}
53
59
@@ -58,12 +64,20 @@ distributions.each {
58
64
sh 'echo "deb [trusted=yes] file://///$WORKSPACE/dist/debian/ ./" | sudo tee /etc/apt/sources.list.d/local.list'
59
65
sh 'sudo apt-get update --allow-releaseinfo-change'
60
66
sh 'echo "INSTALATION"'
61
-
sh 'IFS="\n\b"; for package in `ls $WORKSPACE/dist/debian/ | grep .deb | grep -v dbgsym | awk -F_ \'{print \$1}\'` ; do echo -e "${GREEN} installing ${package} on `lsb_release -sc` ${ENDCOLOR} " ; sudo DEBIAN_FRONTEND=noninteractive DEBCONF_DEBUG='+ debconf_debug +' apt-get -y install $package ; done;'
0 commit comments