[JIRA] (JENKINS-55220) Multibranch Pipeline jobs get randomly lost

2 views
Skip to first unread message

jenkins@cornr.de (JIRA)

unread,
Dec 17, 2018, 5:22:03 AM12/17/18
to jenkinsc...@googlegroups.com
Jonas Büth created an issue
 
Jenkins / Bug JENKINS-55220
Multibranch Pipeline jobs get randomly lost
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-multibranch-plugin
Created: 2018-12-17 10:21
Environment: Jenkins 2.150.1 LTS, workflow-multibranch 2.20, pipeline, bitbucket, macOS
Priority: Major Major
Reporter: Jonas Büth

We are running different Multibranch Pipelines with git (Bitbucket) since almost 2 years now.

Unfortunately jobs (aka branches) do disappear randomly. It feels like the the number of losses is increasing and our workaround (see first comment) is too complicated to keep up.

Even worse it looks like develop and master are the most likely to disappear.

We are not sure what causes the losses. It feels pretty randomly.

The Scan Multibranch Pipeline Log says Detected unsupported subitem:

[Mon Dec 17 10:28:18 CET 2018] Starting branch indexing...

Connecting to https://bitbucket.org using *****

Repository type: Git

Looking up sj/sj-mobile-ios for pull requests

 

  0 pull requests were processed

Connecting to https://bitbucket.org using ******

Repository type: Git

Looking up sj/sj-mobile-ios for branches

Checking branch develop from sj/sj-mobile-ios

      'Jenkinsfile' found

    Met criteria

Detected unsupported subitem sj-mobile-ios » develop, skipping

Checking branch master from sj/sj-mobile-ios

      'Jenkinsfile' found

    Met criteria

Detected unsupported subitem sj-mobile-ios » master, skipping

Checking branch stash/iapPromotion from sj/sj-mobile-ios

      'Jenkinsfile' not found

    Skipped

 

  3 branches were processed

Looking up sj/sj-mobile-ios for pull requests

 

  0 pull requests were processed

[Mon Dec 17 10:28:21 CET 2018] Finished branch indexing. Indexing took 3.4 sec

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@65a9d08a[sj-ios/ffffeeeea.j2i0s0od1eao.innnntttt], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@4f2f2fc0[sj-ios/rrrreeeel.vled0mqc8i7t.2----3333], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@72d388bb[sj-ios/rrrreeeel.r1m7pv7ujr6o.5----1111], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@29a3274d[sj-ios/rrrreeeel.tgai4liiqai5.3----1111], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@63eb56a6[sj-ios/ffffeeeea.fqa397lnq84t.aggggyyyy], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@2548a24e[sj-ios/rrrreeeel.0d0a3oaeksil.5----2222], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@52e05031[sj-ios/PR-130], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@69b325d6[sj-ios/rrrreeeel.2s6jniopvdin.1----7777], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@1ffba7d3[sj-ios/rrrreeeel.c8v76qkpj7f5.1----4444], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@1c6e3ff6[sj-ios/rrrreeeel.tndhtl2k8ai1.1----6666], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@734db299[sj-ios/rrrreeeel.9dgfoipjl376.2----2222], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@f3b27ec[sj-ios/PR-129], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@22f40536[sj-ios/rrrreeeel.i2j4g40joneo.1----5555], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@2928d02b[sj-ios/ffffeeeea.i5k5i2srbpsp.nkkkkssss], skipping

Detected unsupported subitem org.jenkinsci.plugins.workflow.job.WorkflowJob@5795381d[sj-ios/rrrreeeel.akouhq90ivkl.1----3333], skipping

Finished: SUCCESS

 

You can still see the job if you navigate to /project/job/develop/ but its not working anymore. Somehow the config.xml gets reseted to

<?xml version='1.1' encoding='UTF-8'?>
<flow-definition plugin="workfl...@2.30">
<actions/>
<keepDependencies>false</keepDependencies>
<properties/>
<triggers/>
<disabled>false</disabled>
</flow-definition>

 

We are thankful for your help.

 

 

We are running Jenkins on AWS Bitnami Installation on Apache Tomcat Version 8.0.47

See also screenshots of Project Configuration and Bitbuckets Webhooks.

OS: 

os.name Linux
os.version 4.9.0-5-amd64

VM:

java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.8.0_151
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.8
java.vm.vendor Oracle Corporation
java.vm.version 25.151-b12

 

Installed Plugins:

ace-editor 1.1 true
amazon-ecr 1.6 true
amazon-ecs 1.18 true
analysis-core 1.95 true
ansicolor 0.5.3 true
ant 1.9 true
antisamy-markup-formatter 1.5 true
apache-httpcomponents-client-4-api 4.5.5-3.0 true
authentication-tokens 1.3 true
aws-credentials 1.24 true
aws-java-sdk 1.11.457 true
bitbucket 1.1.8 true
bitbucket-build-status-notifier 1.4.1 true
bitbucket-scm-trait-commit-skip 0.1.1 true
bouncycastle-api 2.17 true
branch-api 2.1.2 true
build-monitor-plugin 1.12+build.201809061734 true
build-timeout 1.19 true
checkstyle 3.50 true
cloudbees-bitbucket-branch-source 2.2.15 true
cloudbees-folder 6.7 true
cobertura 1.13 true
code-coverage-api 1.0.5 true
command-launcher 1.2 true
copyartifact 1.41 true
credentials 2.1.18 true
credentials-binding 1.17 true
display-url-api 2.3.0 true
docker-build-publish 1.3.2 true
docker-commons 1.13 true
docker-workflow 1.17 true
dry 2.50 true
durable-task 1.28 true
email-ext 2.63 true
external-monitor-job 1.7 true
git 3.9.1 true
git-client 2.7.4 true
git-parameter 0.9.6 true
git-server 1.7 true
github 1.29.3 true
github-api 1.95 true
github-branch-source 2.4.1 true
github-organization-folder 1.6 true
gradle 1.29 true
handlebars 1.1.1 true
handy-uri-templates-2-api 2.1.6-1.0 true
icon-shim 2.0.3 true
jackson2-api 2.9.7.1 true
javadoc 1.4 true
jdk-tool 1.2 true
jquery 1.12.4-0 true
jquery-detached 1.2.1 true
jsch 0.1.54.2 true
junit 1.26.1 true
ldap 1.20 true
locale 1.4 true
lockable-resources 2.3 true
log-parser 2.0 true
mailer 1.22 true
mapdb-api 1.0.9.0 true
matrix-auth 2.3 true
matrix-project 1.13 true
maven-plugin 3.2 true
mercurial 2.4 true
momentjs 1.1.1 true
multiple-scms 0.6 true
notification 1.13 true
pam-auth 1.4 true
pipeline-aws 1.35 true
pipeline-build-step 2.7 true
pipeline-github-lib 1.0 true
pipeline-graph-analysis 1.9 true
pipeline-input-step 2.8 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.3.3 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.3.3 true
pipeline-model-extensions 1.3.3 true
pipeline-rest-api 2.10 true
pipeline-stage-step 2.3 true
pipeline-stage-tags-metadata 1.3.3 true
pipeline-stage-view 2.10 true
pipeline-utility-steps 2.2.0 true
plain-credentials 1.4 true
pmd 3.50 true
pyenv-pipeline 2.0.1 true
resource-disposer 0.12 true
s3 0.11.2 true
scm-api 2.3.0 true
script-security 1.49 true
sloccount 1.24 true
ssh-agent 1.17 true
ssh-credentials 1.14 true
ssh-slaves 1.29.1 true
structs 1.17 true
subversion 2.12.1 true
timestamper 1.8.10 true
token-macro 2.5 true
trilead-api 1.0.1 true
warnings 4.68 true
windows-slaves 1.3.1 true
workflow-aggregator 2.6 true
workflow-api 2.33 true
workflow-basic-steps 2.13 true
workflow-cps 2.61 true
workflow-cps-global-lib 2.12 true
workflow-durable-task-step 2.26 true
workflow-job 2.30 true
workflow-multibranch 2.20 true
workflow-scm-step 2.7 true
workflow-step-api 2.17 true
workflow-support 2.23 true
ws-cleanup 0.36 true
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jenkins@cornr.de (JIRA)

unread,
Dec 17, 2018, 5:23:02 AM12/17/18
to jenkinsc...@googlegroups.com
Jonas Büth updated an issue
Change By: Jonas Büth
Attachment: bitbucketwebhooks.png

jenkins@cornr.de (JIRA)

unread,
Dec 17, 2018, 5:24:02 AM12/17/18
to jenkinsc...@googlegroups.com
Jonas Büth updated an issue
Change By: Jonas Büth
Attachment: branchsources.png

jenkins@cornr.de (JIRA)

unread,
Dec 17, 2018, 5:25:02 AM12/17/18
to jenkinsc...@googlegroups.com
Jonas Büth commented on Bug JENKINS-55220
 
Re: Multibranch Pipeline jobs get randomly lost

Our workaround for this:

  1. shutdown jenkins
  2. copy job config.xml from working branch to missing branch
  3. rename branch in copied config.xml
  4. start jenkins

vivek.pandey@gmail.com (JIRA)

unread,
Dec 17, 2018, 8:34:01 PM12/17/18
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Dec 18, 2018, 1:59:02 AM12/18/18
to jenkinsc...@googlegroups.com

potential fix should be available in 2.2.16.
Should appear in the update center in a few hours.

jenkins@cornr.de (JIRA)

unread,
Dec 18, 2018, 9:05:01 AM12/18/18
to jenkinsc...@googlegroups.com

vivek.pandey@gmail.com (JIRA)

unread,
Dec 18, 2018, 10:32:01 AM12/18/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
 
Change By: Vivek Pandey
Component/s: bitbucket-branch-source-plugin

vivek.pandey@gmail.com (JIRA)

unread,
Dec 18, 2018, 11:00:02 AM12/18/18
to jenkinsc...@googlegroups.com
Vivek Pandey commented on Bug JENKINS-55220
 
Re: Multibranch Pipeline jobs get randomly lost

Jonas Büth Please confirm using bitbucket-branch-source 2.2.16 fixes this issue.

jenkins@cornr.de (JIRA)

unread,
Dec 18, 2018, 11:10:03 AM12/18/18
to jenkinsc...@googlegroups.com

Vivek Pandey I have installed the update but can only confirm the fix after a while when no more loses appear.

jenkins@cornr.de (JIRA)

unread,
Jan 2, 2019, 6:55:02 AM1/2/19
to jenkinsc...@googlegroups.com

Vivek Pandey unfortunately I must say our issue is not fixed. After the holidays I saw develop and master branch disappearing. When I scan the logs I saw Unotherized Access when Jenkins connected to Bitbucket. I fixed this by login as our jenkins user on bitbucket. But the missing branch configurations are still damaged.

Maybe there is another case like https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/159

jenkins@cornr.de (JIRA)

unread,
Jan 16, 2019, 9:57:01 AM1/16/19
to jenkinsc...@googlegroups.com

We keep losing Branches [sigh].

Also we see spanning folders within the branches folder.

For example:

 

drwxr-xr-x  2 tomcat tomcat 4096 Jan 16 03:51 ffffeeeea.5nf2j28q5cs3.orrrrtttt
drwxr-xr-x  2 tomcat tomcat 4096 Jan 16 04:00 ffffeeeea-5n.v9hmtv.s3-orrrrtttt

These folders contain both a nextBuildNumber and a config.xml which looks like this:

<?xml version='1.1' encoding='UTF-8'
?>
<flow-definition plugin="workfl...@2.31">
  <actions/>
  <displayName>feature/credential_management_api_support</displayName>
  <keepDependencies>false</keepDependencies>
  <properties/>
  <triggers/>
  <disabled>false</disabled>
</flow-definition>

 

Unfortunately this folders are only created for the branches which do not disappear.

 

josephp90@gmail.com (JIRA)

unread,
Jan 16, 2019, 11:13:02 AM1/16/19
to jenkinsc...@googlegroups.com

Jonas Büth I suggest you dedicate time to debug the issue, I am only a maintainer of the plugin, I do not work with Bitbucket directly anymore so it requires more time than I can afford to debug issues. I rely on the community to solve any issues they might experience.

If you need guidance on how to get started, please ask away. I suggest you look here: https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial 

vivek.pandey@gmail.com (JIRA)

unread,
Jan 17, 2019, 7:30:02 PM1/17/19
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Labels: pipeline-triaged

rsandell@cloudbees.com (JIRA)

unread,
Jan 22, 2019, 7:29:01 AM1/22/19
to jenkinsc...@googlegroups.com
rsandell commented on Bug JENKINS-55220
 
Re: Multibranch Pipeline jobs get randomly lost

Do you see any warnings in the system log relating to JEP-200 ?

rsandell@cloudbees.com (JIRA)

unread,
Jan 22, 2019, 7:32:02 AM1/22/19
to jenkinsc...@googlegroups.com
rsandell edited a comment on Bug JENKINS-55220
Do you see any warnings in the system log relating to [JEP-200|https://github.com/jenkinsci/jep/tree/master/jep/200] ?

When you say that the config.xml gets reset to the "empty" example have you verified that the once before had more in them and then got reset to the "empty" state or perhaps have they always been like that since creation?

eric.maras@us.fujitsu.com (JIRA)

unread,
Jan 30, 2019, 4:56:02 PM1/30/19
to jenkinsc...@googlegroups.com

I am experiencing issues as well. I have been able to reproduce this. Every time I change a multibranch config file all of my branch pipelines seem to disappear. This was not happening every time before but now it is consistently happening. Deleting a lot of branches in Bitbucket seems to cause this issue for me as well. 

eric.maras@us.fujitsu.com (JIRA)

unread,
Jan 30, 2019, 6:08:02 PM1/30/19
to jenkinsc...@googlegroups.com

I think I may have found the issue. I am not sure why my browser auto-fill thought the "Marker File" field is a username field, but it has been putting my username in that field every time I edited a configuration file. I am thinking this may be the case for others as well and could be an issue. How this was causing all branch pipelines to disappear for me I still do not understand. This issue could be different from the one this ticket is meant to address. Apologies if that is the case.

matthieu.brucher@gmail.com (JIRA)

unread,
May 9, 2019, 7:26:03 PM5/9/19
to jenkinsc...@googlegroups.com

I see this happening with github as well, so not just related to bitbucket.

Could be indeed related to unauthorized user and then the branches get cleaned.

jenkins@cornr.de (JIRA)

unread,
May 10, 2019, 4:14:03 AM5/10/19
to jenkinsc...@googlegroups.com

I think we might found an answer (or problem causer). In our case we automatically restarted Jenkins once a day in either in the shut down or boot up process branches went missing.
The amount of missing branches declined significantly after keeping the Jenkins running all the time.

svcjnks@keitalbame.net (JIRA)

unread,
May 24, 2019, 7:49:02 AM5/24/19
to jenkinsc...@googlegroups.com

This happening to me today. I had this happening a few weeks ago and without any change from our part, it reenabled the branch.

We are using bitbucket.org Team.

Using jenkins 2.164.2 and nginx, both as containers.

svcjnks@keitalbame.net (JIRA)

unread,
May 24, 2019, 7:50:02 AM5/24/19
to jenkinsc...@googlegroups.com
Nuno Costa edited a comment on Bug JENKINS-55220
This is happening to me today. I had this happening a few weeks ago and without any change from our part, it reenabled the branch.


We are using bitbucket.org Team.

Using jenkins 2.164.2 and nginx, both as containers.

svcjnks@keitalbame.net (JIRA)

unread,
May 24, 2019, 7:52:02 AM5/24/19
to jenkinsc...@googlegroups.com
Nuno Costa edited a comment on Bug JENKINS-55220
This is happening to me today , although is not showing any errors . The Scan log shows that is not detecting jenkinsfile on a specific branch but the file is there. Other branches with jenkinsfile are been shown in the log.

I had this happening a few weeks ago and without any change from our part, it reenabled the branch.

We are using bitbucket.org Team.

Using jenkins 2.164.2 and nginx, both as containers.

bitwiseman@gmail.com (JIRA)

unread,
May 29, 2019, 1:15:03 PM5/29/19
to jenkinsc...@googlegroups.com
Liam Newman updated an issue
 
Change By: Liam Newman
Summary: Multibranch Pipeline jobs get randomly lost , unsupported subitem

morgan@resapphealth.com.au (JIRA)

unread,
Oct 3, 2019, 11:02:04 PM10/3/19
to jenkinsc...@googlegroups.com
Morgan Robertson commented on Bug JENKINS-55220
 
Re: Multibranch Pipeline jobs get randomly lost

We see this with GitHub, multi-branch pipelines & Jenkins version 2.193.  Happy to provide any further details to assist in narrowing it down.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

svcjnks@keitalbame.net (JIRA)

unread,
Oct 5, 2019, 12:44:02 PM10/5/19
to jenkinsc...@googlegroups.com
Nuno Costa edited a comment on Bug JENKINS-55220
This is happening to me today, although is not showing any errors. The Scan log shows that is not detecting jenkinsfile on a specific branch but the file is there. Other branches with jenkinsfile are been shown in the log.


I had this happening a few weeks ago and without any change from our part, it reenabled the branch.

We are using bitbucket.org Team.

Using jenkins 2.164.2 and nginx, both as containers.


UPDATE: My issue was that the project was configured in a way that when a PR was opened, the branch just "disappeared" from the UI. After the PR merge, the branch would "reappear".

Review your project configurations in Jenkins and check the behaviour when PR's are present.

olivier.dagenais@gmail.com (JIRA)

unread,
Oct 8, 2019, 12:50:05 PM10/8/19
to jenkinsc...@googlegroups.com

We are encountering something very similar, however we haven't had our jobs disappear [yet?]. What we have seen are runs that fail early on because they are trying to serialize to an invalid folder, one that's different from the folder used by other runs of the same branch. It looks like we might both be encountering a related defect, because I noticed that our branch name was occasionally getting "extra mangled", similar to an instance found in this issue:

feature/credential_management_api_support -> ffffeeeea-5n.v9hmtv.s3-orrrrtttt

...whereas our branch name went from rwu/DO-5104_extract-run-tests-job to rrwwuu_25.6kcpi1bhuh8u.s-jjoobb (which doesn't exist as a folder, causing a "FileNotFoundException"), instead of the usual rwu-DO-5104.qemgq5.un-tests-job, which exists as a folder.

Notice the similarities: in both our case and the reporter's the branch name's letters are repeated. (the "fea" part of "feature" became "ffffeeeea" and the "rwu" part became "rrwwuu")

Both the mangled and "extra-mangled" names can be explained by the NameMangler class, sort of: I haven't figured out in what cases the NameMangler class gets a value with repeated letters, yet. It seems to hinge on different instances of WorkflowRun getting different values when calling WorkflowRun#getRootDir(); I'll keep digging.

dpn982@gmail.com (JIRA)

unread,
Oct 15, 2019, 10:16:02 AM10/15/19
to jenkinsc...@googlegroups.com

Also having this issue with Gitlab, multibranch pipelines, and Jenkins 2.150.2.

Jenkins is running as a container with nginx.

dpn982@gmail.com (JIRA)

unread,
Oct 15, 2019, 10:18:06 AM10/15/19
to jenkinsc...@googlegroups.com
Dave Nichols edited a comment on Bug JENKINS-55220
Also having this issue with Gitlab, multibranch pipelines, and Jenkins 2.150.2.

Jenkins is running as a container with nginx.


 

Also not 100% on this but I don't think all of the branches disappeared, only a subset disappeared and I can't find a reason why only those.

jeremy.page@semanticbits.com (JIRA)

unread,
Oct 23, 2019, 3:19:05 PM10/23/19
to jenkinsc...@googlegroups.com

We have branches disappear when there is a PR pending for them using Github.

morgan@resapphealth.com.au (JIRA)

unread,
Oct 23, 2019, 7:40:03 PM10/23/19
to jenkinsc...@googlegroups.com

Jeremy Page, Are you sure that's just not what you have the 'Discover Branches' option set to on your multi-branch job config?  Make sure it's not on 'Exclude branches that are also filed as PRs' (I think it's the default).

morgan@resapphealth.com.au (JIRA)

unread,
Oct 23, 2019, 7:42:05 PM10/23/19
to jenkinsc...@googlegroups.com

Can everyone that is impacted by this click the 'Vote for this issue' button so this gets attention? Thanks.

jeremy.page@semanticbits.com (JIRA)

unread,
Oct 24, 2019, 11:20:05 AM10/24/19
to jenkinsc...@googlegroups.com
Jeremy Page edited a comment on Bug JENKINS-55220
- We have branches disappear when there is a PR pending for them using Github. -

Sorry for the confusion, I did not know how to configure the job properly. Thank you [~morganr87]

stikus@mail.ru (JIRA)

unread,
Dec 3, 2019, 3:34:04 AM12/3/19
to jenkinsc...@googlegroups.com
Konstantin Grammatikati updated an issue
 
Change By: Konstantin Grammatikati
Attachment: Jenkins_remove_branches_1.png

stikus@mail.ru (JIRA)

unread,
Dec 3, 2019, 3:37:03 AM12/3/19
to jenkinsc...@googlegroups.com
Konstantin Grammatikati commented on Bug JENKINS-55220
 
Re: Multibranch Pipeline jobs get randomly lost

Dave Nichols

We are having random branches disappearance in our Jenkins too (Jenkins ver. 2.190.3 standalone on CentOS machine).

This is screenshot from Scan GitLab Project Log:

But we have master branch and Jenkinsfile there. I don't know why Jenkins counting this branch as orphaned and don't see anything in logs and in Multibranch pipeline events section.

 

a.josh.watson@gmail.com (JIRA)

unread,
Dec 4, 2019, 11:34:05 AM12/4/19
to jenkinsc...@googlegroups.com

Also getting this with Jenkins running on Centos 7, using nginx as a proxy. The jobs are triggered from other multi-branch pipelines (from subversion (still using it in 2019!) ) and I'm seeing mangled branches being created, for example branches/4.0 mutates from branches-4-0.v5ktnf to bbrraanncchh.lphb61._252-F44--00

a.josh.watson@gmail.com (JIRA)

unread,
Dec 5, 2019, 3:56:03 AM12/5/19
to jenkinsc...@googlegroups.com
Josh Watson edited a comment on Bug JENKINS-55220
Also getting this with Jenkins running on Centos 7, using nginx as a proxy. The jobs are triggered from other multi-branch pipelines (from subversion (still using it in 2019!) ) and I'm seeing mangled branches being created, for example {{branches/4.0}} mutates from {{branches-4-0.v5ktnf}} to {{bbrraanncchh.lphb61._252-F44 -- 00}}

A workaround for this case (reusable job) is to remove the mangled branch after it fails and link it back to the correct branch. The job then works. I haven't restarted Jenkins since doing this :)

morgan@resapphealth.com.au (JIRA)

unread,
Feb 3, 2020, 7:42:03 PM2/3/20
to jenkinsc...@googlegroups.com

morgan@resapphealth.com.au (JIRA)

unread,
Feb 3, 2020, 7:47:03 PM2/3/20
to jenkinsc...@googlegroups.com

morgan@resapphealth.com.au (JIRA)

unread,
Apr 22, 2020, 6:26:05 PM4/22/20
to jenkinsc...@googlegroups.com

Do we all have the 'Discard old items' item enabled in Jenkins?  I have a suspicion that what's happening is that GitHub or Bitbucket or whatever git service we use occasionally fails to properly respond to the Jenkins poll request and then Jenkins removes the branch due to the 'Discard old items' option.  I'm going to try disabling this.

If so, two potential fixes:

  • Allow certain branches to be excepted from the 'Discard old items' job.
  • Make every Bitbucket / GitHub / etc. reliably respond to requests (hah).
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages