Skip to content

Configure

General

Description
?

Loading...

Strategy
?

Loading...

Project url?

Loading...

GitLab Connection
Credential :

Testing...

Loading...

?

Loading...

Custom Pipeline Speed/Durability Level
?

Loading...

Keep this many of the most recent builds' stashes?

Loading...

?

Loading...

Boolean Parameter ?

Loading...

Choice Parameter ?

Loading...

Credentials Parameter ?

Loading...

File Parameter ?

Loading...

Multi-line String Parameter
Password Parameter ?

Loading...

Run Parameter ?

Loading...

String Parameter ?

Loading...

?

Loading...

Number of builds?

Loading...

Time period?

Loading...

?

Loading...

Triggers
Set up automated actions that start your build based on specific events, like code changes or scheduled times.
?

Loading...

Projects to watch
?

Loading...

Schedule?

Loading...

?

Loading...

Enabled GitLab triggers
Push Events?

Loading...

Push Events in case of branch delete?

Loading...

Opened Merge Request Events?

Loading...

Build only if new commits were pushed to Merge Request?

Loading...

Accepted Merge Request Events?

Loading...

Closed Merge Request Events?

Loading...

Rebuild open Merge Requests?

Loading...

Approved Merge Requests (EE-only)?

Loading...

Comments?

Loading...

Comment (regex) for triggering a build?

Loading...

?

Loading...

Is triggered by HTTP requests to http://JENKINS_URL/generic-webhook-trigger/invoke

There are example configurations in the Git repository.

You can fiddle with JSONPath here. You may also want to checkout the syntax here.

You can fiddle with XPath here. You may also want to checkout the syntax here.

You can fiddle with regular expressions here. You may also want to checkout the syntax here.

If your job is not parameterized, then the resolved variables will just be contributed to the build. If your job is parameterized, and you resolve variables that have the same name as those parameters, then the plugin will populate the parameters when triggering job. That means you can, for example, use the parameters in combination with an SCM plugin, like GIT Plugin, to pick a branch.

Post content parameters
Variable
Name of variable
Expression

Loading...

Loading...

Expression to evaluate in POST content. Use JSONPath for JSON or XPath for XML.
Value filter
Optional. Anything in the evaluated value, matching this regular expression, will be removed. Having [^0-9] would only allow numbers. The regexp syntax is documented here.
Default value
Optional. This value will be used if expression does not match anything.

Loading...

If you want value of param1 from post content { "param1": "value1" } to be contributed, you need to add $.param1 here.
Header parameters
Request header
Request header to be captured. The resulting variable name will be in lowercase and '-' will be replaced with '_' character.
Value filter
Optional. Anything in the evaluated value, matching this regular expression, will be removed. Having [^0-9] would only allow numbers. The regexp syntax is documented here.

Loading...

If you want value of header param1 to be contributed, you need to add "param1" here.
Request parameters
Request parameter
Name of request parameter
Value filter
Optional. Anything in the evaluated value, matching this regular expression, will be removed. Having [^0-9] would only allow numbers. The regexp syntax is documented here.

Loading...

If you want value of query parameter param1 to be contributed, you need to add "param1" here.
Token
Optional token. If it is specified then this job can only be triggered if that token is supplied when invoking http://JENKINS_URL/generic-webhook-trigger/invoke. It can be supplied as a:
  • Query parameter /invoke?token=TOKEN_HERE
  • A token header token: TOKEN_HERE
  • A Authorization: Bearer header Authorization: Bearer TOKEN_HERE
Token Credential
Same as token above, but configured with a secret text credential.
Cause
This will be displayed in any triggered job. You can use the variables here to create a custom cause like "$name committed to $branch", if you have configured variables named name and branch.
Override Quiet Period
Allow the trigger to override this job's quiet period. If selected you can you can provide a quiet period (an integer number of seconds) and the build will use that quiet period instead of its default. If this is selected and no quiet period is given the job's quiet period will still be used. It can be supplied as a:
  • Query Parameter /invoke?jobQuietPeriod=QUIET_PERIOD_HERE
  • A quiet period header jobQuietPeriod: QUIET_PERIOD_HERE
Allow several triggers per build
If checked, the plugin will allow one build to have several triggers. If not checked, the plugin will trigger exactly one job when invoked.
Silent response
Avoid responding with information about triggered jobs.
Avoid flattening branches
Avoid flattening any selected branch. If the selected node is a branch, not a leaf, the plugin will, by default, flatten its content and create variables for each leaf on that branch.
Print post content
Print post content in job log.
Print contributed variables
Print contributed variables in job log.
Optional filter
Expression
Regular expression to test on the evaluated text specified below. The regexp syntax is documented here.
Text
Text to test for the given expression. You can use any combination of the variables you configured above.
This is an optional feature. If specified, this job will only trigger when given expression matches given text.
?

Loading...

?

Loading...

Schedule?

Loading...

?

Loading...

?

Loading...

Authentication Token
Concealed
Use the following URL to trigger build remotely: JENKINS_URL/view/all/job/garasiku-deploy/build?token=TOKEN_NAME or /buildWithParameters?token=TOKEN_NAME
Optionally append &cause=Cause+Text to provide text that will be included in the recorded build cause.
Pipeline
Define your Pipeline using Groovy directly or pull it from source control.
Definition
Advanced