How can I trigger build of another job from inside the Jenkinsfile?
Jenkinsfile
I assume that this job is another repository under the same github organization, on
The command build in pipeline is there to trigger other jobs in jenkins.
build
Example on github
The job must exist in Jenkins and can be parametrized. As for the branch, I guess you can read it from git