GitHub user dosubot[bot] added a comment to the discussion: Jenkins task in 
Blueprint created by script is not working vs blueprint created by using UI 
works correctly

<!-- Answer -->
The issue you're experiencing with the Jenkins tasks in the script-generated 
blueprint might be related to the `connectionEndpoint` being empty in the 
Jenkins plugin configuration. The `connectionEndpoint` is crucial for 
establishing a connection to the Jenkins server. If it's empty, the plugin 
won't be able to communicate with Jenkins, which could lead to the failure in 
fetching builds 
<sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/jenkins/impl/impl.go)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/jenkins/api/connection_api.go)</sup>.

To resolve this, ensure that the `connectionEndpoint` is correctly set in your 
script-generated blueprint. It should match the endpoint used in the 
UI-generated blueprint that works correctly. This should help in establishing a 
proper connection and allow the Jenkins tasks to fetch the intended builds.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/9ff5c233-2449-4bbe-8ec7-f9afdcfa5e6d?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/incubator-devlake/discussions/8422#discussioncomment-13023645

----
This is an automatically sent email for dev@devlake.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@devlake.apache.org

Reply via email to