Do generate key portion only instead of whole stc setup
Change-Id: Iae04f74a27eada92260087cd6da950c5fd4d3b29
diff --git a/TestON/JenkinsFile/TriggerFuncs.groovy b/TestON/JenkinsFile/TriggerFuncs.groovy
index 262ebf8..96c0855 100644
--- a/TestON/JenkinsFile/TriggerFuncs.groovy
+++ b/TestON/JenkinsFile/TriggerFuncs.groovy
@@ -97,7 +97,7 @@
''' + preSetup( onos_branch, test_branch, onos_tag, manuallyRun ) + '''
''' + oldFlowCheck( jobOn, onos_branch ) + '''
''' + postSetup( onos_branch, test_branch, onos_tag, manuallyRun )
- stcSetup()
+ generateKey()
}
}
def tagCheck( onos_tag, onos_branch ){
@@ -175,14 +175,15 @@
}
return result
}
-def stcSetup(){
+def generateKey(){
try{
sh '''
#!/bin/bash -l
set +e
. ~/.bashrc
env
- stc setup
+ onos-push-bits-through-proxy
+ onos-gen-cluster-key -f
'''
}catch( all ){}
}