I have a Jenkins job created and working fine where this job connects to a GIT repository and after that the Build task is 'clean publish' . Now I need to create a new job in same Jenkins where this new job connects to other GIT repository and run a build But here this job should not do a 'clean publish' it should perform some other task instead of this. Can anyone help which task can I perform apart from 'clean publish'. Here I will copy the same existing job which is working fine and I need to modify only the GIT url's and 'tasks' in Build.
Note : this is required since I am working on Migration project where to make sure the new job connects to different GIT repo and perform a build successfully. Only change I require is 'clean publish' instead of clean publish what can I try? Because clean publish will publish to a common archive which is not expected to be done.