Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
c9d9e25f
Commit
c9d9e25f
authored
Jan 20, 2019
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: update poxyproxy, run in quiet mode
Update the proxy so that we can enable a quiet mode.
parent
86b522bd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ci/test.ps1
+2
-2
ci/test.sh
+2
-2
No files found.
ci/test.ps1
View file @
c9d9e25f
...
@@ -40,8 +40,8 @@ Write-Host "####################################################################
...
@@ -40,8 +40,8 @@ Write-Host "####################################################################
if
(
-not
$Env
:SKIP_PROXY_TESTS
)
{
if
(
-not
$Env
:SKIP_PROXY_TESTS
)
{
Write-Host
""
Write-Host
""
Write-Host
"Starting HTTP proxy..."
Write-Host
"Starting HTTP proxy..."
Invoke-WebRequest
-Method GET -Uri https://github.com/ethomson/poxyproxy/releases/download/v0.
1.0/poxyproxy-0.1
.0.jar -OutFile poxyproxy.jar
Invoke-WebRequest
-Method GET -Uri https://github.com/ethomson/poxyproxy/releases/download/v0.
4.0/poxyproxy-0.4
.0.jar -OutFile poxyproxy.jar
javaw -jar poxyproxy.jar -d --port 8080 --credentials foo:bar
javaw -jar poxyproxy.jar -d --port 8080 --credentials foo:bar
--quiet
}
}
Write-Host
""
Write-Host
""
...
...
ci/test.sh
View file @
c9d9e25f
...
@@ -79,8 +79,8 @@ fi
...
@@ -79,8 +79,8 @@ fi
if
[
-z
"
$SKIP_PROXY_TESTS
"
]
;
then
if
[
-z
"
$SKIP_PROXY_TESTS
"
]
;
then
echo
"Starting HTTP proxy..."
echo
"Starting HTTP proxy..."
curl
-L
https://github.com/ethomson/poxyproxy/releases/download/v0.
2.0/poxyproxy-0.2
.0.jar
>
poxyproxy.jar
curl
-L
https://github.com/ethomson/poxyproxy/releases/download/v0.
4.0/poxyproxy-0.4
.0.jar
>
poxyproxy.jar
java
-jar
poxyproxy.jar
-d
--address
127.0.0.1
--port
8080
--credentials
foo:bar
>
/dev/null 2>&1
&
java
-jar
poxyproxy.jar
-d
--address
127.0.0.1
--port
8080
--credentials
foo:bar
--quiet
&
fi
fi
if
[
-z
"
$SKIP_SSH_TESTS
"
]
;
then
if
[
-z
"
$SKIP_SSH_TESTS
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment