modify upload to use Jenkins plugin