Browse Source

Compatibility tests pull artifacts over HTTPS

Jonathan Leitschuh 6 năm trước cách đây
mục cha
commit
8147e7db8a

+ 5 - 5
java/compatibility_tests/v2.5.0/test.sh

@@ -24,23 +24,23 @@ case "$1" in
     ;;
     ;;
   2.6.1)
   2.6.1)
     OLD_VERSION=2.6.1
     OLD_VERSION=2.6.1
-    OLD_VERSION_PROTOC=http://repo1.maven.org/maven2/com/google/protobuf/protoc/2.6.1-build2/protoc-2.6.1-build2-linux-x86_64.exe
+    OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/2.6.1-build2/protoc-2.6.1-build2-linux-x86_64.exe
     ;;
     ;;
   3.0.0-beta-1)
   3.0.0-beta-1)
     OLD_VERSION=3.0.0-beta-1
     OLD_VERSION=3.0.0-beta-1
-    OLD_VERSION_PROTOC=http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-1/protoc-3.0.0-beta-1-linux-x86_64.exe
+    OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-1/protoc-3.0.0-beta-1-linux-x86_64.exe
     ;;
     ;;
   3.0.0-beta-2)
   3.0.0-beta-2)
     OLD_VERSION=3.0.0-beta-2
     OLD_VERSION=3.0.0-beta-2
-    OLD_VERSION_PROTOC=http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-2/protoc-3.0.0-beta-2-linux-x86_64.exe
+    OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-2/protoc-3.0.0-beta-2-linux-x86_64.exe
     ;;
     ;;
   3.0.0-beta-3)
   3.0.0-beta-3)
     OLD_VERSION=3.0.0-beta-3
     OLD_VERSION=3.0.0-beta-3
-    OLD_VERSION_PROTOC=http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-3/protoc-3.0.0-beta-3-linux-x86_64.exe
+    OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-3/protoc-3.0.0-beta-3-linux-x86_64.exe
     ;;
     ;;
   3.0.0-beta-4)
   3.0.0-beta-4)
     OLD_VERSION=3.0.0-beta-4
     OLD_VERSION=3.0.0-beta-4
-    OLD_VERSION_PROTOC=http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-4/protoc-3.0.0-beta-4-linux-x86_64.exe
+    OLD_VERSION_PROTOC=https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0-beta-4/protoc-3.0.0-beta-4-linux-x86_64.exe
     ;;
     ;;
   *)
   *)
     echo "[ERROR]: Unknown version number: $1"
     echo "[ERROR]: Unknown version number: $1"