* Only the war and zip artifacts are archived in the jenkins build archive.
*/
LABEL = 'ubuntu'
-buildJdk = 'JDK 1.8 (latest)'
+buildJdk = 'JDK 1.7 (latest)'
buildMvn = 'Maven 3.5.2'
deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
INTEGRATION_PIPELINE = "Archiva-IntegrationTests-Gitbox"
}
post {
failure {
- notifyBuild("Checkout failure (${currentBuild.currentResult})")
+ notifyBuild("Checkout failure")
}
}
}
openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)]
)
{
- sh "chmod 755 ./src/ci/scripts/prepareWorkspace.sh"
- sh "./src/ci/scripts/prepareWorkspace.sh"
// Needs a lot of time to reload the repository files, try without cleanup
// Not sure, but maybe
// sh "rm -rf .repository"
// -Dmaven.compiler.fork=false: Do not 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.test.failure.ignore=true -T2 -Dmaven.compiler.fork=false -Pci-build"
+ sh "mvn clean deploy -B -U -e -fae -T2 -Dmaven.compiler.fork=true -Pci-build"
}
}
}
script {
def previousResult = currentBuild.previousBuild?.result
if (previousResult && !currentBuild.resultIsWorseOrEqualTo(previousResult)) {
- notifyBuild("Fixed: ${currentBuild.currentResult}")
+ notifyBuild("Fixed")
}
}
}
failure {
- notifyBuild("Build / Test failure (${currentBuild.currentResult})")
+ notifyBuild("Failed in BuildAndDeploy stage")
}
}
}
post {
unstable {
- notifyBuild("Unstable Build (${currentBuild.currentResult})")
+ notifyBuild("Unstable Build")
}
always {
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
*/
LABEL = 'ubuntu'
-buildJdk = 'JDK 1.8 (latest)'
+buildJdk = 'JDK 1.7 (latest)'
buildMvn = 'Maven 3.5.2'
deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
DOCKERHUB_CREDS = '10a5f89e-504b-11e8-945d-7fd7b29cc41c'
}
post {
failure {
- notifyBuild("Checkout failure (${currentBuild.currentResult})")
+ notifyBuild("Checkout failure")
}
}
}
junit testResults: '**/target/failsafe-reports/TEST-*.xml'
}
failure {
- notifyBuild("Build / Test failure (${currentBuild.currentResult})")
+ notifyBuild("Failed in htmlunit test stage")
}
}
}
junit testResults: '**/target/failsafe-reports/TEST-*.xml'
}
failure {
- notifyBuild("Build / Test failure (${currentBuild.currentResult})")
+ notifyBuild("Failed in chrome test stage")
}
}
}
}
post {
unstable {
- notifyBuild("Unstable Build (${currentBuild.currentResult})")
+ notifyBuild("Unstable Build")
}
always {
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
script {
def previousResult = currentBuild.previousBuild?.result
if (previousResult && !currentBuild.resultIsWorseOrEqualTo(previousResult)) {
- notifyBuild("Fixed: ${currentBuild.currentResult}")
+ notifyBuild("Fixed")
}
}
}