-
Notifications
You must be signed in to change notification settings - Fork 50
"Trigger not present" eventhough branch changed #179
Copy link
Copy link
Closed
Labels
Description
Hello everyone.
after merging a Bitbucket PR, into main the plugin does not rebuild the branch. This is the payload i get when checking the plugin log:
{
"push":{
"changes":[
{
"forced":false,
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/branches/compare/b4ad3ef5a5b582be01152bbac82a48502f86130d..dfbc3c82ac7f110ffa2ade9924dbafea46c0517c"
},
"commits":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commits?include\u003db4ad3ef5a5b582be01152bbac82a48502f86130d\u0026exclude\u003ddfbc3c82ac7f110ffa2ade9924dbafea46c0517c"
},
"diff":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/diff/b4ad3ef5a5b582be01152bbac82a48502f86130d..dfbc3c82ac7f110ffa2ade9924dbafea46c0517c"
}
},
"truncated":false,
"created":false,
"closed":false,
"commits":[
{
"hash":"b4ad3ef5a5b582be01152bbac82a48502f86130d",
"type":"commit",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/commits/b4ad3ef5a5b582be01152bbac82a48502f86130d"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/b4ad3ef5a5b582be01152bbac82a48502f86130d"
},
"comments":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/b4ad3ef5a5b582be01152bbac82a48502f86130d/comments"
},
"diff":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/diff/b4ad3ef5a5b582be01152bbac82a48502f86130d"
},
"approve":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/b4ad3ef5a5b582be01152bbac82a48502f86130d/approve"
},
"statuses":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/b4ad3ef5a5b582be01152bbac82a48502f86130d/statuses"
}
}
},
{
"hash":"12e4f4014ec3c058b675fb8f1aa2fa5345cd6971",
"type":"commit",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/commits/12e4f4014ec3c058b675fb8f1aa2fa5345cd6971"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/12e4f4014ec3c058b675fb8f1aa2fa5345cd6971"
},
"comments":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/12e4f4014ec3c058b675fb8f1aa2fa5345cd6971/comments"
},
"diff":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/diff/12e4f4014ec3c058b675fb8f1aa2fa5345cd6971"
},
"approve":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/12e4f4014ec3c058b675fb8f1aa2fa5345cd6971/approve"
},
"statuses":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/12e4f4014ec3c058b675fb8f1aa2fa5345cd6971/statuses"
}
}
},
{
"hash":"6f8c498f1279c4586c139e560223124246b13656",
"type":"commit",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/commits/6f8c498f1279c4586c139e560223124246b13656"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/6f8c498f1279c4586c139e560223124246b13656"
},
"comments":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/6f8c498f1279c4586c139e560223124246b13656/comments"
},
"diff":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/diff/6f8c498f1279c4586c139e560223124246b13656"
},
"approve":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/6f8c498f1279c4586c139e560223124246b13656/approve"
},
"statuses":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/6f8c498f1279c4586c139e560223124246b13656/statuses"
}
}
},
{
"hash":"752cde2118d96fb6544c13a3a296befd1f5c331b",
"type":"commit",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/commits/752cde2118d96fb6544c13a3a296befd1f5c331b"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/752cde2118d96fb6544c13a3a296befd1f5c331b"
},
"comments":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/752cde2118d96fb6544c13a3a296befd1f5c331b/comments"
},
"diff":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/diff/752cde2118d96fb6544c13a3a296befd1f5c331b"
},
"approve":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/752cde2118d96fb6544c13a3a296befd1f5c331b/approve"
},
"statuses":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/752cde2118d96fb6544c13a3a296befd1f5c331b/statuses"
}
}
},
{
"hash":"f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8",
"type":"commit",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/commits/f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8"
},
"comments":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8/comments"
},
"diff":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/diff/f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8"
},
"approve":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8/approve"
},
"statuses":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/f2c28af39dbbabd70eb2f05bbcc1429dfc8ac8d8/statuses"
}
}
}
],
"new":{
"type":"branch",
"name":"main",
"target":{
"hash":"b4ad3ef5a5b582be01152bbac82a48502f86130d",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src/commits/b4ad3ef5a5b582be01152bbac82a48502f86130d"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src/commit/b4ad3ef5a5b582be01152bbac82a48502f86130d"
}
}
}
}
}
]
},
"repository":{
"scm":"git",
"name":"mray_src",
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/mray_src"
},
"self":{
"href":"https://api.bitbucket.org/2.0/repositories/mbits-imaging/mray_src"
}
},
"project":{
"links":{
"html":{
"href":"https://bitbucket.org/mbits-imaging/workspace/projects/MRAY"
},
"self":{
"href":"https://api.bitbucket.org/2.0/workspaces/mbits-imaging/projects/MRAY"
}
},
"type":"project",
"uuid":"{cfa75181-de98-41f9-b243-bd265633d463}",
"key":"MRAY",
"name":"mRay"
},
"owner":{
"type":"team",
"display_name":"mbits imaging GmbH",
"uuid":"{ed71c0b7-fb08-4100-ae90-a7f873682bd2}",
"links":{
"html":{
"href":"https://bitbucket.org/%7Bed71c0b7-fb08-4100-ae90-a7f873682bd2%7D/"
},
"self":{
"href":"https://api.bitbucket.org/2.0/teams/%7Bed71c0b7-fb08-4100-ae90-a7f873682bd2%7D"
}
}
},
"type":"repository",
"is_private":true,
"uuid":"{c67ad73f-6b64-4abe-a2d6-608fc7b50e05}"
},
"actor":{
"display_name":"Stephan Vedder",
"account_id":"600a87dfc224770068a9d7fe",
"type":"user",
"links":{
"html":{
"href":"https://bitbucket.org/%7Beff99b1d-ce71-44a5-bbdb-49eab7610ee1%7D/"
},
"self":{
"href":"https://api.bitbucket.org/2.0/users/%7Beff99b1d-ce71-44a5-bbdb-49eab7610ee1%7D"
}
},
"nickname":"Stephan Vedder",
"uuid":"{eff99b1d-ce71-44a5-bbdb-49eab7610ee1}"
}
}```
It then gives the following message when processing the payload:Considering candidate job main
Considering to poke mRay Source » main
Bitbucket Trigger for job: mRay Source » main is not present.
I'm using the latest plugin version & Jenkins BlueOcean. I removed the old **bitbucket** plugin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.