From 8d98fa4d8f46ebaa50d950f39dec02bfcbb1ab93 Mon Sep 17 00:00:00 2001 From: "Eby, Robert (re2429)" Date: Tue, 11 Dec 2018 20:06:14 -0500 Subject: [PATCH] Removed apt since it will always fail. Change-Id: I8d78dad5e8f4c180f8cc4fbad9938a9e64f68bfb Signed-off-by: Eby, Robert (re2429) --- jjb/shell/build-docker.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jjb/shell/build-docker.sh b/jjb/shell/build-docker.sh index 014a7f9..a8020ed 100644 --- a/jjb/shell/build-docker.sh +++ b/jjb/shell/build-docker.sh @@ -80,9 +80,11 @@ else postgres_db_schema) CON_NAME='akraino_schema_db' - # This runs on ubuntu, so yum wont work. - sudo apt install -y dos2unix - dos2unix "${WORKSPACE}/version.properties" + # Unfortunatly, there is another apt running in the background at this point, so this apt will always fail. + # E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) + # Since it probably is not needed, I am just removing it. + # sudo apt install -y dos2unix + # dos2unix "${WORKSPACE}/version.properties" source "$WORKSPACE/version.properties" if [ -n "$STAGING_BUILD" -a -n "$AUTOSTAGING" ] -- 2.16.6