commit | 5b056268728805d111c5095138ef838af7a983ed | [log] [tgz] |
---|---|---|
author | Jon Hall <jhall@ciena.com> | Tue Sep 25 11:44:41 2018 -0700 |
committer | Jon Hall <jhall@ciena.com> | Tue Sep 25 11:44:41 2018 -0700 |
tree | 928384b12988bfe6badc8e54043af989277f0f11 | |
parent | cd1126de87c8c093159048bd8e595ca9a005ce84 [diff] |
Clean out old build files before triggering a job Change-Id: Iea79c2cae5f7aa796cbf0cdc8ceeb1b12e8d416c
diff --git a/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy b/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy index 78735f1..2ca4f72 100644 --- a/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy +++ b/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy
@@ -207,6 +207,8 @@ git fetch --all # update all caches from remotes git reset --hard origin/''' + onos_branch + ''' # force local index to match remote branch git clean -df # clean any local files + rm -rf buck-out + rm -rf bazel-* ''' + tagCheck( onos_tag, onos_branch ) + ''' git branch git log -1 --decorate