Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recreate branch on in multibranch will use the old jenkinsfile #154

Open
morlajb opened this issue Jan 24, 2024 · 1 comment
Open

recreate branch on in multibranch will use the old jenkinsfile #154

morlajb opened this issue Jan 24, 2024 · 1 comment

Comments

@morlajb
Copy link

morlajb commented Jan 24, 2024

In a multibranch pipeline, we encountered a situation where there was a branch named "aaa" with a corresponding remote Jenkinsfile repository having the same branch name.

After merging the "aaa" branch into the multibranch pipeline, deleting the remote Jenkinsfile repository for the "aaa" branch, and subsequently recreating the "aaa" branch, the pipeline started using an outdated Jenkinsfile.

couldn't find any cleanup mechanism in place for managing Jenkinsfiles in such scenarios.

To Reproduce

  1. create branch aaa in multibranch + the same aaa branch in remote repo
  2. merge aaa / or delete aaa in multi branch project
  3. delete aaa branch from remote jenkinsfiles repo
    4 recreate aaa branch in multibranch - it use the very old Jenkinsfile

Expected behavior
use the latest jenkinsfile

Screenshots
If applicable, add screenshots to help explain your problem.

Jenkins LTS - 2.414.3
plugin version : 1.24

@morgoved
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants