Am Donnerstag, dem 25.04.2024 um 14:44 +0200 schrieb Erick Mormin:

2. I also updated the webhook URL in GitLab to include this token, as follows: 
`http://192.168.0.24:8080/job/EasyFormerPipeline/build?token=43272f4e87b1eff15b230e6b8f8395d5`<https://urldefense.com/v3/__http://192.168.0.24:8080/job/EasyFormerPipeline/build?token=43272f4e87b1eff15b230e6b8f8395d5*60__;JQ!!Obbck6kTJA!YKnlNKE-rU9EEdXIaSTjE4uLDgnBlNewY2GQ08uq_NM2UiB4B8ux0pX0WPK0qxIv0RzRGsS4tj0K48muBnm3D5Q$>.

The URL is still wrong. What you want is to trigger a repository scan, as 
documented in the git plugin<https://plugins.jenkins.io/git/>:

http://yourserver/git/notifyCommit?url=<URL of the Git 
repository>&token=<Access token>

where "URL of the Git repsoitory" must exactly match the one used in your 
Jenkins job, which can be either SSH or HTTPS.

This will make ALL jobs that use that same Git repository URL to check the 
repository for updates and start builds accordingly.

HTH...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com<mailto:dhein...@opentext.com>
Website: 
www.recommind.de<mail://ab5defde1fa49913f64f8482009c4be447b3cf96/Gesendete%20Elemente/www.recommind.de>
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9aca319ddfc9ac046b556c7bbac61842797ed23c.camel%40opentext.com.

Reply via email to