diff --git a/Jenkinsfile_update2head b/Jenkinsfile_update2head index 6526c1f..1b519fc 100644 --- a/Jenkinsfile_update2head +++ b/Jenkinsfile_update2head @@ -100,6 +100,7 @@ def commitChanges(isNmUpdate, isCommunityUpdate) { if(isNmUpdate) { updatedLayers += "netmodule"} if(isNmUpdate && isCommunityUpdate) { updatedLayers += " and " } if(isCommunityUpdate) { updatedLayers += "community" } + sh(script: "git checkout ${env.BRANCH_NAME}") sh(script: "git add -u") sh(script: "git commit -m \"submodules: updated ${updatedLayers} hashes, triggered by ${env.TRIGGERED_USER}\" && git push") } \ No newline at end of file