瀏覽代碼

Deactivating regular publishers of maven step

pull/46/head
Martin Stockhammer 6 年之前
父節點
當前提交
65459c09ba
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. 4
    2
      Jenkinsfile

+ 4
- 2
Jenkinsfile 查看文件

@@ -30,7 +30,8 @@ pipeline {
timeout(120) {
withMaven(maven: buildMvn, jdk: buildJdk,
mavenSettingsConfig: deploySettings,
mavenLocalRepo: ".repository"
mavenLocalRepo: ".repository",
options: [artifactsPublisher(disabled: true), junitPublisher(disabled: true, ignoreAttachments: false)]
)
{
sh "chmod 755 ./src/ci/scripts/prepareWorkspace.sh"
@@ -67,7 +68,8 @@ pipeline {
timeout(120) {
withMaven(maven: buildMvn, jdk: buildJdk,
mavenSettingsConfig: deploySettings,
mavenLocalRepo: ".repository"
mavenLocalRepo: ".repository",
options: [artifactsPublisher(disabled: true), junitPublisher(disabled: true, ignoreAttachments: false)]
)
{
sh "mvn deploy -B -Dmaven.test.skip=true"

Loading…
取消
儲存