An open API service indexing awesome lists of open source software.

https://github.com/andy-leo10/tortoisebot_ros1_ci


https://github.com/andy-leo10/tortoisebot_ros1_ci

continuous-integration docker jenkins ros1

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# tortoisebot ros1 ci

- [tortoisebot ros1 ci](#tortoisebot-ros1-ci)
- [Run automation automatically](#run-automation-automatically)
- [DEMO](#demo)
- [Test docker part manually](#test-docker-part-manually)
- [Commands for running Jenkins manually](#commands-for-running-jenkins-manually)

-------------------------------------------------

## Run automation automatically
### DEMO

[To understand the usage, please review the Video](pictures/ros1-demo.mp4)

Also you can create a Pull Request
![alt text](pictures/create-pr.png)

-------------------------------------------------

## Test docker part manually
run **docker compose**
```
cd catkin_ws/src/ros1_ci/
docker-compose -f docker-compose-sim1.yml up --build
```
if you want to execute another thing
```
sudo docker exec -it waypoints_container /bin/bash
```

-------------------------------------------------

## Commands for running Jenkins manually
for checking the available jenkins commands
```
java -jar jenkins-cli.jar -s http://localhost:8080/$SLOT_PREFIX/jenkins/ -auth @.jenkins_cli help
```
for **running** and checking the log, use jenkins CLI
```
java -jar jenkins-cli.jar -s http://localhost:8080/$SLOT_PREFIX/jenkins/ -auth @.jenkins_cli build ros1_auto -f -s -v
```
for **aborting** the jenkins work
```
java -jar jenkins-cli.jar -s http://localhost:8080/$SLOT_PREFIX/jenkins/ -auth @.jenkins_cli stop-builds ros1_auto
```
for maintaining clean the works history
```
java -jar jenkins-cli.jar -s http://localhost:8080/$SLOT_PREFIX/jenkins/ -auth @.jenkins_cli delete-builds ros1_auto
```