Merge "Migrate snmp to global-jjb Maven jobs"
[releng/builder.git] / jjb / opendaylight-infra-cleanup-old-images.sh
index 129ab133624cac2b8ac9d487a5cbd9363b317d3a..162b2667e96155c1f9bea4f3429c46f9f716f655 100644 (file)
@@ -1,16 +1,13 @@
 #!/bin/bash
-LFTOOLS_DIR="$WORKSPACE/.venv-lftools"
-if [ ! -d "$LFTOOLS_DIR" ]
-then
-    virtualenv "$LFTOOLS_DIR"
-    # shellcheck disable=SC1090
-    source "$LFTOOLS_DIR/bin/activate"
-    pip install --upgrade pip
-    pip install "lftools>=0.0.10"
-    pip freeze
-fi
-# shellcheck disable=SC1090
-source "$LFTOOLS_DIR/bin/activate"
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# Copyright (c) 2017 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
 
 lftools openstack --os-cloud odlpriv-sandbox \
     image cleanup --hide-public=True \