Skip to content

Commit

Permalink
Remove Gerrit actions from Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Feb 11, 2022
1 parent 5093f1e commit 347c38e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Jenkinsfile
Expand Up @@ -11,11 +11,6 @@ pipeline {
jdk 'openjdk-jdk11-latest'
}
stages {
stage('initialize Gerrit review') {
steps {
gerritReview labels: [Verified: 0], message: "Build started $BUILD_URL"
}
}
stage('Build') {
steps {
wrap([$class: 'Xvnc', useXauthority: true]) {
Expand All @@ -34,12 +29,6 @@ pipeline {
junit '**/target/surefire-reports/TEST-*.xml'
publishIssues issues:[scanForIssues(tool: java()), scanForIssues(tool: mavenConsole())]
}
unstable {
gerritReview labels: [Verified: -1], message: "Build UNSTABLE (test failures) $BUILD_URL"
}
failure {
gerritReview labels: [Verified: -1], message: "Build FAILED $BUILD_URL"
}
}
}
stage('Check freeze period') {
Expand All @@ -50,16 +39,6 @@ pipeline {
sh './verifyFreezePeriod.sh'
}
}
post {
failure {
gerritReview labels: [Verified: -1], message: "Build and test are OK, but Eclipse project is currently in a code freeze period.\nPlease wait for end of code freeze period before merging.\n $BUILD_URL"
}
}
}
}
post {
success {
gerritReview labels: [Verified: 1], message: "Build Succcess $BUILD_URL"
}
}
}

0 comments on commit 347c38e

Please sign in to comment.