Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3c21c02
Delete .classpath
ranjit4github Aug 7, 2022
7a53259
Delete .project
ranjit4github Aug 7, 2022
fed6fcb
Delete Jenkinsfile
ranjit4github Aug 7, 2022
2aa47b2
Delete Jenkinsfile_Docker_Local
ranjit4github Aug 7, 2022
7a27e32
Delete Jenkinsfile_Docker_Remote
ranjit4github Aug 7, 2022
902b2a3
Delete Dockerfile
ranjit4github Aug 7, 2022
cc3ed86
Update and rename Jenkinsfile_1.0 to Jenkinsfile
ranjit4github Aug 7, 2022
3d12db9
Update Jenkinsfile
ranjit4github Aug 7, 2022
1600723
Update Jenkinsfile
ranjit4github Aug 7, 2022
2638bd7
Update Jenkinsfile
ranjit4github Aug 7, 2022
8077fd2
Update Jenkinsfile
ranjit4github Aug 7, 2022
2fa1836
Update Jenkinsfile
ranjit4github Aug 7, 2022
e76a94a
Update Jenkinsfile
ranjit4github Aug 7, 2022
797f6d2
Update Jenkinsfile
ranjit4github Aug 7, 2022
8d03b4a
Update Jenkinsfile
ranjit4github Aug 8, 2022
4fc0ada
Delete Jenkinsfile
ranjit4github Aug 8, 2022
17209c9
Add files via upload
ranjit4github Aug 9, 2022
b89ceca
Add files via upload
ranjit4github Aug 9, 2022
e25d4e8
Update template.xhtml
ranjit4github Aug 9, 2022
b396272
Update Jenkinsfile
ranjit4github Aug 9, 2022
43e3c72
Update Jenkinsfile
ranjit4github Aug 9, 2022
04acdd1
Update Jenkinsfile
ranjit4github Aug 12, 2022
3769581
Update Jenkinsfile
ranjit4github Aug 12, 2022
f8d4761
Create build.properties
ranjit4github Aug 12, 2022
ec571e2
Update build.properties
ranjit4github Aug 12, 2022
e9539df
Update Jenkinsfile
ranjit4github Aug 12, 2022
a9d7096
Update Jenkinsfile
ranjit4github Aug 12, 2022
f9df820
Update template.xhtml
ranjit4github Aug 12, 2022
cc27458
Add files via upload
ranjit4github Aug 12, 2022
3e64e2a
Add files via upload
ranjit4github Aug 12, 2022
e0372e1
Add files via upload
ranjit4github Aug 12, 2022
75346d4
Update template.xhtml
ranjit4github Aug 12, 2022
90d7c38
Update Jenkinsfile
ranjit4github Aug 20, 2022
c0e5ecf
Update Jenkinsfile
ranjit4github Aug 20, 2022
9428639
Update build.properties
ranjit4github Apr 15, 2023
6e85f86
Update Jenkinsfile
prasadperla55 Jul 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .classpath

This file was deleted.

37 changes: 0 additions & 37 deletions .project

This file was deleted.

10 changes: 0 additions & 10 deletions Dockerfile

This file was deleted.

37 changes: 15 additions & 22 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
pipeline {
agent any

tools {
maven 'local_maven'
pipeline{
agent any{
label 'linuxagent'
}
parameters {
string(name: 'staging_server', defaultValue: '13.232.37.20', description: 'Remote Staging Server')
tools{
maven 'local_maven'
}

stages{
stage('Build'){
steps {
stages{
stage ('Build'){
steps{
sh 'mvn clean package'
}
post {
success {
echo 'Archiving the artifacts'
post{
success{
echo "Archiving the Artifacts"
archiveArtifacts artifacts: '**/target/*.war'
}
}
}

stage ('Deployments'){
parallel{
stage ("Deploy to Staging"){
steps {
sh "scp -v -o StrictHostKeyChecking=no **/*.war root@${params.staging_server}:/opt/tomcat/webapps/"
}
}
stage ('Deploy to tomcat server') {
steps{
deploy adapters: [tomcat9(credentialsId: 'd27472d4-1d20-42e9-aefc-45d27de10a05', path: '', url: 'http://52.66.214.37:8080/')], contextPath: null, war: '**/*.war'
echo "Deployment"
}
}
}
Expand Down
45 changes: 0 additions & 45 deletions Jenkinsfile_1.0

This file was deleted.

14 changes: 0 additions & 14 deletions Jenkinsfile_Docker_Local

This file was deleted.

15 changes: 0 additions & 15 deletions Jenkinsfile_Docker_Remote

This file was deleted.

3 changes: 3 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deploy.app.name=devOpsWeb
deploy.environment=sandbox
deploy.type=dev
2 changes: 1 addition & 1 deletion src/main/webapp/template.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>

<body>
<h1><ui:insert name="title">DevOps class - Ranjit Swain - Version: 2.0 - Batch4</ui:insert></h1>
<h1><ui:insert name="title">DevOps class - Ranjit Swain - Version: 2.7</ui:insert></h1>
<p><ui:insert name="body">Just an example! - Webhook</ui:insert></p>
</body>

Expand Down