blob: c0e4163bbf68272efc2f7f54b16d37d2bb7e5df9 [file] [log] [blame]
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001def 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}