mirror of
https://github.com/apache/archiva.git
synced 2025-02-23 02:56:38 +00:00
Adding maven path into Jenkins mvn call
This commit is contained in:
parent
32c4ada259
commit
5c413a7e4b
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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…
x
Reference in New Issue
Block a user