Custom Script from Git

Custom Script from Git

With Custom Script from Git, you can clone and execute scripts from your Git repository directly within your Appcircle build pipeline.

Key Benefits

Advanced Custom Script Usage with Git-based ControlRun scripts directly from Git with dynamic inputs, giving you control across different CI/CD stages.

Multi-language SupportSupports multiple scripting languages including Bash, Ruby, Python, Node.js, Perl, and Java. The correct runtime is selected automatically based on the script file extension.

Secure Access to Private RepositoriesAllows authenticated access to private Git repositories using Personal Access Tokens (PAT), ensuring that sensitive scripts remain protected while still being fully accessible within the CI/CD pipeline.

Reusable Script Directory via Output VariableThe component exports an output variable to the script directory, making it easy to reuse and with subsequent steps in the workflow.

Key Benefits

Points to Consider

SecurityBe cautious with sensitive information in scripts, such as PAT or credentials. Use environment variables or secure storage options.

Define the script extensionDefine the exact script file name with a valid extension (.sh, .py, .rb) so the interpreter is correctly identified.

Branch-based Custom ScriptsPull from specific Git branches to separate logic for staging, QA, or production, enabling safer deployments.

TestingJust like application code, custom scripts need testing too. Make sure they perform as intended and gracefully handle edge cases before they hit production.

Points to Consider
icon

For more information on setup and usage, please visit Appcircle Technical Documentation 

FAQs

+

What is the difference between the 'Custom Script' and the 'Custom Script from Git' integration?


REQUEST FOR MORE SPECIFICS

Get Started with Appcircle

Save time, reduce costs, and increase developer productivity now.

Join Our Newsletter

Get informed about news, new releases, and mobile DevOps.