[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Peter Leibiger closed an issue as Cannot Reproduce Jenkins / JENKINS-39007 Build uses Jenkinsfile from previous build/commit Change By: Peter Leibiger Status: Open Closed Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Peter Leibiger commented on JENKINS-39007 Re: Build uses Jenkinsfile from previous build/commit This doesn't seem to happen anymore on 2.33 and 0.6. Not sure if this plugin was at fault, could have been any git related plugin. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Peter Leibiger commented on JENKINS-39007 Re: Build uses Jenkinsfile from previous build/commit It happens on any existing branch that has already a job with an old version of the Jenkinsfile. A new branch with the new Jenkinsfile builds fine. This could be a general problem and not limited to the model-plugin, could be the multibranch-plugin, guess I have to test that when I find the time. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Andrew Bayer commented on JENKINS-39007 Re: Build uses Jenkinsfile from previous build/commit So the only thing that changed was this plugin version? No other plugin version changes? Have you tried building the other branch with version 0.3 too? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Peter Leibiger commented on JENKINS-39007 Re: Build uses Jenkinsfile from previous build/commit Probably, but I don't know where to look. I had to revert to 0.3. No time to migrate 20+ projects when the main branches refuse to build. I delete all workspace folders but it always starts the build with the old Jenkinsfile. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Andrew Bayer commented on JENKINS-39007 Re: Build uses Jenkinsfile from previous build/commit Huh. I don't think that'd be specific to this plugin, but I could be wrong. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39007) Build uses Jenkinsfile from previous build/commit
Title: Message Title Peter Leibiger created an issue Jenkins / JENKINS-39007 Build uses Jenkinsfile from previous build/commit Issue Type: Bug Assignee: Andrew Bayer Attachments: build.log Components: pipeline-model-definition-plugin Created: 2016/Oct/15 12:36 PM Priority: Minor Reporter: Peter Leibiger I am not exactly sure if the model-definition plugin is at fault here or some other plugin/configuration but I discovered this after the update from 0.3 to 0.4. My develop branch has a last build with a Jenkinsfile that worked in 0.3 but is now invalid in 0.4. So I made a feature branch with an updated Jenkinsfile which build successfully and merged that into the develop branch which triggered an automatic develop build. The log shows git checking out the new (merge)-commit into the WORKSPACE@scripts folder and a global library into the WORKSPACE@libs folder. And then it starts building with the Jenkinsfile from the WORKSPACE folder which is still on the commit from the previous build with the invalid Jenkinsfile and thus the build files.