Add export to define environment variables
authorSejong Oh <sejooh@microsoft.com>
Sun, 21 Feb 2016 07:51:26 +0000 (23:51 -0800)
committerSejong Oh <sejooh@microsoft.com>
Sun, 21 Feb 2016 07:51:26 +0000 (23:51 -0800)
netci.groovy

index f8d9e52..a1dcb8b 100644 (file)
@@ -123,7 +123,7 @@ def static genStressModeScriptStep(def os, def stressModeName, def stressModeVar
             // Write out what we are writing to the script file
             stepScript += "echo Setting ${k}=${v}\n"
             // Write out the set itself to the script file`
-            stepScript += "${k}=${v}\n"
+            stepScript += "export ${k}=${v}\n"
         }
     }
     return stepScript