Comments (27)
Did you already trigger manually the pipeline job?
from bitbucket-push-and-pull-request-plugin.
Nope
from bitbucket-push-and-pull-request-plugin.
You need to trigger a new pipeline for the first time manually, only after that the pipeline will be triggered automatically.
from bitbucket-push-and-pull-request-plugin.
Done That But getting the error - 403 No valid crumb was included in the request...
from bitbucket-push-and-pull-request-plugin.
it seems to be a configuration problem. Did you solve the problem?
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
Hi @SAi0401
want you try this code?
properties([
pipelineTriggers([
[
$class: 'BitBucketPPRTrigger',
triggers : [
[
$class: 'BitBucketPPRPullRequestTriggerFilter',
actionFilter: [
$class: 'BitBucketPPRPullRequestCreatedActionFilter',
]
],
[
$class: 'BitBucketPPRPullRequestTriggerFilter',
actionFilter: [
$class: 'BitBucketPPRPullRequestUpdatedActionFilter',
]
]
]
]
])
])
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
Hi Guys I am facing the same issue
my webhook gets triggerd using freestyle job but no response for pipeline job
can anyone suggest ?
my pipeline looks like :
pipeline {
triggers {
bitBucketTrigger([[$class: 'BitBucketPPRRepositoryTriggerFilter', actionFilter: [$class: 'BitBucketPPRRepositoryPushActionFilter', allowedBranches: 'master', triggerAlsoIfTagPush: true]]])
}
agent {
node {
label 'build-slave1'
}
}
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
Hi Sai ,
Thanks for the reply , I tried this But no luck :(
#!groovy
properties([
pipelineTriggers([
bitBucketTrigger([
[
$class: 'BitBucketPPRPullRequestTriggerFilter',
actionFilter: [$class: 'BitBucketPPRPullRequestCreatedActionFilter']
],
[
$class: 'BitBucketPPRPullRequestTriggerFilter',
actionFilter: [$class: 'BitBucketPPRPullRequestUpdatedActionFilter']
]
])
])
])
scm {
git {
remote {
url("MYREPO")
}
}
}
steps {
shell('echo START pull request created')
}
from bitbucket-push-and-pull-request-plugin.
@cdelmonte-zg Are you sure its compatible with the newest jenkins version - 2.204.1
I guess @Sumit31 Also using the same version....
Kindly confirm me the details, Becuase after upgarding to the 2.204.1 from 2.190.1 its not working...
from bitbucket-push-and-pull-request-plugin.
Hi @SAi0401
I'm going to check it. Thanks!
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
Hi @SAi0401
you should write BitBucketPPRTrigger (First letter in uppercase, as the name of the related class.)
$class: 'BitBucketPPRTrigger',
Let me know...
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
Hi @SAi0401
I upgraded Jenkins to the Jenkins ver. 2.204.1 , tested all and tried with the following scripted pipeline generated with the Snippet generator. On my side, all is working fine.
properties([
pipelineTriggers([
bitBucketTrigger([
[
$class: 'BitBucketPPRPullRequestTriggerFilter',
actionFilter: [
$class: 'BitBucketPPRPullRequestCreatedActionFilter'
]
]
])
])
])
node {
def something
stage('Preparation') {
git branch: 'XXXXXXX', credentialsId: 'XXXXXXX', url: 'XXXXXXXXXXX'
}
}
I don't see any relevant differences with yours, but in any case you might generate a new job and try only this scripted pipeline with only one action filter...
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
@SAi0401 , just two questions:
- did you build manually the pipeline once again after updating the script?
- might you send me a screenshot of you configuration page after building the pipeline manualy?
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
why do you execute a sh 'exit 0'?
Can you send me the logs?
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
from bitbucket-push-and-pull-request-plugin.
Hi @SAi0401
what do you mean? :)
from bitbucket-push-and-pull-request-plugin.
Related Issues (20)
- Build status not being communicated to Bitbucket HOT 2
- Multibranch pipeline does not start with PR Creation - webhook works correctly HOT 1
- NullPointerException occurs when webhook triggered HOT 4
- "Single triggered job" option. How does it work? HOT 7
- Pipeline executed from wrong branch when using Lightweight checkout HOT 2
- "Single triggered job" and local option "Single trigged repository" HOT 3
- NullPointerException: BitBucketPPRAction.getType() is null HOT 3
- can't get trigger on push to two branches
- [Request] Documentation on Bitbucket Cloud integration for build status propagation back to BB-cloud HOT 2
- Cannot get multibranch pipelines to trigger on push HOT 12
- bitbucket-push-and-pull-request-plugin stopped working with Bitbucket cloud HOT 8
- bitBucketPPRPluginConfig configuration as code
- Can not checkout merge commit in Jenkins Pipeline HOT 2
- Error making a pull request and the webhook it is trigger
- Upgrading from 2.8.3 to 3.0.2
- Cloud push trigger missing credentials when checking for changes
- ERROR: Could not find credentials entry with ID 'SOME_PIPELINE_PARAM_ID'
- Empty env BITBUCKET_PULL_REQUEST_LINK
- Build Status not propagating to Bitbucket On Prem HOT 3
- what is the issue am getting "trigger not set" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitbucket-push-and-pull-request-plugin.