[AETHER-679] Fix TOST build and update up4
- Removes the OMEC project and ONOS_BUILDER APIs
- Uses ssh agent credentials ids
Change-Id: I9d297c27e1e6a82a9656d202b39e51a86aabfef3
diff --git a/jjb/pipeline/docker-publish.groovy b/jjb/pipeline/docker-publish.groovy
index 9ec89e3..8b38bd4 100644
--- a/jjb/pipeline/docker-publish.groovy
+++ b/jjb/pipeline/docker-publish.groovy
@@ -43,8 +43,7 @@
stage('build'){
steps {
script {
- withCredentials([string(credentialsId: 'onos-builder', variable: 'ONOS_BUILDER_API')]) {
- withCredentials([string(credentialsId: '64fe2b1a-b33a-4f13-8442-ad8360434003', variable: 'OMECPROJECT_API')]) {
+ sshagent(credentials: ['github-onf-bot-ssh-key', 'github-omec-project-ssh-key']) {
withDockerRegistry([credentialsId: 'docker-artifact-push-credentials']) {
sh( script: """
#!/usr/bin/env bash