Copy content of the workspace directory
Change-Id: I76726e87dbf76bf0b9b4b2d8bada683e8e983dfe
diff --git a/test-nodejs-pipeline.groovy b/test-nodejs-pipeline.groovy
index 87b78d3..30ea642 100644
--- a/test-nodejs-pipeline.groovy
+++ b/test-nodejs-pipeline.groovy
@@ -37,7 +37,7 @@
returnStdout: true,
).trim()
common.successMsg("Container with id ${containerId} started.")
- sh("docker cp ${workspace}/ ${containerId}:/opt/workspace/")
+ sh("docker cp ${workspace}/. ${containerId}:/opt/workspace/")
}
executeCmd(containerId, "npm install")
def cmds = COMMANDS.tokenize('\n')