1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

add comment about extending env variables for services

This commit is contained in:
Adrian Schröter 2016-10-20 13:12:15 +02:00
parent 8c3f5e9ae2
commit 290d96e0b0

View File

@ -394,6 +394,7 @@ class Serviceinfo:
# set environment when using OBS 2.3 or later
if self.project != None:
# These need to be kept in sync with bs_service
os.putenv("OBS_SERVICE_APIURL", self.apiurl)
os.putenv("OBS_SERVICE_PROJECT", self.project)
os.putenv("OBS_SERVICE_PACKAGE", self.package)