IIRC if you pass a regexp in the variable declaration those values will be 
removed, so you have to remove this line

https://github.com/tomasbjerre/bitbucket-server-jenkins-release-tags/blob/master/Jenkinsfile#L9


El lunes, 6 de diciembre de 2021 a las 11:24:11 UTC+1, [email protected] 
escribió:

> I am trying to trigger a job when a new tag is push from the Bitbucket 
> repo. . The webhook from the Bitbucket side seems to be working fine, but 
> the job is not triggered. I know this because the HTTP status is 200.
>
> This is the result when i try to ping the webhook url
>
> body : 
> {"jobs":{"test":{"regexpFilterExpression":"^refs/tags/.*","triggered":false,"resolvedVariables":{"clone_url":"","commit":"","committer_email":"","committer_name":"","project_key":"MYP","ref":"","repo_slug":"","tag":""},"regexpFilterText":"","id":0,"url":""}},"message":"Triggered
>  
> jobs."}
>
>
> Pipeline Script
>
>
> https://github.com/tomasbjerre/bitbucket-server-jenkins-release-tags/blob/master/Jenkinsfile
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/54ce3f58-4e60-44a1-bb03-9cb00bab9d77n%40googlegroups.com.

Reply via email to