Skip to content

Commit 188956e

Browse files
authored
Remove > from README.md (#497)
1 parent 67cefb2 commit 188956e

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

README.md

+33-33
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build Info is Artifactory's open integration layer for the CI servers and build
99
* The code is built using Gradle and includes integration tests.<br/>
1010
* It must run using JDK 8 and Gradle 5.6.2. If you are using different gradle version you can use the provided gradle wrapper.<br/>
1111
* In order to run tests the following environment variables must be set:
12-
```
12+
```bash
1313
export BITESTS_ARTIFACTORY_URL='http://localhost:8081/artifactory'
1414
export BITESTS_ARTIFACTORY_USERNAME=admin
1515
export BITESTS_ARTIFACTORY_PASSWORD=password
@@ -21,71 +21,71 @@ export BITESTS_ARTIFACTORY_PIP_ENV=/Users/user/venv-test/bin
2121
When running the following commands to build the code, the entire testing suite is also executed. See the *Testing* section for configuration instructions prior to running the tests.
2222

2323
To build the code using the gradle wrapper in Unix run:
24-
```
25-
> ./gradlew clean build
24+
```bash
25+
./gradlew clean build
2626
```
2727
To build the code using the gradle wrapper in Windows run:
28-
```
29-
> gradlew clean build
28+
```bash
29+
gradlew clean build
3030
```
3131
To build the code using the environment gradle run:
32-
```
33-
> gradle clean build
32+
```bash
33+
gradle clean build
3434
```
3535
To build the code without running the tests, add to the "clean build" command the "-x test" option, for example:
36-
```
37-
> ./gradlew clean build -x test
36+
```bash
37+
./gradlew clean build -x test
3838
```
3939

4040
### Testing
4141
To run *all* tests:
42-
```
43-
> ./gradlew clean test
42+
```bash
43+
./gradlew clean test
4444
```
4545

4646
#### Extractor tests
47-
```
48-
> ./gradlew clean build-info-api:test build-info-client:test build-info-extractor:test build-info-vcs:test
47+
```bash
48+
./gradlew clean build-info-api:test build-info-client:test build-info-extractor:test build-info-vcs:test
4949
```
5050

5151
#### Maven tests
52-
```
53-
> ./gradlew clean build-info-extractor-maven3:test
52+
```bash
53+
./gradlew clean build-info-extractor-maven3:test
5454
```
5555

5656
#### Gradle tests
57-
```
58-
> ./gradlew clean build-info-extractor-gradle:test
57+
```bash
58+
./gradlew clean build-info-extractor-gradle:test
5959
```
6060

6161
#### Npm tests
6262
* Add npm executable to the system search path (PATH environment variable).
63-
```
64-
> ./gradlew clean build-info-extractor-npm:test
63+
```bash
64+
./gradlew clean build-info-extractor-npm:test
6565
```
6666

6767
#### Go tests
6868
* Add Go executable to the system search path (PATH environment variable).
6969
* Go v1.14 or above is required.
70-
```
71-
> ./gradlew clean build-info-extractor-go:test
70+
```bash
71+
./gradlew clean build-info-extractor-go:test
7272
```
7373

7474
#### Pip tests
7575
* Add Python and pip executables to the system search path (PATH environment variable).
7676
* Pip tests must run inside a clean pip-environment. Create a virtual environment and provide its path using the 'BITESTS_ARTIFACTORY_PIP_ENV' variable.
7777
When running on a Windows machine, provide the path to the 'Scripts' directory.
7878
When running on a unix machine, provide the path to the 'bin' directory.
79-
```
80-
> python -m venv buildinfo-tests-env
81-
> export BITESTS_ARTIFACTORY_PIP_ENV=/Users/user/buildinfo-tests-env/bin
82-
> ./gradlew clean build-info-extractor-pip:test
79+
```bash
80+
python -m venv buildinfo-tests-env
81+
export BITESTS_ARTIFACTORY_PIP_ENV=/Users/user/buildinfo-tests-env/bin
82+
./gradlew clean build-info-extractor-pip:test
8383
```
8484

8585
#### NuGet tests
8686
* Add Nuget & Dotnet executable to the system search path (PATH environment variable).
87-
```
88-
> ./gradlew clean build-info-extractor-nuget:test
87+
```bash
88+
./gradlew clean build-info-extractor-nuget:test
8989
```
9090

9191
#### Docker tests
@@ -96,7 +96,7 @@ When running on a unix machine, provide the path to the 'bin' directory.
9696
* docker-virtual (contains both docker-local & docker-remote repositories)
9797
* In addition to the general environment variables required for running the tests, you must set the following environment variables, required for the docker tests:
9898
* Replace `localhost:8081` prefix with your docker registry domain if needed.
99-
```
99+
```bash
100100
export BITESTS_ARTIFACTORY_DOCKER_LOCAL_DOMAIN=localhost:8081/docker-local
101101
export BITESTS_ARTIFACTORY_DOCKER_REMOTE_DOMAIN=localhost:8081/docker-remote
102102
export BITESTS_ARTIFACTORY_DOCKER_VIRTUAL_DOMAIN=localhost:8081/docker-virtual
@@ -106,12 +106,12 @@ When running on a unix machine, provide the path to the 'bin' directory.
106106
export BITESTS_ARTIFACTORY_DOCKER_HOST=tcp://127.0.0.1:1234
107107
```
108108
* For OSX agents, run a Socat container:
109-
```
109+
```bash
110110
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:1234:1234 bobrik/socat TCP-LISTEN:1234,fork UNIX-CONNECT:/var/run/docker.sock
111111
```
112112
* Run tests:
113-
```
114-
> ./gradlew clean build-info-extractor-docker:test
113+
```bash
114+
./gradlew clean build-info-extractor-docker:test
115115
```
116116

117117
### Testing on Artifactory OSS
@@ -121,8 +121,8 @@ On Artifactory pro, the tests infrastructure will create the test repositories b
121121
To run the tests on Artifactory OSS, you should create the Gradle repositories by yourself.
122122
To run Gradle tests on Artifactory OSS:
123123
* Start Artifactory on docker container:
124-
```
125-
> docker run --name artifactory -d -p 8081:8081 -p 8082:8082 releases-docker.jfrog.io/jfrog/artifactory-oss:latest
124+
```bash
125+
docker run --name artifactory -d -p 8081:8081 -p 8082:8082 releases-docker.jfrog.io/jfrog/artifactory-oss:latest
126126
```
127127
* With your web browser, go to Artifactory UI: http://127.0.0.1:8081/artifactory
128128
* Create 3 Gradle repositories:

0 commit comments

Comments
 (0)