I need assistance with triggering a Jenkins Pipeline Job whenever specific branch/tags are changed in a GitLab repository. However, I am unable to access Jenkins externally, as there are no open ports or webhooks available.
Initially, I attempted to have Jenkins periodically check the repository for changes and filter them based on tags within the Jenkinsfile. However, I observed that I do not receive any environment variables from the GitLab plugin unless the trigger originates from GitLab itself.
My primary question is whether it's possible to install a GitLab Runner on the same machine as Jenkins and use it to trigger a Jenkins build?
Thank you for your help.