[java-idp-integration-tests] branch main updated: Use uppercase env variables to support Windows

Tom Zeller tzeller at dragonacea.biz
Mon Sep 9 01:09:20 UTC 2024


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=0c60848af62070b66bed958cba863b0364fcb808

The following commit(s) were added to refs/heads/main by this push:
     new 0c60848  Use uppercase env variables to support Windows
0c60848 is described below

commit 0c60848af62070b66bed958cba863b0364fcb808
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sun Sep 8 20:09:11 2024 -0500

    Use uppercase env variables to support Windows
    
    The env var in the POM needs to be uppercase but can be lower or
    uppercase on Windows, while Linux is case sensitive.
---
 pom.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 56db7e1..58414a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -482,18 +482,18 @@
                                 </goals>
                                 <configuration>
                                     <!-- Run only if environment variable is "true" -->
-                                    <target if="${env.shib_tests_p12}">
+                                    <target if="${env.SHIB_TESTS_P12}">
                                         <!-- Download p12 file with authn using password from environment -->
                                         <get src="https://build.shibboleth.net/jenkins-helpers/tls/tests.shibboleth.net.pfx"
                                              dest="${test-distributions.directory}/jetty-base/credentials/idp-userfacing.p12"
                                              username="jenkins"
-                                             password="${env.shib_jenkins_helper_pwd}"
+                                             password="${env.SHIB_JENKINS_HELPER_PWD}"
                                              verbose="true" />
                                         <!-- Replace p12 password -->
                                         <replace
                                             file="${test-distributions.directory}/jetty-base/start.d/idp.ini"
                                             token="changeit"
-                                            value="${env.shib_tests_op_tls_pwd}"
+                                            value="${env.SHIB_TESTS_OP_TLS_PWD}"
                                             summary="true" />
                                     </target>
                                 </configuration>
@@ -626,18 +626,18 @@
                                 </goals>
                                 <configuration>
                                     <!-- Run only if environment variable is "true" -->
-                                    <target if="${env.shib_tests_p12}">
+                                    <target if="${env.SHIB_TESTS_P12}">
                                         <!-- Download p12 file with authn using password from environment -->
                                         <get src="https://build.shibboleth.net/jenkins-helpers/tls/tests.shibboleth.net.pfx"
                                              dest="${test-distributions.directory}/tomcat-base/credentials/idp-userfacing.p12"
                                              username="jenkins"
-                                             password="${env.shib_jenkins_helper_pwd}"
+                                             password="${env.SHIB_JENKINS_HELPER_PWD}"
                                              verbose="true" />
                                         <!-- Replace p12 password -->
                                         <replace
                                             file="${test-distributions.directory}/tomcat-base/conf/catalina.properties"
                                             token="changeit"
-                                            value="${env.shib_tests_op_tls_pwd}"
+                                            value="${env.SHIB_TESTS_OP_TLS_PWD}"
                                             summary="true" />
                                     </target>
                                 </configuration>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list