-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Client:
Fedora Workstation 26, updated at least weekly
Google Chrome Version 60.0.3112.101 (Official Build) (64-bit)
SCM:
Atlassian Bitbucket v5.2.3
Jenkins server:
Jenkins core 2.74
blueocean-rest 1.2.0
blueocean-i18n 1.2.0
blueocean-jwt 1.2.0
blueocean-config 1.2.0
blueocean-rest-impl 1.2.0
blueocean-web 1.2.0
blueocean-pipeline-editor 1.2.0
blueocean-autofavorite 1.0.0
blueocean-github-pipeline 1.2.0
blueocean-commons 1.2.0
blueocean-pipeline-api-impl 1.2.0
blueocean-events 1.2.0
blueocean-dashboard 1.2.0
blueocean-pipeline-scm-api 1.2.0
blueocean-personalization 1.2.0
blueocean-git-pipeline 1.2.0
blueocean-display-url 2.1.0
blueocean-bitbucket-pipeline 1.2.0
blueocean 1.2.0
Client: Fedora Workstation 26, updated at least weekly Google Chrome Version 60.0.3112.101 (Official Build) (64-bit) SCM: Atlassian Bitbucket v5.2.3 Jenkins server: Jenkins core 2.74 blueocean-rest 1.2.0 blueocean-i18n 1.2.0 blueocean-jwt 1.2.0 blueocean-config 1.2.0 blueocean-rest-impl 1.2.0 blueocean-web 1.2.0 blueocean-pipeline-editor 1.2.0 blueocean-autofavorite 1.0.0 blueocean-github-pipeline 1.2.0 blueocean-commons 1.2.0 blueocean-pipeline-api-impl 1.2.0 blueocean-events 1.2.0 blueocean-dashboard 1.2.0 blueocean-pipeline-scm-api 1.2.0 blueocean-personalization 1.2.0 blueocean-git-pipeline 1.2.0 blueocean-display-url 2.1.0 blueocean-bitbucket-pipeline 1.2.0 blueocean 1.2.0
Summary:
When using the editor to create a new Jenkinsfile in a repo which previously had none, as described in JENKINS-46434, saving the Jenkinsfile does not cause the Activity page for this Pipeline to refresh. Instead, the user is brought back to the same error message as was previously shown, which states there are no Jenkinsfiles found.
Related to:
JENKINS-46434
Prerequisites:
- A repository which does not contain a Jenkinsfile in any of its branches
- This repository should be set up to where master is not the default branch
Steps to recreate:
1. Create a new Pipeline, based on a repo which has no Jenkinsfile, as described in JENKINS-46434.
2. Click "Create Pipeline."
3. Leave the editor.
4. Enter the editing URL into your browser by hand, making sure to have `master` as the branchname on the end. I think this is important to the recreate, because again, `master` is not the default branch for this particular repo.
http://my-jenkins:8080/blue/organizations/jenkins/pipeline-editor/std-branchnames-no-jenkinsfile/master/
6. Save the Pipeline. Notice that the default setting is `master`, which I imagine is because of the branch name I supplied in the URL. Leave this set to save to `master`:
7. When the save completes, you'll be taken to the Activity page, which reports that there are no branches containing Jenkinsfiles:
8. Clicking on the Branches tab reveals that master is indeed present, with its Jenkinsfile:
9. We can also confirm that the Jenkinsfile made it into our Bitbucket repo:
10. A full page refresh, as Cliff suggested in JENKINS-46434, brings everything up to date:
- duplicates
-
JENKINS-45253 Creating pipeline results in "Not Found" on saving pipeline
-
- Open
-
Duplicate of JENKINS-45253.