Currently, your worker is configured but not enabled. The enable switch is on the upper right corner of the worker card.
If you hover over the switch button, you will see that you can’t enable it until you select at least one repository to associate with the worker. The worker is then triggered for the given repository or set of repositories.
Create a repository of type Maven and give it a name (for this example we used the name “maven”). In your worker’s card click on the edit button and to select the repository you created start by clicking the “plus” icon:
Figure 12 - Adding new repositories that must trigger events for this worker.
To select the maven repository navigate to the Select Filters window. Then in the Select Repositories tab, move the “maven” item to the right (see the figure below). After this every upload action to the repository “maven” will trigger this worker.
You can optionally use a path pattern to select the repository. To create a pattern, use the tab “Set patterns”. To fine tune your trigger condition for the selected repositories, use a pattern that matches the repository path (for more detail see the documentation ). In this example, we are not using a filter as we want this worker to be triggered for any repository path.
To accept your settings, click Ok.
Figure 13 - Select the repository “maven” to trigger events for this worker.
If you hover over the switch button, you will see that you can’t enable it until you select at least one repository to associate with the worker. The worker is then triggered for the given repository or set of repositories.
Create a repository of type Maven and give it a name (for this example we used the name “maven”). In your worker’s card click on the edit button and to select the repository you created start by clicking the “plus” icon:
Figure 12 - Adding new repositories that must trigger events for this worker.
To select the maven repository navigate to the Select Filters window. Then in the Select Repositories tab, move the “maven” item to the right (see the figure below). After this every upload action to the repository “maven” will trigger this worker.
You can optionally use a path pattern to select the repository. To create a pattern, use the tab “Set patterns”. To fine tune your trigger condition for the selected repositories, use a pattern that matches the repository path (for more detail see the documentation ). In this example, we are not using a filter as we want this worker to be triggered for any repository path.
To accept your settings, click Ok.
Figure 13 - Select the repository “maven” to trigger events for this worker.