Artur opened 7 months ago
|
|||||
@kobit to sync only master branch, just change refs field as |
|||||
Thank you for your response.
However, I put:
refs/heads/master refs/tags/*
Just to get all the tags as well and the build still puls all the branches.
Artur
|
|||||
I am sorry, I take it back. It did not pull all the branches.
However, there are some new branches created which are not even on the target repo. I do not know where these came from. Still investigating.
Artur
On Oct 4, 2023, at 19:49, Artur Hefczyc <artur@hefczyc.net> wrote:
|
|||||
If refs are specified as |
|||||
Artur changed state to 'Closed' 7 months ago
|
|||||
Thank you, I confirm it all works as expected. Those 2 strange branches, I still do not know where they came from. Most likely some old branches I missed while removing. All subsequent job execution pulled only master and tags. |
|||||
Thank you for your response.
However, I put:
refs/heads/master refs/tags/*
Just to get all the tags as well and the build still puls all the branches.
Artur
|
|||||
I am sorry, I take it back. It did not pull all the branches.
However, there are some new branches created which are not even on the target repo. I do not know where these came from. Still investigating.
Artur
On Oct 4, 2023, at 19:49, Artur Hefczyc <artur@hefczyc.net> wrote:
|
Type |
Question
|
Priority |
Minor
|
Assignee | |
Labels |
No labels
|
Issue Votes (0)
I have a job to sync github repository to my repo in 1dev. I use "Repository Sync"/"Pull from Remote".
I created the job following the online instructions, however, this build attempts to sync all branches which causes lots of problems as remote branches are deleted or changed and it leads to job failure.
However, I am only interested in syncing master branch really. I suspect that I should set it somehow in "Refs" field, but what exactly should I put there to sync only master branch?