This tutorial explains,
1. How to trigger jenkins job remotely. How to add authentication token to trigger remotely.
2. How to install ' Build Authorization Token Root' plugin.
3. Trigger jenkins job remotely with with parameters.
Trigger Job Remotely without 'Build Authorization Token Root' plugin.
demo url - localhost:8080/view/CodeBook/job/Job1/build?token=12345
Trigger Job Remotely with 'Build Authorization Token Root' plugin.
1. Trigger Job remotely
Demo URL - localhost:8080/buildByToken/build?job=Job1&token=12345
2. Trigger Job remotely with parameters
Demo URL - localhost:8080/buildByToken/buildWithParameters? token=12345 &job=Job1&tech=Java&author=aem
29 авг 2024