diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..951349d
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,32 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
+
+# This workflow uses actions that are not certified by GitHub.
+# They are provided by a third-party and are governed by
+# separate terms of service, privacy policy, and support
+# documentation.
+
+name: Java CI with Maven
+
+on:
+ push:
+ branches: [ "develop" ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ - uses: actions/checkout@v3
+ - name: Set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ java-version: '17'
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B package --file pom.xml
+
+ # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
+ #- name: Update dependency graph
+ # uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
new file mode 100644
index 0000000..b54bd3c
--- /dev/null
+++ b/.github/workflows/test.yaml
@@ -0,0 +1,2 @@
+ name: Testing yaml
+
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..772a635
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,16 @@
+pipeline{
+ agent any
+
+ stages {
+ stage (" checkout my code " ) {
+ steps {
+ sh " git clone https://github.com/cloud-dev-user/java-war-project.git"
+ }
+ }
+ stage(" build my code") {
+ steps{
+ sh " cd java-war-project && mvn package"
+ }
+ }
+ }
+ }
diff --git a/buildspec.yml b/buildspec.yml
new file mode 100644
index 0000000..e391b8f
--- /dev/null
+++ b/buildspec.yml
@@ -0,0 +1,11 @@
+version: 0.2
+phases:
+ install:
+ command: echo "Installing dependencies..."
+ pre_build:
+ command: echo "Running linters..."
+ build:
+ command: mvn install
+ post_build:
+ command: echo "Running tests..."
+
diff --git a/pom.xml b/pom.xml
index f6bf4e1..b5638c5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.mycompany.app
my-app
- 1.0-SNAPSHOT
+ 2.0-SNAPSHOT
war
my-app Maven Webapp
@@ -64,4 +64,14 @@
+
+
+ nexus-snapshots
+ http://192.168.1.2:10010/repository/maven-snapshots/
+
+
+ nexus-releases
+ http://192.168.1.2:10010/repository/maven-releases/
+
+
diff --git a/readme b/readme
index 43e6bd6..109cb1e 100644
--- a/readme
+++ b/readme
@@ -1,3 +1,11 @@
this is readme file
set of instruction to run this webapp
mvn clean install
+this is new change
+this is change for master
+this is my new change for testing github actions
+
+this is after my pull request to develop
+
+This the change done on 26th sept
+This is the new change
diff --git a/report-task.txt b/report-task.txt
new file mode 100644
index 0000000..9579103
--- /dev/null
+++ b/report-task.txt
@@ -0,0 +1 @@
+# this is test file