Add stage IAM so script can self-identify during a job run
Change-Id: Icc14d73e87e39c8b663d58f4ac86bc2cb5f22731
diff --git a/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy b/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy
index 3433a04..b35a8b1 100755
--- a/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy
@@ -25,17 +25,26 @@
def clusterName = "kind-ci"
def execute_test(testTarget, workflow, testLogging, teardown, testSpecificHelmFlags = "") {
- def infraNamespace = "default"
- def volthaNamespace = "voltha"
- def logsDir = "$WORKSPACE/${testTarget}"
+ def infraNamespace = "default"
+ def volthaNamespace = "voltha"
+ def logsDir = "$WORKSPACE/${testTarget}"
- stage('IAM')
+ stage('IAM')
{
- print('''
-jjb/pipeline/voltha/voltha-2.11
------------------------------------------------------------------------
-''')
- }
+ script
+ {
+ String iam = [
+ 'ci-management',
+ 'jjb',
+ 'pipeline',
+ 'voltha',
+ 'voltha-11',
+ 'bbsim-tests.groovy'
+ ].join('/')
+ println("** ${iam}: ENTER")
+ println("** ${iam}: LEAVE")
+ }
+ }
stage('Cleanup') {
if (teardown) {