我正在尝试在Jenkins上生成maven更改日志。它在我的本地机器上工作正常,同时它在运行jenkins服务的远程机器上运行良好。
但它在Jenkins上效果不佳
[pool-1-thread-1] INFO org.apache.maven.scm.manager.plexus.DefaultScmManager - Working directory: C:\h\workspace\b.fsa-data-extractor\data-extractor
[pool-1-thread-1] ERROR org.apache.maven.scm.plugin.ChangeLogMojo - Provider message:
[pool-1-thread-1] ERROR org.apache.maven.scm.plugin.ChangeLogMojo - The svn command failed.
[pool-1-thread-1] ERROR org.apache.maven.scm.plugin.ChangeLogMojo - Command output:
[pool-1-thread-1] ERROR org.apache.maven.scm.plugin.ChangeLogMojo - 'svn' is not recognized as an internal or external command,
可操作程序或批处理文件。
我不确定,为什么它给我svn错误。任何输入都会有帮助吗?
我正在使用2.3版本的插件
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
<configuration>
<dates>
<date>${previous.tag.date}</date>
</dates>
<outputEncoding>UTF-8</outputEncoding>
<type>date</type>
</configuration>
</plugin>
谢谢!