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

Missing build history moving a job when BuildDir is set to a custom location

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins is configured with a custom Build item root dir, outside job directory.
      When job is moved to a folder, the build history is losts. It's actually still present on disk at the previous location.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            changelog.html
            core/src/main/java/hudson/model/AbstractItem.java
            core/src/main/java/hudson/model/Items.java
            core/src/main/java/hudson/model/Job.java
            test/src/test/java/hudson/model/ItemsTest.java
            http://jenkins-ci.org/commit/jenkins/d54bc061b125c580346e42b9af4e6bdb3c6646ef
            Log:
            Merge branch 'JENKINS-24825'

            Compare: https://github.com/jenkinsci/jenkins/compare/b2bb58895f2d...d54bc061b125

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: changelog.html core/src/main/java/hudson/model/AbstractItem.java core/src/main/java/hudson/model/Items.java core/src/main/java/hudson/model/Job.java test/src/test/java/hudson/model/ItemsTest.java http://jenkins-ci.org/commit/jenkins/d54bc061b125c580346e42b9af4e6bdb3c6646ef Log: Merge branch ' JENKINS-24825 ' Compare: https://github.com/jenkinsci/jenkins/compare/b2bb58895f2d...d54bc061b125
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3706
            [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo (Revision 9b3f48853d481b848f91b4f6fb7d96e87e81b500)
            test case for JENKINS-24825 (Revision 8975b0e0b5b5c553301c7bc85fd81d080a658b96)

            Result = SUCCESS
            Nicolas De Loof : 9b3f48853d481b848f91b4f6fb7d96e87e81b500
            Files :

            • core/src/main/java/hudson/model/Items.java
            • core/src/main/java/hudson/model/AbstractItem.java
            • core/src/main/java/hudson/model/Job.java
            • changelog.html

            Nicolas De Loof : 8975b0e0b5b5c553301c7bc85fd81d080a658b96
            Files :

            • test/src/test/java/hudson/model/ItemsTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3706 [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo (Revision 9b3f48853d481b848f91b4f6fb7d96e87e81b500) test case for JENKINS-24825 (Revision 8975b0e0b5b5c553301c7bc85fd81d080a658b96) Result = SUCCESS Nicolas De Loof : 9b3f48853d481b848f91b4f6fb7d96e87e81b500 Files : core/src/main/java/hudson/model/Items.java core/src/main/java/hudson/model/AbstractItem.java core/src/main/java/hudson/model/Job.java changelog.html Nicolas De Loof : 8975b0e0b5b5c553301c7bc85fd81d080a658b96 Files : test/src/test/java/hudson/model/ItemsTest.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            core/src/main/java/hudson/model/AbstractItem.java
            core/src/main/java/hudson/model/Items.java
            core/src/main/java/hudson/model/Job.java
            http://jenkins-ci.org/commit/jenkins/a4a28fb87f6ad64e1faf816ee669c38cc5ada085
            Log:
            [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo

            (cherry picked from commit 9b3f48853d481b848f91b4f6fb7d96e87e81b500)

            Conflicts:
            changelog.html

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: core/src/main/java/hudson/model/AbstractItem.java core/src/main/java/hudson/model/Items.java core/src/main/java/hudson/model/Job.java http://jenkins-ci.org/commit/jenkins/a4a28fb87f6ad64e1faf816ee669c38cc5ada085 Log: [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo (cherry picked from commit 9b3f48853d481b848f91b4f6fb7d96e87e81b500) Conflicts: changelog.html
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            test/src/test/java/hudson/model/ItemsTest.java
            http://jenkins-ci.org/commit/jenkins/03a13fcf973d6add0f02a8ce7102db35d393cba7
            Log:
            test case for JENKINS-24825
            (cherry picked from commit 8975b0e0b5b5c553301c7bc85fd81d080a658b96)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: test/src/test/java/hudson/model/ItemsTest.java http://jenkins-ci.org/commit/jenkins/03a13fcf973d6add0f02a8ce7102db35d393cba7 Log: test case for JENKINS-24825 (cherry picked from commit 8975b0e0b5b5c553301c7bc85fd81d080a658b96)
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo (Revision a4a28fb87f6ad64e1faf816ee669c38cc5ada085)
            test case for JENKINS-24825 (Revision 03a13fcf973d6add0f02a8ce7102db35d393cba7)

            Result = UNSTABLE
            ogondza : a4a28fb87f6ad64e1faf816ee669c38cc5ada085
            Files :

            • core/src/main/java/hudson/model/AbstractItem.java
            • core/src/main/java/hudson/model/Job.java
            • core/src/main/java/hudson/model/Items.java

            ogondza : 03a13fcf973d6add0f02a8ce7102db35d393cba7
            Files :

            • test/src/test/java/hudson/model/ItemsTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo (Revision a4a28fb87f6ad64e1faf816ee669c38cc5ada085) test case for JENKINS-24825 (Revision 03a13fcf973d6add0f02a8ce7102db35d393cba7) Result = UNSTABLE ogondza : a4a28fb87f6ad64e1faf816ee669c38cc5ada085 Files : core/src/main/java/hudson/model/AbstractItem.java core/src/main/java/hudson/model/Job.java core/src/main/java/hudson/model/Items.java ogondza : 03a13fcf973d6add0f02a8ce7102db35d393cba7 Files : test/src/test/java/hudson/model/ItemsTest.java

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: