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 Control: Run scripts directly from Git with dynamic inputs, giving you control across different CI/CD stages.

Multi-language Support: Supports 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 Repositories: Allows 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 Variable: The 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

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

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

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

Testing: Just 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

Join Our Newsletter

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