Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .ci_local_test/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pipeline {
agent any
environment {
// Test_Server is the local test machine.
Test_Server = "robotics-testNUC11"
WORKSPACE_PATH = "/home/intel/ros2_openvino_toolkit"
}
stages {
stage('Test Ros2 Galatic') {
steps {
script {
def flag = sh script: "ssh intel@$Test_Server 'cd $WORKSPACE_PATH && docker images | grep ros2_openvino_test'", returnStatus: true
if (flag == 0) {
docker rmi -f ros2_openvino_test
}
def test_result = sh script: "ssh intel@$Test_Server 'cd $WORKSPACE_PATH && ./self_host_test_ros2_openvino.sh '", returnStatus: true
if (test_result == 0) {
echo "test pass"
} else {
echo "test fail"
exit -1
}

}
}
}

}

}
21 changes: 21 additions & 0 deletions .ci_local_test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


The Jenkinsfile Introduce:

1. The jenkins matchine would scan the ROS2_Openvion project regularly.

it would trigger test when scan the PR or other change.


2. The test machine name robotics-testNUC11, it build and test the project refer as below the link.

The Link: https://github.com/intel/ros2_openvino_toolkit/blob/master/doc/quick_start

Dashing: getting_started_with_Dashing_Ubuntu18.04.md

Foxy: getting_started_with_Foxy_Ubuntu20.04.md

Galactic: getting_started_with_Galactic_Ubuntu20.04.md

3. The test result would send by email.