Wrap some overly long lines

To cut down on noise when running bashate, wrap some overlong lines.

Change-Id: I23dcffbae2539d3d6b11e5527f3d4cbf08a18064
This commit is contained in:
Andreas Jaeger
2015-12-23 13:36:33 +01:00
parent 5d95af83e3
commit 1db085d5ec
12 changed files with 42 additions and 18 deletions

View File

@@ -27,7 +27,8 @@ then
# Delete everything so the first commit is truly empty:
git rm -rf .
# git rm -rf leaves submodule directories:
find -maxdepth 1 -not -regex '\./\.git\(/.*\)?' -not -name . -exec rm -fr {} \;
find -maxdepth 1 -not -regex '\./\.git\(/.*\)?' -not -name . \
-exec rm -fr {} \;
ls -la
else
git branch -D release || /bin/true

View File

@@ -63,7 +63,8 @@ export DEBEMAIL="soren@openstack.org"
buildno=$BUILD_NUMBER
pkgversion="${version}-0ubuntu0~${series}${buildno}"
dch -b --force-distribution --v "${pkgversion}" "Automated PPA build. Packaging revision: ${PACKAGING_REVNO}." -D $series
dch -b --force-distribution --v "${pkgversion}" \
"Automated PPA build. Packaging revision: ${PACKAGING_REVNO}." -D $series
dpkg-buildpackage -rfakeroot -S -sa -nc -k32EE128C
if ! [ "$DO_UPLOAD" = "no" ]; then
for ppa in $PPAS; do

View File

@@ -30,7 +30,9 @@ while ! grep -q "$END_UUID" /tmp/console.html; do
# fails. This allows us to retry when we have Jenkins proxy
# errors without polluting the output document.
# --insecure because our Jenkins masters use self signed SSL certs.
curl -X POST --data "start=$(stat -c %s /tmp/console.html || echo 0)" --fail --insecure $BUILD_URL$console_log_path >> /tmp/console.html || true
curl -X POST --data "start=$(stat -c %s /tmp/console.html || echo 0)" \
--fail --insecure $BUILD_URL$console_log_path \
>> /tmp/console.html || true
done
# We need to add <pre> tags around the output for log-osanalyze to not escape

View File

@@ -36,11 +36,13 @@ JENKINSCI_REPO_CREDS="/home/jenkins/.jenkinsci-curl"
curl -X PUT \
--config ${JENKINSCI_REPO_CREDS} \
--data-binary @${META_DATA_FILE} \
-i "${JENKINSCI_REPO}/${PROJECT}/${VERSION}/${META_DATA_FILE}" > /dev/null 2>&1
-i "${JENKINSCI_REPO}/${PROJECT}/${VERSION}/${META_DATA_FILE}" \
> /dev/null 2>&1
curl -X PUT \
--config ${JENKINSCI_REPO_CREDS} \
--data-binary @${PLUGIN_FILE} \
-i "${JENKINSCI_REPO}/${PROJECT}/${VERSION}/${PLUGIN_FILE}" > /dev/null 2>&1
-i "${JENKINSCI_REPO}/${PROJECT}/${VERSION}/${PLUGIN_FILE}" \
> /dev/null 2>&1
exit $?