zte's code,first commit

Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/pipeline/MergeCI b/ap/pipeline/MergeCI
new file mode 100755
index 0000000..f8918c1
--- /dev/null
+++ b/ap/pipeline/MergeCI
@@ -0,0 +1,70 @@
+#!/usr/bin/env groovy
+
+pipeline_worknode = "10.235.74.94"
+
+pipeline {
+    agent {
+        node {
+            label pipeline_worknode
+        }
+    }
+    options {
+        timestamps()
+        timeout(time: 3, unit: 'HOURS')
+    }
+    stages {
+        stage("prepare") {
+            steps {
+                sh 'echo prepare'
+            }
+        }
+        stage("build") {
+            parallel {
+                stage('MergeCI_v3t_ap_linux') {
+                    steps{
+                        script {
+                            try{
+                                build job: "MergeCI_v3t_ap_linux", parameters: [string(name: 'TEST_STRING', value: env.TEST_STRING)]
+                                env.ap_linux_ret="true"
+                            }catch (exc) {
+                                env.ap_linux_ret="false"
+                                echo "MergeCI_v3t_ap_linux error ${env.ap_linux_ret}"
+                            }
+                        }
+                    }
+                }
+                stage('MergeCI_v3t_ap_win') {
+                    steps {
+                        script {
+                            try {
+                                build job: "MergeCI_v3t_ap_win", parameters: [string(name: 'TEST_STRING', value: env.TEST_STRING)]
+                                env.ap_win_ret="true"
+                            }catch (exc) {
+                                env.ap_win_ret="false"
+                                echo "MergeCI_v3t_ap_win error ${env.ap_win_ret}"
+                            }
+                        }
+                    }
+                }
+            }
+        }
+        stage("check") {
+            steps {
+                sh 'echo check'
+                script {
+                    if (env.ap_win_ret == "true") {
+                        echo "ap_win_ret check pass"
+                    } else {
+                        echo "ap_win_ret check fail"
+                    }
+                    if (env.ap_linux_ret == "true") {
+                        echo "ap_linux_ret check pass"
+                    } else {
+                        echo "ap_linux_ret check fail"
+                    }
+               
+                }
+            }
+        }
+    }
+}
diff --git a/ap/pipeline/VerifyCI b/ap/pipeline/VerifyCI
new file mode 100755
index 0000000..10aac93
--- /dev/null
+++ b/ap/pipeline/VerifyCI
@@ -0,0 +1,70 @@
+#!/usr/bin/env groovy
+
+pipeline_worknode = "10.235.74.94"
+
+pipeline {
+    agent {
+        node {
+            label pipeline_worknode
+        }
+    }
+    options {
+        timestamps()
+        timeout(time: 3, unit: 'HOURS')
+    }
+    stages {
+        stage("prepare") {
+            steps {
+                sh 'echo prepare'
+                sh "printenv"
+            }
+        }
+        stage("build") {
+            parallel {
+                stage('verifyCI_v3t_ap_linux_kw') {
+                    steps{
+                        script {
+                            try{
+                                build job: "verifyCI_v3t_ap_linux_kw", parameters: [string(name: 'GERRIT_REFSPEC', value: env.GERRIT_REFSPEC), string(name: 'GERRIT_PATCHSET_REVISION', value: env.GERRIT_PATCHSET_REVISION), string(name: 'GERRIT_CHANGE_NUMBER', value: env.GERRIT_CHANGE_NUMBER), string(name: 'GERRIT_CHANGE_OWNER_EMAIL', value: env.GERRIT_CHANGE_OWNER_EMAIL), string(name: 'GERRIT_BRANCH', value: env.GERRIT_BRANCH)]
+                                env.ap_linux_kw_ret="true"
+                            }catch (exc) {
+                                env.ap_linux_kw_ret="false"
+                                echo "verifyCI_v3t_ap_linux_kw error ${env.ap_linux_kw_ret}"
+                            }
+                        }
+                    }
+                }
+
+                stage('verifyCI_v3t_ap_linux_cov') {
+                    steps {
+                        script {
+                            try {
+                                build job: "verifyCI_v3t_ap_linux_cov", parameters: [string(name: 'GERRIT_REFSPEC', value: env.GERRIT_REFSPEC), string(name: 'GERRIT_PATCHSET_REVISION', value: env.GERRIT_PATCHSET_REVISION), string(name: 'GERRIT_CHANGE_NUMBER', value: env.GERRIT_CHANGE_NUMBER), string(name: 'GERRIT_CHANGE_OWNER_EMAIL', value: env.GERRIT_CHANGE_OWNER_EMAIL), string(name: 'GERRIT_BRANCH', value: env.GERRIT_BRANCH)]
+                                env.ap_linux_cov_ret="true"
+                            }catch (exc) {
+                                env.ap_linux_cov_ret="false"
+                                echo "verifyCI_v3t_ap_linux_cov error ${env.ap_linux_cov_ret}"
+                            }
+                        }
+                    }
+                }
+            }
+        }
+        stage("check") {
+            steps {
+                sh 'echo check'
+                script {
+                    echo "ap_linux_cov_ret=${env.ap_linux_cov_ret}"
+                    echo "ap_linux_kw_ret=${env.ap_linux_kw_ret}"
+                    if (env.ap_linux_cov_ret == "false") {
+                        error("ap coverity check fail")
+                    }
+                    if (env.ap_linux_kw_ret == "false") {
+                       error("ap linux klocwork check fail") 
+                    }
+               
+                }
+            }
+        }
+    }
+}