mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-12 02:04:04 +02:00
add comment about extending env variables for services
This commit is contained in:
@@ -394,6 +394,7 @@ class Serviceinfo:
|
|||||||
|
|
||||||
# set environment when using OBS 2.3 or later
|
# set environment when using OBS 2.3 or later
|
||||||
if self.project != None:
|
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_APIURL", self.apiurl)
|
||||||
os.putenv("OBS_SERVICE_PROJECT", self.project)
|
os.putenv("OBS_SERVICE_PROJECT", self.project)
|
||||||
os.putenv("OBS_SERVICE_PACKAGE", self.package)
|
os.putenv("OBS_SERVICE_PACKAGE", self.package)
|
||||||
|
Reference in New Issue
Block a user