File tree Expand file tree Collapse file tree 10 files changed +41
-30
lines changed Expand file tree Collapse file tree 10 files changed +41
-30
lines changed Original file line number Diff line number Diff line change 151151
152152EXTRA_LIBS=" " 
153153if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
154-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
155154  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
156155fi 
157156
@@ -163,8 +162,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
163162    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
164163  fi 
165164  echo  " Tracing is enabled" 
166-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
167- 
168165  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
169166    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
170167  fi 
@@ -186,6 +183,10 @@ else
186183  echo  " Tracing is disabled" 
187184fi 
188185
186+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
187+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
188+ fi 
189+ 
189190if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
190191  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
191192fi 
Original file line number Diff line number Diff line change 8181
8282EXTRA_LIBS=" " 
8383if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
84-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
8584  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
8685fi 
8786
@@ -93,8 +92,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
9392    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
9493  fi 
9594  echo  " Tracing is enabled" 
96-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
97- 
9895  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
9996    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
10097  fi 
@@ -116,6 +113,10 @@ else
116113  echo  " Tracing is disabled" 
117114fi 
118115
116+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
117+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
118+ fi 
119+ 
119120if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
120121  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
121122fi 
Original file line number Diff line number Diff line change 131131
132132EXTRA_LIBS=" " 
133133if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
134-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
135134  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
136135fi 
137136
@@ -143,8 +142,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
143142    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
144143  fi 
145144  echo  " Tracing is enabled" 
146-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
147- 
148145  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
149146    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
150147  fi 
@@ -166,6 +163,10 @@ else
166163  echo  " Tracing is disabled" 
167164fi 
168165
166+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
167+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
168+ fi 
169+ 
169170if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
170171  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
171172fi 
Original file line number Diff line number Diff line change 130130
131131EXTRA_LIBS=" " 
132132if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
133-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
134133  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
135134fi 
136135
@@ -142,8 +141,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
142141    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
143142  fi 
144143  echo  " Tracing is enabled" 
145-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
146- 
147144  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
148145    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
149146  fi 
@@ -165,6 +162,10 @@ else
165162  echo  " Tracing is disabled" 
166163fi 
167164
165+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
166+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
167+ fi 
168+ 
168169if  [ !  -z  " ${SE_BIND_HOST} " ;  then 
169170  append_se_opts " --bind-host" " ${SE_BIND_HOST} " 
170171fi 
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ cat "${CONFIG_FILE}"
9898
9999EXTRA_LIBS=" " 
100100if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
101-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
102101  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
103102fi 
104103
@@ -110,8 +109,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
110109    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
111110  fi 
112111  echo  " Tracing is enabled" 
113-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
114- 
115112  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
116113    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
117114  fi 
@@ -133,6 +130,10 @@ else
133130  echo  " Tracing is disabled" 
134131fi 
135132
133+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
134+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
135+ fi 
136+ 
136137if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
137138  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
138139fi 
Original file line number Diff line number Diff line change 132132
133133EXTRA_LIBS=" " 
134134if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
135-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
136135  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
137136fi 
138137
@@ -144,8 +143,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
144143    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
145144  fi 
146145  echo  " Tracing is enabled" 
147-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
148- 
149146  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
150147    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
151148  fi 
@@ -167,6 +164,10 @@ else
167164  echo  " Tracing is disabled" 
168165fi 
169166
167+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
168+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
169+ fi 
170+ 
170171if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
171172  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
172173fi 
Original file line number Diff line number Diff line change 8585
8686EXTRA_LIBS=" " 
8787if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
88-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
8988  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
9089fi 
9190
@@ -97,8 +96,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
9796    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
9897  fi 
9998  echo  " Tracing is enabled" 
100-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
101- 
10299  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
103100    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
104101  fi 
@@ -120,6 +117,10 @@ else
120117  echo  " Tracing is disabled" 
121118fi 
122119
120+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
121+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
122+ fi 
123+ 
123124if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
124125  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
125126fi 
Original file line number Diff line number Diff line change 107107
108108EXTRA_LIBS=" " 
109109if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
110-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
111110  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
112111fi 
113112
@@ -119,8 +118,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
119118    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
120119  fi 
121120  echo  " Tracing is enabled" 
122-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
123- 
124121  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
125122    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
126123  fi 
143140fi 
144141
145142if  [ " ${SE_SESSIONS_MAP_EXTERNAL_DATASTORE} " =  " true" ;  then 
143+   echo  " External datastore for sessions map is enabled" 
146144  EXTERNAL_JARS=$( < /external_jars/.classpath_session_map.txt) 
147145  if  [ -n  " ${EXTRA_LIBS} " &&  [ -n  " ${EXTERNAL_JARS} " ;  then 
148146    EXTRA_LIBS=" ${EXTRA_LIBS} :${EXTERNAL_JARS} " 
@@ -151,6 +149,10 @@ if [ "${SE_SESSIONS_MAP_EXTERNAL_DATASTORE}" = "true" ]; then
151149  fi 
152150fi 
153151
152+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
153+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
154+ fi 
155+ 
154156cat " $CONFIG_FILE " 
155157echo  " Starting Selenium Grid Sessions..." 
156158
Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ echo "Starting Selenium Grid Standalone..."
130130
131131EXTRA_LIBS=" " 
132132if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
133-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
134133  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
135134fi 
136135
@@ -142,8 +141,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
142141    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
143142  fi 
144143  echo  " Tracing is enabled" 
145-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
146- 
147144  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
148145    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
149146  fi 
@@ -165,6 +162,10 @@ else
165162  echo  " Tracing is disabled" 
166163fi 
167164
165+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
166+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
167+ fi 
168+ 
168169CHROME_DRIVER_PATH_PROPERTY=-Dwebdriver.chrome.driver=/usr/bin/chromedriver
169170EDGE_DRIVER_PATH_PROPERTY=-Dwebdriver.edge.driver=/usr/bin/msedgedriver
170171GECKO_DRIVER_PATH_PROPERTY=-Dwebdriver.gecko.driver=/usr/bin/geckodriver
Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ cat "${CONFIG_FILE}"
103103
104104EXTRA_LIBS=" " 
105105if  [ -n  " ${SE_EXTRA_LIBS} " ;  then 
106-   echo  " Adding external jars to classpath: ${SE_EXTRA_LIBS} " 
107106  EXTRA_LIBS=" --ext ${SE_EXTRA_LIBS} " 
108107fi 
109108
@@ -115,8 +114,6 @@ if [ "${SE_ENABLE_TRACING}" = "true" ] && [ -n "${SE_OTEL_EXPORTER_ENDPOINT}" ];
115114    EXTRA_LIBS=" --ext ${EXTERNAL_JARS} " 
116115  fi 
117116  echo  " Tracing is enabled" 
118-   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
119- 
120117  if  [ -n  " $SE_OTEL_SERVICE_NAME " ;  then 
121118    SE_OTEL_JVM_ARGS=" $SE_OTEL_JVM_ARGS  -Dotel.resource.attributes=service.name=${SE_OTEL_SERVICE_NAME} " 
122119  fi 
@@ -138,6 +135,10 @@ else
138135  echo  " Tracing is disabled" 
139136fi 
140137
138+ if  [ -n  " ${EXTRA_LIBS} " ;  then 
139+   echo  " Classpath will be enriched with these external jars : ${EXTRA_LIBS} " 
140+ fi 
141+ 
141142if  [ -n  " ${SE_JAVA_HTTPCLIENT_VERSION} " ;  then 
142143  SE_JAVA_OPTS=" $SE_JAVA_OPTS  -Dwebdriver.httpclient.version=${SE_JAVA_HTTPCLIENT_VERSION} " 
143144fi 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments