HPE Morpheus Enterprise Software
1856648 Members
32999 Online
104113 Solutions
New Discussion

Git Integration

 
Not applicable

Git Integration

We have 2 branches; dev and master in Bitbucket. The dev branch is set as a default branch in Bitbucket.
I integrated Git in Morpheus and set DEFAULT BRANCH as dev, but it’s sourcing from master instead.

We are using V. 5.4.5.82.

9 REPLIES 9
Not applicable

Re: Git Integration

Thanks! Can you point me to the release notes that addressing the fix? We don’t want to upgrade to latest and find out the issue still exists.

cbunge
HPE Pro

Re: Git Integration

You would have to navigate through the notes here for each concurrent release:

https://docs.morpheusdata.com/en/5.4.15/release_notes/current.html

I was stating you are very far behind on releases and have not seen this reported by anyone else.

Not applicable

Re: Git Integration

It turns out I’d ‘also’ need to specify the branch in a task.(see below pic)
And answer to your first question, I logged in to Morpheus server and cd to the repo directory.

My other question is what does DEFUALT BRANCH do and what is the relation to VERSION REF?

559532006de90ec66c489b24b5ba4b83f629f22a.png

Not applicable

Re: Git Integration

We are using V. 5.4.5.82.

Not applicable

Re: Git Integration

My colleague had similar issue with other task.

cbunge
HPE Pro

Re: Git Integration

Oh it’s possible this has been fixed. You aren’t on an official build and your current build is almost a year old.

cbunge
HPE Pro

Re: Git Integration

How are you verifying it’s sourcing master? Also note, the branches are case sensitive. Per task does allow you to override the branch as well, though I believe you can only select 1 branch override per phase in a workflow.

cbunge
HPE Pro

Re: Git Integration

Is this occurring on a specific task type? Can you edit the task and share a screenshot? Would like to see the options you are setting as well.

cbunge
HPE Pro

Re: Git Integration

What version are you on? There may be an issue with default branch being honored in 6.0.x