summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2019-05-24 11:30:52 +0200
committerGitHub <noreply@github.com>2019-05-24 11:30:52 +0200
commita27bd1e267eef1c336a538f043df7aec320e6c6a (patch)
tree3f9aa81c8efe3a55049cf5d965382c7cd7010acf
parent308db5513d57f32be6655613865e096e76c4d3b0 (diff)
downloadipaddrcheck-a27bd1e267eef1c336a538f043df7aec320e6c6a.tar.gz
ipaddrcheck-a27bd1e267eef1c336a538f043df7aec320e6c6a.zip
workaround for error "bash: cannot create temp file for here-document: Bad address" on arm64 docker
-rw-r--r--Jenkinsfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 0319b92..9837a1d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -56,6 +56,7 @@ mv ../*.deb /tmp/$GIT_BRANCH/packages/'''
sh '''#!/bin/bash
git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER
cd $BUILD_NUMBER
+sed -i \'s/<<< \${3:-}//g\' tests/assert.sh
sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo mk-build-deps -i -r -t \'apt-get --no-install-recommends -yq\' debian/control
dpkg-buildpackage -b -us -uc -tc