| /* voltha-publish pipeline */ |
| /* no label, executor is determined by JJB */ |
| label "${params.executorNode}" |
| checkout(changelog: false, \ |
| scm: [$class: 'RepoScm', \ |
| manifestRepositoryUrl: "${params.manifestUrl}", \ |
| manifestBranch: "${params.manifestBranch}", \ |
| manifestGroup: 'voltha', \ |
| destinationDir: 'cord', \ |
| pushd cord/incubator/voltha |
| VOLTHA_BUILD=docker DOCKER_CACHE_ARG=--no-cache TAG=${params.manifestBranch} make build |
| withDockerRegistry([credentialsId: 'docker-artifact-push-credentials', url: '']) { |
| pushd cord/incubator/voltha |
| VOLTHA_BUILD=docker TAG=${params.manifestBranch} TARGET_REPOSITORY=voltha/ TARGET_TAG=${params.manifestBranch} make push |
| subject: "$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS", |
| body: "Check console output at $BUILD_URL to view the results.", |
| to: "${params.failureEmail}" |