How to automatically update the rundeck job with GitHub scm

19 views
Skip to first unread message

BhanuPrakash P

unread,
Jul 30, 2025, 9:04:35 AMJul 30
to rundeck...@googlegroups.com
Hello

I have setup the SCM. But whenever I push the new code it is not automatically updating in rundeck rather it says Import Needed ..I don’t want to import manually..How can I do it automatically?

P.BhanuPrakash

BhanuPrakash P

unread,
Jul 30, 2025, 9:04:35 AMJul 30
to rundeck...@googlegroups.com
Any help?

P.BhanuPrakash
+917200040120

rac...@rundeck.com

unread,
Jul 30, 2025, 9:20:25 AMJul 30
to rundeck-discuss
Hi,

That is designed intentionally to avoid any unattended mistake in your Rundeck instance.

A good way to automate this is to create an API-based script that updates your jobs accordingly. Take a look at this.

Regards.

Peter Lorimer

unread,
Jul 30, 2025, 9:33:23 AMJul 30
to rundeck...@googlegroups.com
I do something similar but I don't use any plug in. 

Assuming you code is cloned into a folde then create command on rundeck to run every few minutes



#!/bin/bash

cd $GitRepo
git pull


##
Kind Regards

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rundeck-discuss/57e5989b-1655-4a3f-a54f-4c019c8fffc4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages