Skip to content

Commit

Permalink
Update call in the docker mode: add environment variables and change …
Browse files Browse the repository at this point in the history
…logging level
  • Loading branch information
vitalijr2 committed Nov 10, 2023
1 parent 05fa3fd commit 356e145
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ijhttp-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
- name: Wait the application
run: while ! nc -z localhost 8080 </dev/null; do sleep 5; done
- name: Run tests
run: java -cp "/intellij-http-client/*" com.intellij.httpClient.cli.HttpClientMain --report echo.http
run: java -cp "/intellij-http-client/*" com.intellij.httpClient.cli.HttpClientMain --env=demo --env-variables "another-variable=you can see it too" -V "third-variable=you can see me too" --env-file=public-env.json --private-env-file=private-env.json "--private-env-variables=hidden-variable2=you cannot see it too" -P "last-variable=you cannot see me too" --report --log-level=VERBOSE echo.http
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ http-test-on-docker-image:
- java -jar target/ijhttp-demo.jar &
- while ! nc -z localhost 8080 </dev/null; do sleep 5; done
script:
- java -cp "/intellij-http-client/*" com.intellij.httpClient.cli.HttpClientMain --report echo.http
- java -cp "/intellij-http-client/*" com.intellij.httpClient.cli.HttpClientMain --env=demo --env-variables "another-variable=you can see it too" -V "third-variable=you can see me too" --env-file=public-env.json --private-env-file=private-env.json "--private-env-variables=hidden-variable2=you cannot see it too" -P "last-variable=you cannot see me too" --report --log-level=VERBOSE echo.http
artifacts:
reports:
junit:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>ijhttp-demo</artifactId>
<build>
<defaultGoal>clean verify</defaultGoal>
<finalName>${artifactId}</finalName>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down

0 comments on commit 356e145

Please sign in to comment.