---
# System prepended metadata

title: Docker to Jenkins

---

# Docker to Jenkins

## **Step**
### 1. 
* **For appium**
`docker run -p ${localhost}:${container host} --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock -v ~/Desktop/exosite/jenkins/exohome-local-test2:/home/robot -v ~/Desktop/exosite/jenkins/exohome-local-test2/qa_cert/:/usr/local/lib/python3.6/site-packages/CryptoLibrary/keys/ exosite/robot-hamv:python3 /bin/bash`
            
* **For selenium**
`docker run --rm -it --net="host" --privileged -v /var/run/docker.sock:/var/run/docker.sock -v ~/Desktop/exosite/exosite-local-test:/home/robot -v ~/Desktop/exosite/exosite-local-test/qa_cert/:/usr/local/lib/python3.6/site-packages/CryptoLibrary/keys/ exosite/robot-hamv:python3 /bin/bash`


### 2. 
* `python dqa-script/exo-robot-runner run -I dqa-semi-vert -i {folder} -r 0 -O ${--suite/-t}="${file name/tesecase}" --docker_skip`

## **Crytography**
### 1. decryp
```
python ./dqa-semi-vert/lib/CryptoTool.py decrypt -v "crypt:ra4KBWgNwtUo0YBPrhZz1KvSwIAV1a1wZ8y0z+wEd2eV1JT7omjkQWWZFzCHDnnyrvg//2+mQCCTM5OU1RUaog1wpvc="
```
### 2. cryp

```
python ./dqa-semi-vert/lib/CryptoTool.py encrypt -v "${password}"
```