You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
125/5000 gitlab webhook has the following error: {"jobs":null,"message":"Did not find any jobs with GenericTrigger configured! \nA token was supplied.\n"}
#313
Closed
wangkunyu123 opened this issue
May 28, 2024
· 2 comments
I have added a variable $TOKEN to the Jenkins Generic Webhook Trigger, set it in the TOKEN configuration entry, and also included it in the Groovy script configuration:
triggers {
GenericTrigger (
causeString: 'Triggered by develop',
genericVariables: [[key: 'ref', value: '$.ref'],[key: 'TOKEN', value: '$TOKEN']],
token: '$TOKEN'
)
}
environment {
TOKEN = "develop"
}
I have configured token=develop in the GitLab webhook URL. However, after testing the build, I encountered the following error message: {"jobs":null,"message":"Did not find any jobs with GenericTrigger configured! \nA token was supplied.\n"}
I want to ensure that this plan is feasible.
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
I have added a variable $TOKEN to the Jenkins Generic Webhook Trigger, set it in the TOKEN configuration entry, and also included it in the Groovy script configuration:
triggers {
GenericTrigger (
causeString: 'Triggered by develop',
genericVariables: [[key: 'ref', value: '$.ref'],[key: 'TOKEN', value: '$TOKEN']],
token: '$TOKEN'
)
}
environment {
TOKEN = "develop"
}
I have configured token=develop in the GitLab webhook URL. However, after testing the build, I encountered the following error message: {"jobs":null,"message":"Did not find any jobs with GenericTrigger configured! \nA token was supplied.\n"}
I want to ensure that this plan is feasible.
The text was updated successfully, but these errors were encountered: