mirror of https://github.com/apache/archiva.git
Adding flag for using local jenkins
This commit is contained in:
parent
7c42329da2
commit
aa36da078e
|
@ -40,7 +40,10 @@ publishers = [artifactsPublisher(disabled: false),
|
||||||
junitPublisher(disabled: false, ignoreAttachments: false),
|
junitPublisher(disabled: false, ignoreAttachments: false),
|
||||||
pipelineGraphPublisher(disabled: false),mavenLinkerPublisher(disabled: false)]
|
pipelineGraphPublisher(disabled: false),mavenLinkerPublisher(disabled: false)]
|
||||||
|
|
||||||
INTEGRATION_PIPELINE = "Archiva-IntegrationTests-Gitbox"
|
cmdLine = (env.NONAPACHEORG_RUN != 'y' && env.BRANCH_NAME == 'master') ? "clean deploy" : "clean install"
|
||||||
|
|
||||||
|
|
||||||
|
INTEGRATION_PIPELINE = "Archiva-IntegrationTests-Gitbox"
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
|
@ -103,7 +106,7 @@ pipeline {
|
||||||
// -Dmaven.compiler.fork=true: Do compile in a separate forked process
|
// -Dmaven.compiler.fork=true: Do compile in a separate forked process
|
||||||
// -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail
|
// -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail
|
||||||
// -Pci-build: Profile for CI-Server
|
// -Pci-build: Profile for CI-Server
|
||||||
sh "mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T${THREADS}"
|
sh "mvn ${cmdLine} -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T${THREADS}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue