How to deploy dll's to Nexus repo

I have 2 msbuilds in Jenkins,I want to publish Job 1 build artifacts (dll’s) to nexus repo and reference these dll’s in my Job 2 using scripted pipeline.Please advise on how to execute this task.

Thanks,
Saisirisha