Well you can think of webpack as the compiler. Jenkins (or any other tool like Travis, CircleCI,..) are the tools that drive the whole build process like fetching the corresponding source from the git repo, then invoking the according webpack command to build and create the bundle, then invoking some other command for maybe running your unit tests & finally then deploying ur built bundles somewhere (on NPM, ur prod server,...)
Hope it helps :)