Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13458

Add switch to set reference build always as the latest build

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: analysis-core-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I would like to have a job which sends a warning mail whenever a new checkstyle warning appears in a project. However, this job should not be unstable or failing after this one new build because of the warning. With the current implementation this is not possible as the build will be failing or unstable until that warning is fixed again. A simple way to achieve this behavior is to always use the latest build as the reference build, so that old warning are bascially ignored in the new running build.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            checkstyle.iml
            pom.xml
            src/main/java/hudson/plugins/checkstyle/CheckStyleAnnotationsAggregator.java
            src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResult.java
            src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResultAction.java
            src/main/java/hudson/plugins/checkstyle/CheckStylePublisher.java
            src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java
            src/main/java/hudson/plugins/checkstyle/CheckStyleReporterResult.java
            src/main/java/hudson/plugins/checkstyle/CheckStyleResult.java
            src/main/java/hudson/plugins/checkstyle/MavenCheckStyleResultAction.java
            src/main/java/hudson/plugins/checkstyle/parser/CheckStyleParser.java
            src/test/java/hudson/plugins/checkstyle/parser/CheckStyleParserTest.java
            src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build1.xml
            src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build2.xml
            src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build3.xml
            src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build4.xml
            http://jenkins-ci.org/commit/checkstyle-plugin/369e5fb065dc8fa3137f0c9016451d3e11a8f5fc
            Log:
            [FIXED JENKINS-13458] Added an option to use previous build as a reference.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: checkstyle.iml pom.xml src/main/java/hudson/plugins/checkstyle/CheckStyleAnnotationsAggregator.java src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResult.java src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResultAction.java src/main/java/hudson/plugins/checkstyle/CheckStylePublisher.java src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java src/main/java/hudson/plugins/checkstyle/CheckStyleReporterResult.java src/main/java/hudson/plugins/checkstyle/CheckStyleResult.java src/main/java/hudson/plugins/checkstyle/MavenCheckStyleResultAction.java src/main/java/hudson/plugins/checkstyle/parser/CheckStyleParser.java src/test/java/hudson/plugins/checkstyle/parser/CheckStyleParserTest.java src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build1.xml src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build2.xml src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build3.xml src/test/resources/hudson/plugins/checkstyle/parser/checkstyle-result-build4.xml http://jenkins-ci.org/commit/checkstyle-plugin/369e5fb065dc8fa3137f0c9016451d3e11a8f5fc Log: [FIXED JENKINS-13458] Added an option to use previous build as a reference.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/analysis/collector/AnalysisAnnotationsAggregator.java
            src/main/java/hudson/plugins/analysis/collector/AnalysisPublisher.java
            src/main/java/hudson/plugins/analysis/collector/AnalysisResult.java
            http://jenkins-ci.org/commit/analysis-collector-plugin/8c4ac1d376dfa056f60c7968d426a7a0aed0982d
            Log:
            [FIXED JENKINS-13458] Added an option to use previous build as a reference.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/collector/AnalysisAnnotationsAggregator.java src/main/java/hudson/plugins/analysis/collector/AnalysisPublisher.java src/main/java/hudson/plugins/analysis/collector/AnalysisResult.java http://jenkins-ci.org/commit/analysis-collector-plugin/8c4ac1d376dfa056f60c7968d426a7a0aed0982d Log: [FIXED JENKINS-13458] Added an option to use previous build as a reference.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/tasks/MavenTasksResultAction.java
            src/main/java/hudson/plugins/tasks/TasksAnnotationsAggregator.java
            src/main/java/hudson/plugins/tasks/TasksMavenResult.java
            src/main/java/hudson/plugins/tasks/TasksMavenResultAction.java
            src/main/java/hudson/plugins/tasks/TasksPublisher.java
            src/main/java/hudson/plugins/tasks/TasksReporter.java
            src/main/java/hudson/plugins/tasks/TasksReporterResult.java
            src/main/java/hudson/plugins/tasks/TasksResult.java
            http://jenkins-ci.org/commit/tasks-plugin/0ae7469b4f68430d7c2d29567fb80ef41819b989
            Log:
            [FIXED JENKINS-13458] Added an option to use previous build as a reference.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/tasks/MavenTasksResultAction.java src/main/java/hudson/plugins/tasks/TasksAnnotationsAggregator.java src/main/java/hudson/plugins/tasks/TasksMavenResult.java src/main/java/hudson/plugins/tasks/TasksMavenResultAction.java src/main/java/hudson/plugins/tasks/TasksPublisher.java src/main/java/hudson/plugins/tasks/TasksReporter.java src/main/java/hudson/plugins/tasks/TasksReporterResult.java src/main/java/hudson/plugins/tasks/TasksResult.java http://jenkins-ci.org/commit/tasks-plugin/0ae7469b4f68430d7c2d29567fb80ef41819b989 Log: [FIXED JENKINS-13458] Added an option to use previous build as a reference.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            pmd.iml
            pom.xml
            src/main/java/hudson/plugins/pmd/PmdAnnotationsAggregator.java
            src/main/java/hudson/plugins/pmd/PmdMavenResult.java
            src/main/java/hudson/plugins/pmd/PmdMavenResultAction.java
            src/main/java/hudson/plugins/pmd/PmdPublisher.java
            src/main/java/hudson/plugins/pmd/PmdReporter.java
            src/main/java/hudson/plugins/pmd/PmdReporterResult.java
            src/main/java/hudson/plugins/pmd/PmdResult.java
            src/main/java/hudson/plugins/pmd/parser/PmdParser.java
            http://jenkins-ci.org/commit/pmd-plugin/bf11ab5a02fdbbae20a7503fad468723f6bee29b
            Log:
            [FIXED JENKINS-13458] Added an option to use previous build as a reference.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pmd.iml pom.xml src/main/java/hudson/plugins/pmd/PmdAnnotationsAggregator.java src/main/java/hudson/plugins/pmd/PmdMavenResult.java src/main/java/hudson/plugins/pmd/PmdMavenResultAction.java src/main/java/hudson/plugins/pmd/PmdPublisher.java src/main/java/hudson/plugins/pmd/PmdReporter.java src/main/java/hudson/plugins/pmd/PmdReporterResult.java src/main/java/hudson/plugins/pmd/PmdResult.java src/main/java/hudson/plugins/pmd/parser/PmdParser.java http://jenkins-ci.org/commit/pmd-plugin/bf11ab5a02fdbbae20a7503fad468723f6bee29b Log: [FIXED JENKINS-13458] Added an option to use previous build as a reference.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/warnings/WarningsAnnotationsAggregator.java
            src/main/java/hudson/plugins/warnings/WarningsBuildHistory.java
            src/main/java/hudson/plugins/warnings/WarningsProjectAction.java
            src/main/java/hudson/plugins/warnings/WarningsPublisher.java
            src/main/java/hudson/plugins/warnings/WarningsResult.java
            src/test/java/hudson/plugins/warnings/WarningsPublisherTest.java
            http://jenkins-ci.org/commit/warnings-plugin/96c2df676a21dc3c3368f8e91e7c188d2946403e
            Log:
            [FIXED JENKINS-13458] Added an option to use previous build as a reference.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/WarningsAnnotationsAggregator.java src/main/java/hudson/plugins/warnings/WarningsBuildHistory.java src/main/java/hudson/plugins/warnings/WarningsProjectAction.java src/main/java/hudson/plugins/warnings/WarningsPublisher.java src/main/java/hudson/plugins/warnings/WarningsResult.java src/test/java/hudson/plugins/warnings/WarningsPublisherTest.java http://jenkins-ci.org/commit/warnings-plugin/96c2df676a21dc3c3368f8e91e7c188d2946403e Log: [FIXED JENKINS-13458] Added an option to use previous build as a reference.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                languitar Johannes Wienke
              • Votes:
                10 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: