Add the initial Jenkinsfile for test purpose 28/1628/2
authorchengli3 <cheng1.li@intel.com>
Fri, 20 Sep 2019 03:11:28 +0000 (11:11 +0800)
committerchengli3 <cheng1.li@intel.com>
Sat, 21 Sep 2019 06:24:43 +0000 (14:24 +0800)
Change-Id: Iff077dd1cdc1142d9354cf86e65015e18071bba6

Jenkinsfile [new file with mode: 0644]

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644 (file)
index 0000000..b7b5c7f
--- /dev/null
@@ -0,0 +1,16 @@
+pipeline {
+    agent any
+    options {
+        skipDefaultCheckout()
+    }
+    environment {
+        changeBranch = "change-${GERRIT_CHANGE_NUMBER}-${GERRIT_PATCHSET_NUMBER}"
+    }
+    stages {
+        stage("Build ISO Image") {
+            steps {
+                echo "refspec: ${GERRIT_REFSPEC}, branch: ${GERRIT_BRANCH}"
+            }
+        }
+    }
+}