Nevercode supports building feature branches for repositories hosted on GitHub, Bitbucket and GitLab.
Feature branches are an integral part of the Git workflow, and building feature branches automatically is fully covered by Nevercode. To get a brief overview of feature branch workflow, you can take a look at the tutorial by Atlassian here.
To enable feature branch builds in Nevercode, you first have to connect your team to the respective integration:
- Navigate to the Build section in your app settings — feature branch settings can be found in the lower part of the section.
- Enter a pattern that will match the name(s) of the branches that you wish to build in Nevercode. See Wildcard patterns below for instructions. Branches matching the pattern will be immediately highlighted.
- Click the Add branch pattern button to save the setting.
This way, you can save several branch patterns to select more than one branch. Clicking on the pattern in the list lets you edit the pattern and include or exclude it. Use the trash bin icon to delete a pattern.
The next time you create a new branch or push to a branch that matches the specified pattern, Nevercode will automatically trigger a build for your project from the branch's head commit.
Use the wildcard patterns to select more than one branch.
The pattern mentioned above is not treated as a regular expression but as Unix shell-style wildcard. The special characters that can be used are listed in the table below.
|Matches everything.||This pattern selects all the branches.|
|Matches everything between the characters.||The pattern |
|Matches any single character in a specific position.|
|Matches any character in brackets.|
|Matches any character not in brackets.|
You can set up several workflows to save and build different configurations of your app.
Updated 2 years ago