-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Development #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
EmmanuelAudu
wants to merge
78
commits into
DeekshithSN:development
Choose a base branch
from
EmmanuelAudu:development
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Development #45
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
8c87886
Delete Jenkinsfile
EmmanuelAudu 592bcbb
initial commit to jenkinesfile
EmmanuelAudu bf30e5c
initial commit
EmmanuelAudu 34f6f7f
second commit to jenkinsfile
EmmanuelAudu c203385
removed block of code which is not required
EmmanuelAudu 2a5f950
adding sonarqube stage
EmmanuelAudu 6f9a691
adding sonarqube stage
EmmanuelAudu 42a6c0b
adding sonarqube stage
EmmanuelAudu e8945bf
adding quality gate
EmmanuelAudu 7aae623
adding quality gate
EmmanuelAudu 8694d83
adding quality gate
EmmanuelAudu a4989c1
adding quality gate
EmmanuelAudu 0543007
adding quality gate
EmmanuelAudu 5c2cbc7
update quality gate
EmmanuelAudu d189e9e
update quality gate
EmmanuelAudu b678389
update quality gate
EmmanuelAudu 1fa6a78
update quality gate
EmmanuelAudu 2dfb039
update quality gate
EmmanuelAudu c67dad7
update quality gate
EmmanuelAudu 4fbd783
update quality gate
EmmanuelAudu c1272ec
update quality gate
EmmanuelAudu 7f4bbf1
update quality gate
EmmanuelAudu 82da13a
update quality gate
EmmanuelAudu 99fe4ff
update quality gate
EmmanuelAudu f2a0ead
update quality gate
EmmanuelAudu f088e37
update quality gate
EmmanuelAudu 823b145
update quality gate
EmmanuelAudu e7aef13
update quality gate
EmmanuelAudu 457642c
update quality gate
EmmanuelAudu 0c8f902
update quality gate
EmmanuelAudu fa416b0
adding build stage
EmmanuelAudu 85676e2
adding build stage
EmmanuelAudu 3912999
adding build stage
EmmanuelAudu 2344f82
adding build stage
EmmanuelAudu 8ec9e0d
adding build stage
EmmanuelAudu bec2d80
adding build stage
EmmanuelAudu b99e8f2
adding build stage
EmmanuelAudu ab59c35
Update pom.xml
EmmanuelAudu 00a1d9f
adding build stage
EmmanuelAudu 1bf5373
Merge branch 'development' of https://github.com/EmmanuelAudu/sample-…
EmmanuelAudu d813623
adding build stage
EmmanuelAudu dba5d94
adding build stage
EmmanuelAudu f89ac94
adding build stage
EmmanuelAudu 4dabd00
adding build stage
EmmanuelAudu 8362ba4
adding build stage
EmmanuelAudu d1ec20b
adding build stage
EmmanuelAudu 4e680f2
adding build stage
EmmanuelAudu 8c6ccee
adding build stage
EmmanuelAudu df8330e
adding build stage
EmmanuelAudu f50d146
adding build stage
EmmanuelAudu 53f8e3f
saving files to local m2 folder
EmmanuelAudu 1e15a49
saving files to local m2 folder
EmmanuelAudu fb4324b
updating the file
EmmanuelAudu 00efa58
updating the file
EmmanuelAudu 855b412
updating the file
EmmanuelAudu f84d48c
updating the file
EmmanuelAudu f7ba70d
updating the file
EmmanuelAudu d777732
Update jenkinsfile
EmmanuelAudu 8d412cc
updating the file
EmmanuelAudu 93e2ed6
Merge branch 'development' of https://github.com/EmmanuelAudu/sample-…
EmmanuelAudu 1e835da
updating the file
EmmanuelAudu 2b8c7b1
updating the file
EmmanuelAudu 6e695d6
updating the file
EmmanuelAudu 4b0ce61
updating the file
EmmanuelAudu 706c331
updating the file
EmmanuelAudu a5330fe
updating the file
EmmanuelAudu 4f78b1c
updating the file
EmmanuelAudu 1ad3894
updating the file
EmmanuelAudu 86a8266
updating the file
EmmanuelAudu e9f374f
updating the file
EmmanuelAudu 4231823
updating the file
EmmanuelAudu aac38d1
updating the file
EmmanuelAudu 1b8fc4f
updating the file
EmmanuelAudu e1e3a54
updating the file
EmmanuelAudu 6750d9e
updating the file
EmmanuelAudu 66dd75c
updating the file
EmmanuelAudu 4ebda61
updating the file
EmmanuelAudu 90c07f6
updating the file
EmmanuelAudu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,4 +101,3 @@ | |
| </body> | ||
| </html> | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.