Page tree

 

Tags

Question

I added the plugin to the build section, but the build.properties do not show the SVN revision number.

Answer

Please check the scm section. Your SCM URL is probably wrong. If you want to fail the build in this occasion, please use the failOnMissingRevision property.

[ERROR] [snipped] Cannot fetch SCM revision. SCM connection info:
  url=scm:svn:https://my.corp.com/svn/thaipo/somewhere,
  user=jane.doe,
  password=**********************************************

If it is not the SVN URL, the SVN password may be wrong.