Periodic testing fix.
Remove escape char from quoted shell text, jenkins failing on syntax.
Added a note to revisit find replaced by mv(ls) logic. Altering file
copy command was a false positive, root problem to research is why
did sources not eixst when the copy command was invoked.
Change-Id: I6e27916ad875336880e5350b0f160ab67017720b
diff --git a/jjb/pipeline/voltha/master/bbsim-tests.groovy b/jjb/pipeline/voltha/master/bbsim-tests.groovy
index 171648b..6a2330f 100644
--- a/jjb/pipeline/voltha/master/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/master/bbsim-tests.groovy
@@ -303,6 +303,10 @@
}
steps{
sh """
+ # [TODO] - why is this platform specific (?)
+ # [TODO] - revisit, command alteration has masked an error (see: voltha-2.11).
+ # find will fail when no filsystem matches are found.
+ # mv(ls) succeded simply by accident/invoked at a different time.
mv `ls $WORKSPACE/voltctl/release/voltctl-*-linux-amd*` $WORKSPACE/bin/voltctl
chmod +x $WORKSPACE/bin/voltctl
"""
diff --git a/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy b/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy
index 95c32a0..daa2bec 100644
--- a/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/voltha-2.11/bbsim-tests.groovy
@@ -309,8 +309,11 @@
steps{
sh """
# [TODO] - why is this platform specific (?)
+ # [TODO] - revisit, command alteration has masked an error (see: voltha-2.11).
+ # find will fail when no filsystem matches are found.
+ # mv(ls) succeded simply by accident/invoked at a different time.
# find "$WORKSPACE/voltctl/release" -name 'voltctl-*-linux-amd*' \
- # -exec mv {} $WORKSPACE/bin/voltctl \;
+ # -exec mv {} $WORKSPACE/bin/voltctl ;
mv `ls $WORKSPACE/voltctl/release/voltctl-*-linux-amd*` $WORKSPACE/bin/voltctl
chmod +x $WORKSPACE/bin/voltctl
"""