Skip to content

Rundeck 节点#

¥Rundeck node

使用 Rundeck 节点自动化 Rundeck 中的工作,并将 Rundeck 与其他应用集成。n8n 内置支持执行作业和获取元数据。

¥Use the Rundeck node to automate work in Rundeck, and integrate Rundeck with other applications. n8n has built-in support for executing jobs and getting metadata.

本页列出了 Rundeck 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the Rundeck node supports and links to more resources.

Credentials

请参阅 Rundeck 凭据 以了解有关设置身份验证的指导。

¥Refer to Rundeck credentials for guidance on setting up authentication.

操作#

¥Operations

  • 任务

¥Job

  • 执行作业

    ¥Execute a job

  • 获取工作元数据

    ¥Get metadata of a job

模板和示例#

¥Templates and examples

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.

查找作业 ID#

¥Find the job ID

  1. 访问你的 Rundeck 控制面板。

¥Access your Rundeck dashboard. 2. 打开包含要与 n8n 一起使用的作业的项目。

¥Open the project that contains the job you want to use with n8n. 3. 在侧边栏中,选择“作业”。

¥In the sidebar, select JOBS. 4. 在“所有作业”下,选择要与 n8n 一起使用的作业名称。

¥Under All Jobs, select the name of the job you want to use with n8n. 5. 在左上角,作业名称下方,复制以较小字体显示的字符串。这是你的作业 ID。

¥In the top left corner, under the name of the job, copy the string that's displayed in smaller font below the job name. This is your job ID. 6. 将此作业 ID 粘贴到 n8n 中的“作业 ID”字段中。

¥Paste this job ID in the Job Id field in n8n.