Fixed dependency issue - external snapshots have to be built first
diff --git a/Jenkinsfile b/Jenkinsfile
index 6b567d9..74e39bf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -262,6 +262,8 @@
               echo Uname
               uname -a
 
+              mvn clean install -pl :glassfish-main-aggregator,:glassfish-nucleus-parent,:nucleus-parent,:glassfish-qa-config
+              mvn clean install -T4C -Pfastest,snapshots -pl :snapshotsmodule -amd
               # Until we fix ANTLR in cmp-support-sqlstore, broken in parallel builds. Just -Pfast after the fix.
               mvn clean install -Pfastest,staging -T4C
               ./gfbuild.sh archive_bundles