vars/iam.groovy
---------------
o Oh yea, to handle call arg closure properly pass, assign and call body().
jjb/pipeline/voltha/playground/physical-build.groovy
----------------------------------------------------
o Fix the iam string identifier.
Change-Id: I021f96c98d67406091f7dd43912d099164a32028
diff --git a/jjb/pipeline/voltha/playground/voltha-tt-physical-functional-tests.groovy b/jjb/pipeline/voltha/playground/voltha-tt-physical-functional-tests.groovy
index f0965ff..39e543f 100644
--- a/jjb/pipeline/voltha/playground/voltha-tt-physical-functional-tests.groovy
+++ b/jjb/pipeline/voltha/playground/voltha-tt-physical-functional-tests.groovy
@@ -73,14 +73,14 @@
// -----------------------------------------------------------------------
stage('Clone voltha-system-tests')
{
+ iam(this)
+ {
+ enter = true
+ label = getIam()
+ }
+
steps
{
- iam(this)
- {
- enter = true
- label = getIam()
- }
-
step([$class: 'WsCleanup'])
checkout([
$class: 'GitSCM',
@@ -109,13 +109,13 @@
exit 1 # verify fail
fi
""")
+ } // step
iam(this)
{
leave = true
label = getIam()
}
- } // step
} // steps
} // stage