From 9703a089aad8eecc9b1f96733db342cf937ed964 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 4 Apr 2023 17:09:40 +0200 Subject: [PATCH] Added XDG_CACHE_HOME env variable to jenkins tox env Change-Id: Ica0422dd056733b06759432ea3488c2861f5f2e7 Signed-off-by: garciadeblas --- .../adding_xdg_cache-4dd9c61a4bb27a52.yaml | 20 +++++++++++++++++++ tox.ini | 1 + 2 files changed, 21 insertions(+) create mode 100644 releasenotes/notes/adding_xdg_cache-4dd9c61a4bb27a52.yaml diff --git a/releasenotes/notes/adding_xdg_cache-4dd9c61a4bb27a52.yaml b/releasenotes/notes/adding_xdg_cache-4dd9c61a4bb27a52.yaml new file mode 100644 index 0000000..a9989e8 --- /dev/null +++ b/releasenotes/notes/adding_xdg_cache-4dd9c61a4bb27a52.yaml @@ -0,0 +1,20 @@ +####################################################################################### +# Copyright ETSI Contributors and Others. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. +####################################################################################### +--- +other: + - | + Added XDG_CACHE_HOME env variable to jenkins tox env. diff --git a/tox.ini b/tox.ini index d6e8b71..b51b540 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,7 @@ envlist = black, cover, flake8, pylint, safety [tox:jenkins] toxworkdir = /tmp/.tox +setenv = XDG_CACHE_HOME=/tmp/.cache [testenv] usedevelop = True -- 2.25.1