Bamboo vcs tagging problem / question

We have a SVN repo that has a precommit hook to force a message on commits.

When we are setting up the VCS tagging task, we get errors because the Bamboo task doesnt supply a message. The error message is below.

Is there a way to have bamboo add the message? What is the recommend solution in this scenario.

com.atlassian.bamboo.task.TaskException: Exception when tagging repository
	at com.atlassian.bamboo.plugins.vcs.task.VcsTaggingTask.execute(
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
	at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
	at Source)
Caused by: com.atlassian.bamboo.repository.RepositoryException: Error while creating tag
	at com.atlassian.bamboo.repository.svn.SvnRepository.createTag(
	at com.atlassian.bamboo.plugins.vcs.task.VcsTaggingTask.execute(
	... 8 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: Commit failed (details follow):
svn: Commit blocked by pre-commit hook (exit code 1) with output:
Your commit has been blocked because you didn't give any log message  
Please write a log message describing the purpose of your changes.    
Important: Please add the issue identifier (ie, PS-15, OPS-15) in upper case 
then try committing again. 
        -- Thank you, Onlife Health Configuration Management Team   

	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(
	at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.copyReposToRepos(
	at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(
	at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(
	at com.atlassian.bamboo.repository.svn.SvnRepository.copyRepository(
	at com.atlassian.bamboo.repository.svn.SvnRepository.createTag(
	... 9 more

3 answers

Sure, pass a message with the commit.

Not knowing exactly how your subversion commit is being created (are you using a plugin or just tagging from the command line) you can add a -m "my checkin message to satisfy the Onlife Health Configuration Management Team"

as an argument to whatever command you are using to generate the commit action.

I do most of my svn activity using scripts but I suspect you can add the -m "your message here" string on the argument line of whatever subversion action you're committing. (tagging, branching, etc.)

Hi got the same problem, but the -m does not work for me

I am using the VCS Branching plugin with SubVersion as repository

and in the Display Name field I've added: AppName_1.1.x -m "Branch created by Bamboo"

but it failds with error:

14-Mar-2013 08:05:31 Caused by: org.tmatesoft.svn.core.SVNException: svn: Commit failed (details follow): 14-Mar-2013 08:05:31 svn: Commit blocked by WANdisco pre-replication pre-commit trigger (exit code 1) with error: Please enter a commit message which details what has changed during this commit. 14-Mar-2013 08:05:31 svn: MERGE of '/repos/test/BambooTest/branches': 409 Conflict (


Hi Guys,

There is actually an improvement request to make the VCS tagging more configurable with the commit message. You can watch the request at

Please add the below code and  skip  all validations if the build is from bamboo. It worked for me. 

if [ "$AUTHOR" = "xxxxxxxxxx" ]; then

exit 0

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

995 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you