Browse Source

Adding maven path into Jenkins mvn call

pull/51/head
Martin Stockhammer 4 years ago
parent
commit
5c413a7e4b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Jenkinsfile

+ 2
- 2
Jenkinsfile View File

@@ -95,7 +95,7 @@ pipeline {
// -Dmaven.compiler.fork=true: Do compile in a separate forked process
// -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail
// -Pci-build: Profile for CI-Server
sh "mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
sh "export PATH=$MVN_CMD_DIR:$PATH && mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
}
}
}
@@ -136,7 +136,7 @@ pipeline {
options: publishers
)
{
sh "mvn clean install -U -B -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
sh "export PATH=$MVN_CMD_DIR:$PATH && mvn clean install -U -B -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
}
}
}

Loading…
Cancel
Save