Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirement for not pulling Master branch in Jenkins work space #493

Open
appala1987 opened this issue Nov 27, 2019 · 0 comments
Open

Requirement for not pulling Master branch in Jenkins work space #493

appala1987 opened this issue Nov 27, 2019 · 0 comments

Comments

@appala1987
Copy link

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant