[Jenkins] remove unused code
Merge pull request #5531 from lmskater/remove-unuse-code

[Jenkins] remove unused code