Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open SourceTree

  2. Make sure your branch nameunder the BRANCHES heading is highlighted

  3. Click on the Uncommitted changes line under the Description heading on the top of the page.  You should see the file you created listed under the Unstagedfiles heading. The line with the icon indicates new files ready to be staged. 
    Image Removed


  4. Click the box next to the file and it will migrate the Staged files section.


  5. Click the Commit icon  (top left of the page)

...

The scripts are now ready to be reviewed and staged for execution by the uconnScriptRunnerJob batch job.

Post Commit

...

Script approval - creating a pull request

After you commit your script in needs to be reviewed and approved before it is placed in the main repository where the script runner job can find and execute it on the database

  1. Right click on your branch name under the BRANCHES heading and then choose Create Pull Request..  from the dropdown menu

    Image Added

    This will link to the UConn Stash site and open a Create Pull Request... page enter a brief description and the net-id of the approver and click the Create button.
    Image Added

Cleaning up

After you commit the scripts and create your pull request you can delete the JIRA specific branch

  1. Double click on the master branch under the BRANCHES heading on the left menu bar.

  2. Click the Branch icon on the top menu bar and then the Delete Branches icon

  3. Check the box next to your branch (in this case it is kps-xxx_update and click the Delete Branches button.
  4. If you wish you can also delete the scripts you just created.

...