I am developing a new project where in my requirement i have to create separate branches for each project we work on , I am achieving this using Jenkins pipeline scripts. But during the implementation if i create a branch b1 with abc.txt file and push the changes to branch b1 and merge them with master . in next project if i am creating the branch b2 by default Jenkins is pulling the files that are already present in master and then appending the new files and committing the full data to b2 and as well as master. But i dint want b2 branch to be committed with the master data. i just want b2 branch data should be different and master should have b1 and b2 . how can we achieve these . can some let me know what commands do i need to use to achieve the same .
Hi Team,
I am developing a new project where in my requirement i have to create separate branches for each project we work on , I am achieving this using Jenkins pipeline scripts. But during the implementation if i create a branch b1 with abc.txt file and push the changes to branch b1 and merge them with master . in next project if i am creating the branch b2 by default Jenkins is pulling the files that are already present in master and then appending the new files and committing the full data to b2 and as well as master. But i dint want b2 branch to be committed with the master data. i just want b2 branch data should be different and master should have b1 and b2 . how can we achieve these . can some let me know what commands do i need to use to achieve the same .