There are always inquiries from customers and ambiguities about GitHub. Some of them say “we already have GitHub, so we don’t need ScriptRunner”. What is GitHub?
What is GitHub?
GitHub is a software version control system in the cloud. So developers can develop scripts and store them in GitHub. GitHub only supports version management and version history of scripts and therefore only covers a very small part of the ScriptRunner functions.
What can’t GitHub do?
The functions in ScriptRunner for managing, executing, monitoring and delegating cannot be covered with GitHub.
Can you use GitHub with ScriptRunner?
A resounding YES. The way GitHub works dictates that valid scripts are checked out to a directory. So you put a GitHub checkout directory on the ScriptRunner backend. Using ScriptRunner’s global settings, this directory is configured as the script directory for ScriptRunner.
With this, scripts from GitHub will now appear in ScriptRunner. In addition, ScriptRunner actively monitors this directory and notices when new or modified scripts are made available by GitHub. Replicating versioned scripts stored in GitHub, Gitlab, etc. can also be automated using a small PowerShell script and a timed action from ScriptRunner. This way, the ScriptRunner backend always has the latest scripts of a branch – advantage of this is that you can use all the logic and features of ScriptRunner seamlessly integrated with GitHub.
https://www.scriptrunner.com/wp-content/uploads/2021/03/powershell-best-practices.png10001000Philip Lorenzhttps://www.scriptrunner.com/wp-content/uploads/2018/05/ScriptRunner_Logo_RGB-300x45.pngPhilip Lorenz2021-03-10 10:00:042021-03-10 15:22:175 PowerShell Scripting Best Practices – From Runnable to Professional CodeScriptRunner Software GmbH