From 44978dca2933cd8f5caf55c4c3c855858f8fc1ae Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 9 Mar 2020 10:33:33 +0530
Subject: [PATCH 01/43] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b69549f..46358f6 100644
--- a/README.md
+++ b/README.md
@@ -4,4 +4,4 @@
Edited by Pramodh Kumar M
-Added One Line
+Test Jenkins
From f1ad9fc459b8820a4105f66027e8e414fd77bc51 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 9 Mar 2020 10:34:27 +0530
Subject: [PATCH 02/43] Update README.md
---
README.md | 2 --
1 file changed, 2 deletions(-)
diff --git a/README.md b/README.md
index 46358f6..a507127 100644
--- a/README.md
+++ b/README.md
@@ -3,5 +3,3 @@
## Given a number n, finds the sum of numbers from 1 to n
Edited by Pramodh Kumar M
-
-Test Jenkins
From 4d27b254f89af35a76802a2fa7d04112f4a75770 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 9 Mar 2020 10:35:30 +0530
Subject: [PATCH 03/43] Update README.md
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index a507127..a336f5c 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,5 @@
## Given a number n, finds the sum of numbers from 1 to n
Edited by Pramodh Kumar M
+
+Testing Jenkins
From c9a51a93a2b02bf53b73a560a38a72be17b6d2ea Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 11:57:23 +0530
Subject: [PATCH 04/43] Update README.md
---
README.md | 2 --
1 file changed, 2 deletions(-)
diff --git a/README.md b/README.md
index a336f5c..a507127 100644
--- a/README.md
+++ b/README.md
@@ -3,5 +3,3 @@
## Given a number n, finds the sum of numbers from 1 to n
Edited by Pramodh Kumar M
-
-Testing Jenkins
From 4666a2cb0ad306d5540009dff3f2c283db3c94d3 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 12:11:08 +0530
Subject: [PATCH 05/43] Update maven.yml
---
.github/workflows/maven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 6f27edc..fd7117b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -5,7 +5,7 @@ on: [push]
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: self-hosted
steps:
- uses: actions/checkout@v1
From 8e4a03a32efaea8661b3bad7972e8a342f81dc7b Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 12:27:02 +0530
Subject: [PATCH 06/43] Update README.md
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index a507127..d2c8788 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,4 @@
## Given a number n, finds the sum of numbers from 1 to n
Edited by Pramodh Kumar M
+30 Jun 2020
From 0cf1279a59b77d6da04c50241baae044e47fcb8b Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 12:53:28 +0530
Subject: [PATCH 07/43] Update README.md
---
README.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/README.md b/README.md
index d2c8788..a507127 100644
--- a/README.md
+++ b/README.md
@@ -3,4 +3,3 @@
## Given a number n, finds the sum of numbers from 1 to n
Edited by Pramodh Kumar M
-30 Jun 2020
From cad1fcb33b00ec499a5e6861b3449b2a0989a1d7 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 12:54:58 +0530
Subject: [PATCH 08/43] Update maven.yml
---
.github/workflows/maven.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index fd7117b..357adfe 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -24,5 +24,5 @@ jobs:
run: mvn -B -DskipTests clean package
- name: Run Maven Tests
run: mvn test
- - name: Publish Maven Artifacts
- run: mvn deploy --settings .m2/settings.xml
+# - name: Publish Maven Artifacts
+# run: mvn deploy --settings .m2/settings.xml
From 02328d7280a300bcddfa836297d886cfe2dc2338 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 12:57:55 +0530
Subject: [PATCH 09/43] Update maven.yml
---
.github/workflows/maven.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 357adfe..404f502 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -18,11 +18,11 @@ jobs:
sed -i -e 's/TOKEN/'$GITHUB_TOKEN'/g' .m2/settings.xml
cat .m2/settings.xml
env:
- GITHUB_TOKEN: ${{secrets.add_git}}
+ GITHUB_TOKEN: ${{secrets.ADD_GIT}}
- name: Build with Maven
run: mvn -B -DskipTests clean package
- name: Run Maven Tests
run: mvn test
-# - name: Publish Maven Artifacts
-# run: mvn deploy --settings .m2/settings.xml
+ - name: Publish Maven Artifacts
+ run: mvn deploy --settings .m2/settings.xml
From ca9191a8699cd8f51b4816b447b924c5feb8a4f1 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 13:03:16 +0530
Subject: [PATCH 10/43] Update maven.yml
---
.github/workflows/maven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 404f502..fd7117b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -18,7 +18,7 @@ jobs:
sed -i -e 's/TOKEN/'$GITHUB_TOKEN'/g' .m2/settings.xml
cat .m2/settings.xml
env:
- GITHUB_TOKEN: ${{secrets.ADD_GIT}}
+ GITHUB_TOKEN: ${{secrets.add_git}}
- name: Build with Maven
run: mvn -B -DskipTests clean package
From 7137cbf8cca8eced169eb94e36e5cd5ebb01891c Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 13:04:55 +0530
Subject: [PATCH 11/43] Update settings.xml
---
.m2/settings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.m2/settings.xml b/.m2/settings.xml
index 5ad9701..661a1d2 100644
--- a/.m2/settings.xml
+++ b/.m2/settings.xml
@@ -20,7 +20,7 @@
github
GitHub Apache Maven Packages
- https://maven.pkg.github.com/Gazetteer-Panda
+ https://maven.pkg.github.com/PramodhMDT
From edf5077cb430c52ca4ecf7e4006dd70019dfb342 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 30 Jun 2020 13:05:27 +0530
Subject: [PATCH 12/43] Update pom.xml
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 524e0f7..d2869c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
JavaTestDemo
jar
This is Java Testing Demo
- http://maven.pkg.github.com/Gazetteer-Panda
+ http://maven.pkg.github.com/PramodhMDT
UTF-8
@@ -72,7 +72,7 @@
github
- https://maven.pkg.github.com/Gazetteer-Panda/javatestdemo
+ https://maven.pkg.github.com/PramodhMDT/javatestdemo
true
From d841f65ff41dcedb12137b84beeda733669c10d2 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Thu, 23 Jul 2020 22:16:37 +0530
Subject: [PATCH 13/43] Create codeql-analysis.yml
---
.github/workflows/codeql-analysis.yml | 54 +++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 .github/workflows/codeql-analysis.yml
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..5ab23a1
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,54 @@
+name: "CodeQL"
+
+on:
+ push:
+ branches: [master, ]
+ pull_request:
+ # The branches below must be a subset of the branches above
+ branches: [master]
+ schedule:
+ - cron: '0 12 * * 5'
+
+jobs:
+ analyse:
+ name: Analyse
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+ with:
+ # We must fetch at least the immediate parents so that if this is
+ # a pull request then we can checkout the head.
+ fetch-depth: 2
+
+ # If this run was triggered by a pull request event, then checkout
+ # the head of the pull request instead of the merge commit.
+ - run: git checkout HEAD^2
+ if: ${{ github.event_name == 'pull_request' }}
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ # Override language selection by uncommenting this and choosing your languages
+ # with:
+ # languages: go, javascript, csharp, python, cpp, java
+
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v1
+
+ # âšī¸ Command-line programs to run using the OS shell.
+ # đ https://git.io/JvXDl
+
+ # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines
+ # and modify them (or add more) to build your code if your project
+ # uses a compiled language
+
+ #- run: |
+ # make bootstrap
+ # make release
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1
From cde98f7873a7c54f673acb831169f1cea86b8be2 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Thu, 23 Jul 2020 22:21:51 +0530
Subject: [PATCH 14/43] Update README.md
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index a507127..a7dbb7e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,8 @@
+
+
# This is sample math application
## Given a number n, finds the sum of numbers from 1 to n
Edited by Pramodh Kumar M
+
From 7e2ba07f88fbb95b64f558d2a1b96cdcd5260bab Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 10 Aug 2020 09:17:49 +0530
Subject: [PATCH 15/43] Update MySum_Test.java
---
src/test/java/com/javatestdemo/MySum_Test.java | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/test/java/com/javatestdemo/MySum_Test.java b/src/test/java/com/javatestdemo/MySum_Test.java
index 8b3118f..e1f156f 100644
--- a/src/test/java/com/javatestdemo/MySum_Test.java
+++ b/src/test/java/com/javatestdemo/MySum_Test.java
@@ -31,5 +31,13 @@ public void mySimpleTest_3() {
assertEquals(Obj1.sumofnumbers(13), 91);
assertEquals(Obj1.sumofnumbers(14), 105);
assertEquals(Obj1.sumofnumbers(15), 120);
- }
+ }
+ @Test //Test 4
+ public void mySimpleTest_4() {
+ assertEquals(Obj1.sumofnumbers(16), 136);
+ assertEquals(Obj1.sumofnumbers(17), 153);
+ assertEquals(Obj1.sumofnumbers(18), 171);
+ assertEquals(Obj1.sumofnumbers(19), 190);
+ assertEquals(Obj1.sumofnumbers(20), 210);
+ }
}
From bec7fd2af794814ea9b69a0df45034fbcf89da02 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 10 Aug 2020 09:22:12 +0530
Subject: [PATCH 16/43] Update maven.yml
---
.github/workflows/maven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index fd7117b..6f27edc 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -5,7 +5,7 @@ on: [push]
jobs:
build:
- runs-on: self-hosted
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
From 4a4dfb4cd01808cb6a0298118dadbe0e90682162 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 10 Aug 2020 09:23:03 +0530
Subject: [PATCH 17/43] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index d2869c4..9a53c45 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
4.0.0
com.javatestdemo
javatestdemo
- 1.1.3
+ 1.2.0
JavaTestDemo
jar
This is Java Testing Demo
From 99540357130887be0ddb04f8fa6e2d0c738c4aaa Mon Sep 17 00:00:00 2001
From: PramodhmDT
Date: Wed, 26 Aug 2020 22:18:20 +0530
Subject: [PATCH 18/43] Comment Added
---
src/main/java/com/javatestdemo/MySum.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/com/javatestdemo/MySum.java b/src/main/java/com/javatestdemo/MySum.java
index 07dd0f8..0f2af70 100644
--- a/src/main/java/com/javatestdemo/MySum.java
+++ b/src/main/java/com/javatestdemo/MySum.java
@@ -1,5 +1,5 @@
package com.javatestdemo;
-
+//Main Class
public class MySum {
static int sumofnumbers (int numbers) {
From 68bb20241920e78a8059ee5e215c6ec19411eeee Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 18:16:57 +0530
Subject: [PATCH 19/43] Set up CI with Azure Pipelines
[skip ci]
---
azure-pipelines.yml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 azure-pipelines.yml
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 0000000..c8a1181
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,22 @@
+# Maven
+# Build your Java project and run tests with Apache Maven.
+# Add steps that analyze code, save build artifacts, deploy, and more:
+# https://docs.microsoft.com/azure/devops/pipelines/languages/java
+
+trigger:
+- master
+
+pool:
+ vmImage: 'ubuntu-latest'
+
+steps:
+- task: Maven@3
+ inputs:
+ mavenPomFile: 'pom.xml'
+ #mavenOptions: '-Xmx3072m'
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.8'
+ jdkArchitectureOption: 'x64'
+ publishJUnitResults: true
+ testResultsFiles: '**/surefire-reports/TEST-*.xml'
+ goals: 'package'
From 8fa3b1e1a96a1743b5240e0a0026061795597406 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 18:52:49 +0530
Subject: [PATCH 20/43] Set up CI with Azure Pipelines
[skip ci]
---
azure-pipelines-1.yml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 azure-pipelines-1.yml
diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml
new file mode 100644
index 0000000..9881b9f
--- /dev/null
+++ b/azure-pipelines-1.yml
@@ -0,0 +1,21 @@
+# Maven
+# Build your Java project and run tests with Apache Maven.
+# Add steps that analyze code, save build artifacts, deploy, and more:
+# https://docs.microsoft.com/azure/devops/pipelines/languages/java
+
+trigger:
+- master
+
+pool: Default
+
+steps:
+- task: Maven@3
+ inputs:
+ mavenPomFile: 'pom.xml'
+ mavenOptions: '-Xmx3072m'
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.8'
+ jdkArchitectureOption: 'x64'
+ publishJUnitResults: true
+ testResultsFiles: '**/surefire-reports/TEST-*.xml'
+ goals: 'package'
From 1c5aa55073d915ef8a78386e3f4c1d8dc786bd68 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 19:16:47 +0530
Subject: [PATCH 21/43] Update azure-pipelines-1.yml for Azure Pipelines
---
azure-pipelines-1.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml
index 9881b9f..1ea10c5 100644
--- a/azure-pipelines-1.yml
+++ b/azure-pipelines-1.yml
@@ -19,3 +19,12 @@ steps:
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package'
+
+- task: CopyFiles@2
+ inputs:
+ contents: '_buildOutput/**'
+ targetFolder: $(Build.ArtifactStagingDirectory)
+- task: PublishBuildArtifacts@1
+ inputs:
+ pathToPublish: $(Build.ArtifactStagingDirectory)
+ artifactName: MyBuildOutputs
\ No newline at end of file
From 9b30ec0e69f4c919943dda9badeee640305ca628 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 19:20:58 +0530
Subject: [PATCH 22/43] Update azure-pipelines-1.yml for Azure Pipelines
---
azure-pipelines-1.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml
index 1ea10c5..f742319 100644
--- a/azure-pipelines-1.yml
+++ b/azure-pipelines-1.yml
@@ -22,6 +22,7 @@ steps:
- task: CopyFiles@2
inputs:
+ SourceFolder: $(Build.SourcesDirectory)
contents: '_buildOutput/**'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
From 1b51e247c8229cb9728749c09fcb94c4b01ac8d9 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 19:38:44 +0530
Subject: [PATCH 23/43] Update azure-pipelines-1.yml for Azure Pipelines
---
azure-pipelines-1.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml
index f742319..b7eb585 100644
--- a/azure-pipelines-1.yml
+++ b/azure-pipelines-1.yml
@@ -6,6 +6,10 @@
trigger:
- master
+variables:
+- name: one
+ value: "\c\Users\Pramodh\Desktop\Azure_Demo\agent\_work\1\s\target"
+
pool: Default
steps:
@@ -22,7 +26,7 @@ steps:
- task: CopyFiles@2
inputs:
- SourceFolder: $(Build.SourcesDirectory)
+ SourceFolder: ${{ variables.one }}
contents: '_buildOutput/**'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
From 0ae830c773352900266a40432bfe6de29d09fdbd Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 19:38:59 +0530
Subject: [PATCH 24/43] Update azure-pipelines-1.yml for Azure Pipelines
---
azure-pipelines-1.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml
index b7eb585..2d7d44c 100644
--- a/azure-pipelines-1.yml
+++ b/azure-pipelines-1.yml
@@ -27,7 +27,7 @@ steps:
- task: CopyFiles@2
inputs:
SourceFolder: ${{ variables.one }}
- contents: '_buildOutput/**'
+ contents: '*.jar'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
From 642fe2b672c5a02540387b6dc73b0520df83eed7 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 14 Sep 2020 19:43:37 +0530
Subject: [PATCH 25/43] Update azure-pipelines-1.yml for Azure Pipelines
---
azure-pipelines-1.yml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml
index 2d7d44c..c8b3f0a 100644
--- a/azure-pipelines-1.yml
+++ b/azure-pipelines-1.yml
@@ -6,10 +6,6 @@
trigger:
- master
-variables:
-- name: one
- value: "\c\Users\Pramodh\Desktop\Azure_Demo\agent\_work\1\s\target"
-
pool: Default
steps:
@@ -26,8 +22,8 @@ steps:
- task: CopyFiles@2
inputs:
- SourceFolder: ${{ variables.one }}
- contents: '*.jar'
+ SourceFolder: '$(Build.SourcesDirectory)'
+ contents: 'target\*.jar'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
From b13cc9b917f345e97f3a34745ab1ce9a8f7e620b Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 15 Sep 2020 10:42:38 +0530
Subject: [PATCH 26/43] Set up CI with Azure Pipelines
[skip ci]
---
azure-pipelines.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c8a1181..be2c403 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -6,8 +6,7 @@
trigger:
- master
-pool:
- vmImage: 'ubuntu-latest'
+pool: Default
steps:
- task: Maven@3
From d90ebb04a547211588372afb94da14bbef560dfd Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 15 Sep 2020 11:00:04 +0530
Subject: [PATCH 27/43] Update azure-pipelines.yml for Azure Pipelines
---
azure-pipelines.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index be2c403..5069487 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -6,7 +6,8 @@
trigger:
- master
-pool: Default
+pool:
+ vmImage: ubuntu-16.04
steps:
- task: Maven@3
From 147663842d7819425a98a759d60e85d7e86053fe Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 21 Sep 2020 11:33:59 +0530
Subject: [PATCH 28/43] Updtae MySum.java for CodeQL Test
---
src/main/java/com/javatestdemo/MySum.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/com/javatestdemo/MySum.java b/src/main/java/com/javatestdemo/MySum.java
index 0f2af70..278f5d7 100644
--- a/src/main/java/com/javatestdemo/MySum.java
+++ b/src/main/java/com/javatestdemo/MySum.java
@@ -12,6 +12,8 @@ static int sumofnumbers (int numbers) {
public static void main(String[] args) {
int numbers = Integer.parseInt(args[0]);
- System.out.println(sumofnumbers(numbers));
+ System.out.println(sumofnumbers(numbers));
+ String s = "Pramodh";
+ int name = Integer.parseInt(s);
}
}
From 9d3607469a5b5c39111f58069ff56a7af219871c Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 21 Sep 2020 11:39:06 +0530
Subject: [PATCH 29/43] Update MySum.java
---
src/main/java/com/javatestdemo/MySum.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/java/com/javatestdemo/MySum.java b/src/main/java/com/javatestdemo/MySum.java
index 278f5d7..eb28372 100644
--- a/src/main/java/com/javatestdemo/MySum.java
+++ b/src/main/java/com/javatestdemo/MySum.java
@@ -13,7 +13,9 @@ static int sumofnumbers (int numbers) {
public static void main(String[] args) {
int numbers = Integer.parseInt(args[0]);
System.out.println(sumofnumbers(numbers));
+
String s = "Pramodh";
int name = Integer.parseInt(s);
+ System.out.println(name);
}
}
From 948337cd28f9300dce0c7026e9f47f994c03d2fb Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 21 Sep 2020 11:45:15 +0530
Subject: [PATCH 30/43] Update MySum.java
---
src/main/java/com/javatestdemo/MySum.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/main/java/com/javatestdemo/MySum.java b/src/main/java/com/javatestdemo/MySum.java
index eb28372..37dbe61 100644
--- a/src/main/java/com/javatestdemo/MySum.java
+++ b/src/main/java/com/javatestdemo/MySum.java
@@ -13,9 +13,5 @@ static int sumofnumbers (int numbers) {
public static void main(String[] args) {
int numbers = Integer.parseInt(args[0]);
System.out.println(sumofnumbers(numbers));
-
- String s = "Pramodh";
- int name = Integer.parseInt(s);
- System.out.println(name);
}
}
From 579d6f17f3f3527ad743bb1e48ddc4e51ea1e126 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Mon, 21 Sep 2020 11:46:18 +0530
Subject: [PATCH 31/43] Update codeql-analysis.yml
---
.github/workflows/codeql-analysis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 5ab23a1..95fc538 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -31,8 +31,8 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
- # with:
- # languages: go, javascript, csharp, python, cpp, java
+ with:
+ languages: java # go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
From d3c9f53224647b9cd037de7ff15905e80ab1b2f1 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Tue, 22 Sep 2020 23:35:32 +0530
Subject: [PATCH 32/43] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 9a53c45..7f05bd6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
4.0.0
com.javatestdemo
javatestdemo
- 1.2.0
+ 1.1.4
JavaTestDemo
jar
This is Java Testing Demo
From 36ac1be63e796716686026ccc6d448db5003c63a Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 07:43:49 +0530
Subject: [PATCH 33/43] Update pom.xml
---
pom.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pom.xml b/pom.xml
index 7f05bd6..3a55695 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,11 @@
4.12
test
+
+ com.sunshineaction
+ sunshineaction
+ 1.2.3
+
From dd0e1675431d410c8d7e59fcdba0d3ffc06d09c7 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 07:51:40 +0530
Subject: [PATCH 34/43] Update pom.xml
---
pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/pom.xml b/pom.xml
index 3a55695..a605c9b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,16 @@
1.8
1.8
+
+
+
+ github
+ GitHub PramodhMDT Apache Maven Packages
+ https://maven.pkg.github.com/pramodhmdt/sunshine-action
+ true
+ true
+
+
From 6ca9ffd8004c68b5ddbf130f3d15880e90e85d3f Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 07:57:22 +0530
Subject: [PATCH 35/43] Update maven.yml
---
.github/workflows/maven.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 6f27edc..56b699d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -1,6 +1,6 @@
name: Java CI
-on: [push]
+on: push
jobs:
build:
From 33e624de96a50aa8600b3f806e8f03b78d975e57 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 10:56:39 +0530
Subject: [PATCH 36/43] Update settings.xml
---
.m2/settings.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.m2/settings.xml b/.m2/settings.xml
index 661a1d2..7012d6e 100644
--- a/.m2/settings.xml
+++ b/.m2/settings.xml
@@ -29,8 +29,8 @@
github
- Actions
- TOKEN
+ PramodhMDT
+ ${env.GITHUB_TOKEN}
From 46fc39feebbf7ce4fec73ae774af00b88a4f9ebb Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 12:46:30 +0530
Subject: [PATCH 37/43] Update pom.xml
---
pom.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a605c9b..3d0a92c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,6 @@
JavaTestDemo
jar
This is Java Testing Demo
- http://maven.pkg.github.com/PramodhMDT
UTF-8
From 307e540db0ce800f555aeb0b4280fb0a5ae2feaa Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 13:06:30 +0530
Subject: [PATCH 38/43] Update pom.xml
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 3d0a92c..b1c7d15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,7 +47,7 @@
com.sunshineaction
sunshineaction
- 1.2.3
+ 1.2.6
From 1798c6da2fc1bd3a036ecd5545153191ec49f007 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 13:08:28 +0530
Subject: [PATCH 39/43] Update pom.xml
---
pom.xml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b1c7d15..28edae8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,6 +17,7 @@
+
+
+ github
+ GitHub TobseF Apache Maven Packages
+ https://maven.pkg.github.com/TobseF/HelloMaven
+ true
+ true
+
+
+ github.tobsef
+ hello-maven
+ 1.2.1
+
org.junit.jupiter
junit-jupiter-engine
@@ -44,11 +58,12 @@
4.12
test
+
From 6f1aa3c3bbd62a2ab7d8fe7319d3680342d1d437 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 14:54:57 +0530
Subject: [PATCH 40/43] Update settings.xml
---
.m2/settings.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.m2/settings.xml b/.m2/settings.xml
index 7012d6e..e48465d 100644
--- a/.m2/settings.xml
+++ b/.m2/settings.xml
@@ -19,8 +19,8 @@
github
- GitHub Apache Maven Packages
- https://maven.pkg.github.com/PramodhMDT
+ GitHub OWNER Apache Maven Packages
+ https://maven.pkg.github.com/PramodhMDT/JavaTestDemo
From 6ce6be6a5d5d626635eec296aa4527df1fa3b299 Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 14:57:17 +0530
Subject: [PATCH 41/43] Update settings.xml
---
.m2/settings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.m2/settings.xml b/.m2/settings.xml
index e48465d..fc03aad 100644
--- a/.m2/settings.xml
+++ b/.m2/settings.xml
@@ -20,7 +20,7 @@
github
GitHub OWNER Apache Maven Packages
- https://maven.pkg.github.com/PramodhMDT/JavaTestDemo
+ https://maven.pkg.github.com/PramodhMDT/sunshine-action
From 576a9b8743fb2a3197a0ad3f86b2fafd7339484e Mon Sep 17 00:00:00 2001
From: Pramodh Kumar M <54981492+PramodhMDT@users.noreply.github.com>
Date: Wed, 23 Sep 2020 22:17:35 +0530
Subject: [PATCH 42/43] Update pom.xml
---
pom.xml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 28edae8..32ad7bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,11 +36,6 @@
-
- github.tobsef
- hello-maven
- 1.2.1
-
org.junit.jupiter
junit-jupiter-engine
From 7a110585417fc1ce488e94af7eb0e2f9e87c6f5a Mon Sep 17 00:00:00 2001
From: Pramodh M
Date: Thu, 9 Feb 2023 22:52:04 +0530
Subject: [PATCH 43/43] Update azure-pipelines.yml for Azure Pipelines
---
azure-pipelines.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5069487..c83b80b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -7,7 +7,7 @@ trigger:
- master
pool:
- vmImage: ubuntu-16.04
+ vmImage: ubuntu-22.04
steps:
- task: Maven@3