use update fit command in deploy stage
diff --git a/Jenkinsfile b/Jenkinsfile
index 4bbeea2..92e3442 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -159,8 +159,9 @@
echo "Deploying ${params.TURBINE_COMPONENT} Site"
dir("${params.TURBINE_COMPONENT}")
{
- //sh "git submodule update --init ${params.TURBINE_COMPONENT}"
- git "https://gitbox.apache.org/repos/asf/turbine-${params.TURBINE_COMPONENT}.git"
+ // sh "git submodule update --init ${params.TURBINE_COMPONENT}"
+ // git "https://gitbox.apache.org/repos/asf/turbine-${params.TURBINE_COMPONENT}.git"
+ git branch: "${params.SUB_MODULE_HEAD}", url: "https://gitbox.apache.org/repos/asf/turbine-${params.TURBINE_COMPONENT}.git"
dir("${STAGING_DIR}") {
deleteDir()
}
diff --git a/core b/core
index 0a32a78..cb830d6 160000
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 0a32a78bdde905307459d78fa3cc253cff02652a
+Subproject commit cb830d642e82681e0b808cd306d25ef00ad41f6c