Skip to content

Commit d246512

Browse files
author
Holger Brandl
committed
Cosmetics
1 parent 0bd0e3f commit d246512

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/TestsReadme.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ As of this writing, testing the credentials is only done manually with a dockeri
9292

9393
#### 1. Set up preconfigured artifactory with docker.
9494

95-
```
95+
```bash
9696
# download and start artifactory container
9797
docker run --name artifactory -d -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss:latest
9898

@@ -109,7 +109,8 @@ docker restart artifactory
109109
```
110110

111111
#### 2. Create and upload a downloadable archive.
112-
```
112+
113+
```bash
113114
tmpClass=$(mktemp --suffix ".class")
114115
tmpZipDir=$(mktemp -d)
115116
echo "public class something() {}" > $tmpClass
@@ -118,7 +119,8 @@ curl --request PUT -u admin:password -T $tmpZipDir/tmp.zip http://localhost:8081
118119
```
119120

120121
#### 3. Then run the following kotlin script with the encrypted password
121-
```
122+
123+
```bash
122124
echo '
123125
@file:MavenRepository("my-art", "http://localhost:8081/artifactory/authenticated_repo", user="auth_user", password="password")
124126
@file:DependsOn("com.jcabi:jcabi-aether:0.10.1") // If unencrypted works via jcenter

0 commit comments

Comments
 (0)