Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
8c87886
Delete Jenkinsfile
EmmanuelAudu Mar 7, 2023
592bcbb
initial commit to jenkinesfile
EmmanuelAudu Mar 7, 2023
bf30e5c
initial commit
EmmanuelAudu Mar 7, 2023
34f6f7f
second commit to jenkinsfile
EmmanuelAudu Mar 7, 2023
c203385
removed block of code which is not required
EmmanuelAudu Mar 7, 2023
2a5f950
adding sonarqube stage
EmmanuelAudu Mar 8, 2023
6f9a691
adding sonarqube stage
EmmanuelAudu Mar 8, 2023
42a6c0b
adding sonarqube stage
EmmanuelAudu Mar 8, 2023
e8945bf
adding quality gate
EmmanuelAudu Mar 8, 2023
7aae623
adding quality gate
EmmanuelAudu Mar 8, 2023
8694d83
adding quality gate
EmmanuelAudu Mar 8, 2023
a4989c1
adding quality gate
EmmanuelAudu Mar 8, 2023
0543007
adding quality gate
EmmanuelAudu Mar 8, 2023
5c2cbc7
update quality gate
EmmanuelAudu Mar 8, 2023
d189e9e
update quality gate
EmmanuelAudu Mar 8, 2023
b678389
update quality gate
EmmanuelAudu Mar 8, 2023
1fa6a78
update quality gate
EmmanuelAudu Mar 8, 2023
2dfb039
update quality gate
EmmanuelAudu Mar 8, 2023
c67dad7
update quality gate
EmmanuelAudu Mar 8, 2023
4fbd783
update quality gate
EmmanuelAudu Mar 8, 2023
c1272ec
update quality gate
EmmanuelAudu Mar 8, 2023
7f4bbf1
update quality gate
EmmanuelAudu Mar 8, 2023
82da13a
update quality gate
EmmanuelAudu Mar 8, 2023
99fe4ff
update quality gate
EmmanuelAudu Mar 8, 2023
f2a0ead
update quality gate
EmmanuelAudu Mar 8, 2023
f088e37
update quality gate
EmmanuelAudu Mar 8, 2023
823b145
update quality gate
EmmanuelAudu Mar 8, 2023
e7aef13
update quality gate
EmmanuelAudu Mar 8, 2023
457642c
update quality gate
EmmanuelAudu Mar 8, 2023
0c8f902
update quality gate
EmmanuelAudu Mar 8, 2023
fa416b0
adding build stage
EmmanuelAudu Mar 8, 2023
85676e2
adding build stage
EmmanuelAudu Mar 8, 2023
3912999
adding build stage
EmmanuelAudu Mar 8, 2023
2344f82
adding build stage
EmmanuelAudu Mar 8, 2023
8ec9e0d
adding build stage
EmmanuelAudu Mar 8, 2023
bec2d80
adding build stage
EmmanuelAudu Mar 8, 2023
b99e8f2
adding build stage
EmmanuelAudu Mar 8, 2023
ab59c35
Update pom.xml
EmmanuelAudu Mar 8, 2023
00a1d9f
adding build stage
EmmanuelAudu Mar 8, 2023
1bf5373
Merge branch 'development' of https://github.com/EmmanuelAudu/sample-…
EmmanuelAudu Mar 8, 2023
d813623
adding build stage
EmmanuelAudu Mar 8, 2023
dba5d94
adding build stage
EmmanuelAudu Mar 8, 2023
f89ac94
adding build stage
EmmanuelAudu Mar 8, 2023
4dabd00
adding build stage
EmmanuelAudu Mar 8, 2023
8362ba4
adding build stage
EmmanuelAudu Mar 8, 2023
d1ec20b
adding build stage
EmmanuelAudu Mar 8, 2023
4e680f2
adding build stage
EmmanuelAudu Mar 8, 2023
8c6ccee
adding build stage
EmmanuelAudu Mar 8, 2023
df8330e
adding build stage
EmmanuelAudu Mar 8, 2023
f50d146
adding build stage
EmmanuelAudu Mar 8, 2023
53f8e3f
saving files to local m2 folder
EmmanuelAudu Mar 8, 2023
1e15a49
saving files to local m2 folder
EmmanuelAudu Mar 8, 2023
fb4324b
updating the file
EmmanuelAudu Mar 8, 2023
00efa58
updating the file
EmmanuelAudu Mar 8, 2023
855b412
updating the file
EmmanuelAudu Mar 8, 2023
f84d48c
updating the file
EmmanuelAudu Mar 8, 2023
f7ba70d
updating the file
EmmanuelAudu Mar 8, 2023
d777732
Update jenkinsfile
EmmanuelAudu Mar 8, 2023
8d412cc
updating the file
EmmanuelAudu Mar 8, 2023
93e2ed6
Merge branch 'development' of https://github.com/EmmanuelAudu/sample-…
EmmanuelAudu Mar 8, 2023
1e835da
updating the file
EmmanuelAudu Mar 8, 2023
2b8c7b1
updating the file
EmmanuelAudu Mar 8, 2023
6e695d6
updating the file
EmmanuelAudu Mar 8, 2023
4b0ce61
updating the file
EmmanuelAudu Mar 8, 2023
706c331
updating the file
EmmanuelAudu Mar 8, 2023
a5330fe
updating the file
EmmanuelAudu Mar 8, 2023
4f78b1c
updating the file
EmmanuelAudu Mar 8, 2023
1ad3894
updating the file
EmmanuelAudu Mar 8, 2023
86a8266
updating the file
EmmanuelAudu Mar 8, 2023
e9f374f
updating the file
EmmanuelAudu Mar 8, 2023
4231823
updating the file
EmmanuelAudu Mar 8, 2023
aac38d1
updating the file
EmmanuelAudu Mar 8, 2023
1b8fc4f
updating the file
EmmanuelAudu Mar 8, 2023
e1e3a54
updating the file
EmmanuelAudu Mar 8, 2023
6750d9e
updating the file
EmmanuelAudu Mar 8, 2023
66dd75c
updating the file
EmmanuelAudu Mar 8, 2023
4ebda61
updating the file
EmmanuelAudu Mar 8, 2023
90c07f6
updating the file
EmmanuelAudu Mar 8, 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
121 changes: 0 additions & 121 deletions Jenkinsfile

This file was deleted.

42 changes: 42 additions & 0 deletions jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
pipeline{
agent none

stages{
stage("static code analysis"){
agent{
docker{
image 'maven'
args '-v $HOME/.m2:/root/.m2'
}
}
steps{
script{
withSonarQubeEnv(credentialsId: 'sonar-token') {
sh "mvn sonar:sonar -X"
}
stage("Quality Gate"){
timeout(10){
def qg = waitForQualityGate()
if (qg.status != "OK") {
error "Pipeline aborted due to quality gate failure: ${qg.status}"
}
}
}
}
}
}
stage("build"){
agent{
docker{
image 'maven'
}
}
steps{
script{
sh "mvn clean install"
}
}
}
}

}
1 change: 0 additions & 1 deletion src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@
</body>
</html>