| Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 1 | def call(String project) { |
| 2 | // project is the gerrit project name | ||||
| 3 | |||||
| 4 | if (project != 'voltha-system-tests' && | ||||
| 5 | project != 'voltha-helm-charts' && | ||||
| 6 | project != '') { | ||||
| 7 | |||||
| 8 | sh """ | ||||
| 9 | make -C $WORKSPACE/${project} DOCKER_REPOSITORY=voltha/ DOCKER_TAG=citest docker-build | ||||
| 10 | """ | ||||
| 11 | } else { | ||||
| 12 | println "The project ${project} does not require to be built." | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | } | ||||