test new Jenkinsfile

This commit is contained in:
anhefti 2024-03-04 16:10:45 +01:00
parent 2c23b4e07d
commit 543498c0c7

31
Jenkinsfile vendored
View file

@ -19,37 +19,6 @@ pipeline {
}
}
}
// stage('Reporting') {
// steps {
// withMaven(maven: 'Maven', options: [findbugsPublisher(disabled: true)]) {
// sh "mvn --batch-mode -V -U -e -P let_reporting pmd:pmd pmd:cpd findbugs:findbugs spotbugs:spotbugs"
// }
// }
// }
}
// post {
// always {
// junit testResults: '**/target/surefire-reports/TEST-*.xml'
//
// recordIssues enabledForFailure: true, tool: spotBugs()
// recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml')
// }
// failure {
// setBuildStatus("Build failed", "FAILURE");
// emailext body: "The build of the LET Application (${env.JOB_NAME}) failed! See ${env.BUILD_URL}", recipientProviders: [[$class: 'CulpritsRecipientProvider']], subject: 'LET Application Build Failure'
// }
// success {
// setBuildStatus("Build complete", "SUCCESS");
// }
// }
// options {
// timeout(time: 10, unit: 'MINUTES')
// buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '7'))
// }
triggers {
pollSCM('H/5 * * * *')
}
}