You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| gitBranchExpression | current git branch resolved from SCM or ${env.GIT_BRANCH} | n/a | Maven property expression to resolve in order to determine the current git branch |
107
-
| masterBranchPattern | origin/master | No | Regex. When matched, signals the master branch is being built. Note the lack of a subgroup. |
108
-
| releaseBranchPattern | origin/release/(.*) | No | Regex. When matched, signals a release branch being built. Last subgroup, if present, must match the Maven project version. |
109
-
| hotfixBranchPattern | origin/hotfix/(.*) | No | Regex. When matched, signals a hotfix branch is being built. Last subgroup, if present, must match the Maven project version. |
110
-
| developmentBranchPattern | origin/develop | Yes | Regex. When matched, signals a development branch is being built. Note the lack of a subgroup. |
107
+
| masterBranchPattern |(origin/)?master | No | Regex. When matched, signals the master branch is being built. |
108
+
| releaseBranchPattern |(origin/)?release/(.*) | No | Regex. When matched, signals a release branch being built. Last subgroup, if present, must match the Maven project version. |
109
+
| hotfixBranchPattern |(origin/)?hotfix/(.*) | No | Regex. When matched, signals a hotfix branch is being built. Last subgroup, if present, must match the Maven project version. |
110
+
| developmentBranchPattern |(origin/)?develop | Yes | Regex. When matched, signals a development branch is being built. Note the lack of a subgroup. |
111
111
112
112
## Goal: `retarget-deploy` (Branch Specific Deploy Targets & Staging)
113
113
@@ -190,11 +190,8 @@ The following properties can be configured for this goal:
| gitBranchExpression | current git branch resolved from SCM or ${env.GIT_BRANCH} | Maven property expression to resolve in order to determine the current git branch |
192
192
| gitURLExpression | current git branch resolved from SCM or ${env.GIT_URL} | Maven property expression to resolve for the GIT URL connection to use. |
193
-
| masterBranchPattern | origin/master | Regex. When matched against the resolved value of `gitBranchExpression` this plugin executes the scm:tag goal using the `gitURLExpression` to resolve the git URL to use. |
193
+
| masterBranchPattern |(origin/)?master | Regex. When matched against the resolved value of `gitBranchExpression` this plugin executes the scm:tag goal using the `gitURLExpression` to resolve the git URL to use. |
194
194
| tag | ${project.version} | An expression to use for the SCM tag. |
195
-
| tag.plugin.groupId | org.apache.maven.plugins | The groupId of the plugin to use for tagging. |
196
-
| tag.plugin.artifactId | maven-scm-plugin | The artifactId of the plugin to use for tagging. |
197
-
| tag.plugin.version | 1.9.4 | The version of the plugin to use for tagging. |
198
195
199
196
200
197
## Goal: `promote-master` and the Build Extension. (Copy Staged Artifacts to Releases)
0 commit comments