mirror of https://github.com/axmolengine/axmol.git
Merge pull request #5904 from lmskater/clean-workspace
[Jenkins] Clean workspace after build finish
This commit is contained in:
commit
e879e0399d
|
@ -189,7 +189,9 @@ def main():
|
|||
exit_code = 1
|
||||
|
||||
#clean workspace
|
||||
os.system("cd " + os.environ['WORKSPACE']);
|
||||
os.system("cd " + os.environ['WORKSPACE'])
|
||||
os.system("git reset --hard")
|
||||
os.system("git clean -xdf -f")
|
||||
os.system("git checkout develop")
|
||||
os.system("git branch -D pull" + str(pr_num))
|
||||
|
||||
|
|
Loading…
Reference in New Issue