![]() It starts the batch file process passing the parameter value as argument, waits for its completion, then writes the process' standard output and standard error to the automation action's audit log.Ĭreate test.bat with the following content:ĮCHO Batch file started with the argument: %1 (The "ĭef out = new StringBuilder(), err = new StringBuilder() ![]() # use the parameter's name in the suffix (last item) If you use are using a command configured with a parameter pattern and the parameter arg was successfully parsed, you can access its value using this expression: Enter the script code in the Script field.Enter a one-line description in the Summary field.Choose the command Run code, and click Save.Select the trigger Genius Commit created (from the DevOps category).Login to Jira as admin, go to Administration → System → Automation rules.The batch file process is started by a short Groovy script. ![]() ![]() bat), optionally parsing parameters from the VCS commit message and passing those to the batch file. This automation runs an external Windows batch file (. Running a batch file on Windows when a commit is accepted ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |