Comments (7)
yes, I set a 60 min as ttl.
That means you have to disable the cache, wait up to 60 minutes or restart Jenkins.
from generic-webhook-trigger-plugin.
Closing this issue because there is nothing in it that can be investigated. Open new issue and provide your exact configuration as asked for in the issue template.
from generic-webhook-trigger-plugin.
pipeline:
pipeline {
agent any
triggers {
GenericTrigger(
genericVariables: [
[key: 'ref', value: '$.ref'],
[key: 'before', value: '$.before'],
[key: 'after', value: '$.after']
],
causeString: 'Triggered on $ref',
token: '12345678',
printContributedVariables: true,
printPostContent: true
)
}
stages {
// your stages here
}
}
The free-style configuration is normal.
from generic-webhook-trigger-plugin.
I recently updated the plugin to the 2.1.1 version and new jobs created after the plugin update are not triggered by the plugin.
The plugin response is the same that @cf1998 mentioned:
{"jobs":null,"message":"Did not find any jobs with GenericTrigger configured!\nA token was supplied.\nIf you are using a token, you need to pass it like ...trigger/invoke?token=TOKENHERE\nIf you are not using a token, you need to authenticate like http://user:[email protected]/generic-webhook...\n"}
I must say that older jobs created before the plugin update work fine, the problem is with the new ones.
The only way I managed to get the new ones working was restarting jenkins. No new created job will be triggered without restarting Jenkins.
from generic-webhook-trigger-plugin.
Are you using the cache?
from generic-webhook-trigger-plugin.
yes, I set a 60 min as ttl.
from generic-webhook-trigger-plugin.
Perfect, I will check that.
Thank you for the quick response!
EDIT:
@tomasbjerre that was it. Waiting for the cache to be invalid do the trick.
from generic-webhook-trigger-plugin.
Related Issues (20)
- Reload trigger configuration from scm HOT 5
- Buildcause no longer detected since Jenkins update? HOT 3
- Not compatible with the "Trigger builds remotely" configuration option HOT 2
- The JSON response is not shown in Jenkins log, even if it is configured to be shown HOT 4
- Link is dead HOT 1
- Expose request JSON payload as an object in a variable
- All branches are triggered instead of one specific HOT 6
- Failed to invoke the trigger and get 500 error code HOT 1
- Generic Webhook trigger plugin and webhook configuration HOT 3
- Add a way to test a webhook is triggered but doesn't actually run the job (dry run) HOT 3
- Internal error (Error 500) HOT 9
- When jenkins pipeline fails the input value of the Token field gets empty. HOT 1
- Multiplying triggers HOT 1
- Help wanted: Okta one-time verification HOT 1
- Possible to clear cache on demand? HOT 4
- Can't export branch name HOT 1
- Existing jobs configured with JobDSL are not immediately registered with generic webook HOT 6
- New jobs created with Jenkins REST API are not immediately registered with generic webook HOT 9
- 125/5000 gitlab webhook has the following error: {"jobs":null,"message":"Did not find any jobs with GenericTrigger configured! \nA token was supplied.\n"} HOT 2
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 generic-webhook-trigger-plugin.