copy Copy chevron-down
π Getting Started!chevron-right Step 2: Connect Repository Updated New Script This Script is faster, more powerful, and easier to implement.
Appsurify Script Installation
Installation Instructions
Repository Push / Git2TestBrain (git2appsurify)
Installation Instructions
Support OS / Python
Installation Command
or
Docker image "appsurify-testbrain-cli"
Specify version
Repository Push | Git2Testbrain (git2appsurify)
This module is used to push changes in the repository to the Testbrain server for further analysis and testing optimization.
Alias #1
Alias #2
Alias #3
Required
Parameter
Default
Env
Description
Enter your Testbrain server instance url.
Enter your testbrain server instance token or API Key.
Located in top-right hand corner of user-interface under user profile.
Enter your Testbrain projet name.
Enter the testbrain script working directory. If not specified, the current working directory will be used.
Define repository name. If not specified, it will be automatically taken from the GitRepository repository.
Enter the git repository directory. If not specified, the current working directory will be used.
Enter the explicit branch to process commits. If not specified, use current active branch.
Enter the commit that should be starter. If not specified, it will be used 'latest' commit.
TESTBRAIN_NUMBER_OF_COMMITS
Enter the number of commits to process.
Suppress commit changes information. [default; (False)]
Possible fatalities: DEBUG/INFO/WARNING/ERROR
Quiet mode...every time exit with 0
Push to Testbrain server only one last commit from current branch:
Or
Push to Testbrain server last 100 commits started from specify commit into specify branch:
If need more process information - change logging level:
Add log file with full or relative path:
If any crash errors script will create crash dump file into {WORK_DIR}/.crashdumps/
You can see this message:
Docker version usage
$(pwd) - git repository path
CI example (github actions)
.github/workflows/testbrain-git2testbrain.yml
Repository Checkout
This module is used to checkout branches during the execution of CI pipelines or manually. Cloning is not provided.
Alias #1
Alias #2
Alias #3
Required
Parameter
Default
Env
Description
Enter the git repository directory. If not specified, the current working directly will be used.
Enter the explicit branch to process commits. If not specified, use current active branch.
Enter the commit that should be starter. If not specified, it will be used 'latest' commit.
Enter the testbrain script working directory, the current working directory will be used.
Possible Fatalities: DEBUG/INFO/WARNING/ERROR
Quiet mode...every time exit with 0
Usage Examples:
Checkout using Testbrain CLI
Or
Or
Docker version usage
$(pwd) - git repository path