This adds a bare-bones stage pipeline, which can build and deploy the
project.
Change-Id: I6f4b31d26b2e2b51d36c758e8e72b487e43c92fd
Signed-off-by: MarioDoman <mario.doman@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
--- /dev/null
+pipeline {
+ agent {
+ node {
+ label "centos8-builder-4c-4g"
+ }
+ }
+
+ options {
+ timestamps()
+ timeout(360)
+ }
+
+ stages {
+ stage("Print ENV") {
+ steps {
+ sh "printenv"
+ }
+ }
+
+ stage('mvn deploy') {
+ steps {
+ lfJava(mvnSettings: 'yangtools-settings')
+ }
+ }
+
+ stage('post build') {
+ steps {
+ lfInfraShipLogs{}
+ }
+ }
+ }
+}
\ No newline at end of file