Step 9 - Riverside-Software/pugchallenge2019 GitHub Wiki

First Feature Branch

  • Create a new feature branch (i.e. branch dedicated to a new feature) with git checkout -b feature1

img/Step09Img01.png

  • Right-click on wAbout.w in File Explorer, and select "Open in the AppBuilder"

img/Step09Img02.png

  • Click on the Run button, and see what happens

img/Step09Img03.png

  • Open the code editor, enter the initializeObject, and modify the line imgPlayer:LOAD-IMAGE(getImagePath('player.gif')). in order to point to player2.gif.

img/Step09Img04.png

  • Click on the Run button again, and verify that the character has red pants.

  • Back in the Cmder window, commit the file in the local repository with git commit wAbout.w -m "Red pants":

img/Step09Img05.png

  • Then promote the changes in the remote repository with git push origin feature1:

img/Step09Img06.png

  • Again, as soon as you push changes to the remote repository, the branch is detected in Jenkins, and automatically built:

img/Step09Img07.png

  • Download the artifact, and verify that the About box is updated

🚀🚀🚀 Jump to Step 10 !!! 🚀🚀🚀