This is an automated email from the ASF dual-hosted git repository.
jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6e354a7a55 AMBARI-26115: $PYTHONPATH was not correctly resolved. #3811
6e354a7a55 is described below
commit 6e354a7a55817a918a466a1dad81b7730d77b18f
Author: zrain <[email protected]>
AuthorDate: Thu Aug 15 08:49:15 2024 +0800
AMBARI-26115: $PYTHONPATH was not correctly resolved. #3811
---
ambari-agent/pom.xml | 4 ++--
ambari-server/pom.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 1ecbab8c42..0b919448a0 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -250,7 +250,7 @@
<argument>${python.test.mask}</argument>
</arguments>
<environmentVariables>
- <PYTHONPATH>${path.python.1}${pathsep}$PYTHONPATH</PYTHONPATH>
+
<PYTHONPATH>${path.python.1}${pathsep}${env.PYTHONPATH}</PYTHONPATH>
</environmentVariables>
<skip>${skipPythonTests}</skip>
</configuration>
@@ -269,7 +269,7 @@
<argument>${target.cache.dir}</argument>
</arguments>
<environmentVariables>
-
<PYTHONPATH>target${dirsep}ambari-agent-${project.version}${pathsep}$PYTHONPATH</PYTHONPATH>
+
<PYTHONPATH>target${dirsep}ambari-agent-${project.version}${pathsep}${env.PYTHONPATH}</PYTHONPATH>
</environmentVariables>
</configuration>
<id>generate-hash-files</id>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 00bd6f5af2..9ced079d8d 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -754,7 +754,7 @@
<argument>${python.test.mask}</argument>
</arguments>
<environmentVariables>
-
<PYTHONPATH>${path.python.1}${pathsep}$PYTHONPATH</PYTHONPATH>
+
<PYTHONPATH>${path.python.1}${pathsep}${env.PYTHONPATH}</PYTHONPATH>
</environmentVariables>
<skip>${skipPythonTests}</skip>
</configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]