Index: /issm/trunk-jpl/jenkins/jenkins.sh
===================================================================
--- /issm/trunk-jpl/jenkins/jenkins.sh	(revision 21005)
+++ /issm/trunk-jpl/jenkins/jenkins.sh	(revision 21006)
@@ -316,5 +316,43 @@
 # This test will allow us to check on the status of the examples.
 if [ $EXAMPLES_TEST -eq 1 ]; then
+	FILE='runme.m'
 	cd $ISSM_DIR/examples
+
+	for dir in ./* ;
+	do
+		if [ -d "${dir}" ];
+		then
+		# Some of the examples are incomplete (on purpose). As such, we will have to populate the
+		# missing steps in order to make sure that everything is working.
+			echo "Testing directory example: ${dir}"
+
+			# Greenland is missing step 8
+			STEP_EIGHT="
+	disp('   Step 8: Plotting exercise');
+	md = loadmodel('./Models/Greenland.HistoricTransient_200yr');
+	figure
+	surfmb=[]; for i=2:201; surfmb=[surfmb ...
+		md.results.TransientSolution(i).SmbMassBalance]; end
+	subplot(3,1,1); plot([1:200],mean(surfmb));
+	title('Mean Surface mass balance');
+	vel=[]; for i=2:201; vel=[vel md.results.TransientSolution(i).Vel]; end
+	subplot(3,1,2); plot([1:200],mean(vel));
+	title('Mean Velocity');
+	volume=[]; for i=2:201; volume=[volume md.results.TransientSolution(i).IceVolume]; end
+	subplot(3,1,3); plot([1:200],volume);
+	title('Ice Volume'); xlabel('years');
+			"
+			if [ "${dir}" == "Greenland" ];
+			then
+				cd ${dir}
+				sed -i.bak 's/if any(steps==8)/&\r"${STEP_EIGHT}"/' $FILE
+				sed -i.bak 's/steps=\[1\];/steps=\[1:8\];/' $FILE
+				cat ./runme.m
+				cd ..
+			else
+				echo "Not implemented yet!"
+			fi
+		fi
+	done
 fi
 
Index: /issm/trunk-jpl/jenkins/macosx_pine-island_examples
===================================================================
--- /issm/trunk-jpl/jenkins/macosx_pine-island_examples	(revision 21005)
+++ /issm/trunk-jpl/jenkins/macosx_pine-island_examples	(revision 21006)
@@ -25,4 +25,5 @@
 MATLAB_TEST=0
 PYTHON_TEST=0
+EXAMPLES_TEST=1
 
 #-----------------------------------#
