diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..0f6202ba --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,15 @@ +pipeline + node{ + stage('SCM Checkout') { + git url:'https://github.com/razzpothula/maven-simple.git' + } + stage('Compile'){ + //Get maven home path + def mvnhome = tool name: 'mvn', type: 'maven' + sh "${mvnhome}/bin/mvn compile" + + } + } + } + + diff --git a/cipipeline b/cipipeline new file mode 100644 index 00000000..c1366a5b --- /dev/null +++ b/cipipeline @@ -0,0 +1,5 @@ +pipeline + node{ + stage('SCM Checkout') { + git url:'https://github.com/razzpothula/maven-simple.git' + } diff --git a/rajfile b/rajfile new file mode 100644 index 00000000..45e7138f --- /dev/null +++ b/rajfile @@ -0,0 +1,5 @@ +pipeline { + agent any + stages { + stage('Build') { + steps { diff --git a/scriptfile b/scriptfile new file mode 100644 index 00000000..26a4dc8f --- /dev/null +++ b/scriptfile @@ -0,0 +1,20 @@ +pipeline { + agent any + stages { + stage('Build') { + steps { + // + } + } + stage('Test') { + steps { + // + } + } + stage('Deploy') { + steps { + // + } + } + } +} diff --git a/yml b/yml new file mode 100644 index 00000000..59c24d90 --- /dev/null +++ b/yml @@ -0,0 +1,4 @@ +--- +- name:java + host: + become: