如何将 -X 和 -B 等命令行参数传递给 Artifactory Maven 插件中的 rtMavenRun?

How to pass command line parameters like -X and -B to rtMavenRun in Artifactory Maven Plugin?

在我的声明性 Jenkinsfile 中,我使用来自 https://www.jfrog.com/confluence/display/RTF/Working+With+Pipeline+Jobs+in+Jenkins

的这个块调用 Maven
           rtMavenRun (
                tool: 'maven-3.6.0',
                pom: 'pom.xml',
                goals: 'clean test',
                resolverId: 'maven-resolver-id',
                deployerId: 'maven-deployer-id',
                buildNumber: '99',
                buildName: 'my-build'
            )

运行时,输出中充斥着大量 'Progress' 条目。 关闭它的方法是在 mvn 命令行上使用 -B。

如何使用 rtMavenRun() 执行此操作?

我尝试使用找到的 'options:' 参数 https://jenkins.io/doc/pipeline/steps/artifactory/#rtmavenrun-run-artifactory-maven 但这只定义了 JVM 参数而不是 Maven 参数。

将 'goals' 参数更改为具有值 '-B clean test'