forked from ityouknow/spring-boot-examples
-
Notifications
You must be signed in to change notification settings - Fork 60
aa #7
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
danny-ros
wants to merge
47
commits into
lidorg-dev:master
Choose a base branch
from
danny-ros:IditOryDanny_2_sol
base: master
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
aa #7
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
f2bd2e5
aa
danny-ros bcfb2dd
Update pom.xml
danny-ros 77db182
Update pom.xml
danny-ros 81d709b
Update pom.xml
danny-ros c4b0473
Update pom.xml
danny-ros ac7c040
Update pom.xml
danny-ros b65dd00
Create Jenkinsfile
danny-ros dd00b82
Update Jenkinsfile
danny-ros 9c4b157
Update Jenkinsfile
danny-ros 86a5a35
Update Jenkinsfile
danny-ros 6bab0d7
af3a961
asd
danny-ros 4e94ec3
Update Jenkinsfile
danny-ros bf8a2d5
Update Jenkinsfile
danny-ros 8ce5567
11
danny-ros e3b4a4e
111
danny-ros b88b134
11
danny-ros ae18689
1111
danny-ros 12792cd
Update Jenkinsfile
danny-ros aaaa4ee
1
danny-ros 5635fe3
Merge remote-tracking branch 'origin/IditOryDanny_2_sol' into IditOry…
danny-ros 455bb9c
2603e63
22
danny-ros c629bb4
22
danny-ros 1c2b302
11
danny-ros 6232b39
1
danny-ros 0d9b82d
qw
danny-ros b8c815b
wqw
danny-ros 2afdb19
11
danny-ros 970156d
''
danny-ros a87dca9
ee49b33
ee
danny-ros 1bcb787
33
danny-ros 3ce3852
a2e4423
Update HelloWorldController.java
danny-ros 5c89ba0
Update HelloWorldController.java
danny-ros 4bd50af
w
danny-ros 4482100
980adbc
ww
danny-ros 53bb73a
126e006
aa
danny-ros b96fc8a
7c9a973
gg
danny-ros 997c5e2
f679ec2
4946c42
b
danny-ros 658ca28
sasasa
danny-ros 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 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,29 @@ | ||
pipeline { | ||
agent { | ||
label 'master' | ||
} | ||
stages{ | ||
stage('checkout code'){ | ||
steps { | ||
git branch: 'IditOryDanny_2_sol', url: 'https://github.com/danny-ros/spring-boot-examples.git' | ||
} | ||
} | ||
stage('Build'){ | ||
steps { | ||
sh '''cd spring-boot-package-war''' | ||
sh '''mvn compile''' | ||
} | ||
} | ||
stage('Test'){ | ||
steps { | ||
sh '''cd spring-boot-package-war | ||
mvn test''' | ||
} | ||
} | ||
stage('Deploy to Integration ') { | ||
steps { | ||
sh 'cp "/opt/tomcat/.jenkins/workspace/final project/target/spring-boot-package-war-0.0.${BUILD_ID}-SNAPSHOT.war" /opt/tomcat/latest/webapps' | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
12 changes: 12 additions & 0 deletions
12
spring-boot-package-war/src/main/resources/Application.java
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,12 @@ | ||
package com.neo; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class Application { | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(Application.class, args); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
spring-boot-package-war/src/main/resources/ServletInitializer.java
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,14 @@ | ||
package com.neo; | ||
|
||
import org.springframework.boot.builder.SpringApplicationBuilder; | ||
import org.springframework.boot.context.web.SpringBootServletInitializer; | ||
|
||
/** | ||
* Created by summer on 2017/5/8. | ||
*/ | ||
public class ServletInitializer extends SpringBootServletInitializer { | ||
@Override | ||
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { | ||
return application.sources(Application.class); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
spring-boot-package-war/src/main/resources/controller/HelloWorldController.java
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,13 @@ | ||
package com.neo.controller; | ||
|
||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@RestController | ||
public class HelloWorldController { | ||
|
||
@RequestMapping("/hello") | ||
public String index() { | ||
return "Hello World"; | ||
} | ||
} |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical OSS Vulnerability:
pkg:maven/org.springframework.boot/[email protected]
43 Critical, 7 Severe, 0 Moderate, 0 Unknown vulnerabilities have been found across 10 dependencies
Components
pkg:maven/ch.qos.logback/[email protected]
CRITICAL Vulnerabilities (1)
pkg:maven/org.springframework/[email protected]
CRITICAL Vulnerabilities (1)
pkg:maven/org.yaml/[email protected]
CRITICAL Vulnerabilities (1)
pkg:maven/org.springframework/[email protected]
CRITICAL Vulnerabilities (1)
pkg:maven/com.fasterxml.jackson.core/[email protected]
CRITICAL Vulnerabilities (2)
CVE-2016-3720
CVE-2016-7051
pkg:maven/org.springframework/[email protected]
CRITICAL Vulnerabilities (6)
CVE-2018-1270
CVE-2020-5421
CVE-2018-15756
CVE-2016-9878
CVE-2018-1272
CVE-2016-5007
SEVERE Vulnerabilities (2)
OSSINDEX-4ab6-ac05-e235
CVE-2018-1271
pkg:maven/org.hibernate/[email protected]
CRITICAL Vulnerabilities (1)
SEVERE Vulnerabilities (1)
pkg:maven/org.apache.tomcat.embed/[email protected]
CRITICAL Vulnerabilities (3)
CVE-2018-8014
CVE-2016-5388
CVE-2018-8034
SEVERE Vulnerabilities (2)
CVE-2018-1305
CVE-2018-1304
pkg:maven/ch.qos.logback/[email protected]
CRITICAL Vulnerabilities (1)
pkg:maven/com.fasterxml.jackson.core/[email protected]
CRITICAL Vulnerabilities (26)
CVE-2018-14721
CVE-2019-16942
CVE-2017-15095
CVE-2019-16335
CVE-2017-7525
CVE-2019-20330
CVE-2018-7489
CVE-2019-14893
CVE-2018-19361
CVE-2018-19362
CVE-2019-14892
CVE-2019-17267
CVE-2018-14720
CVE-2018-14718
CVE-2017-17485
CVE-2018-14719
CVE-2018-11307
CVE-2018-19360
CVE-2019-17531
CVE-2019-16943
CVE-2019-14540
CVE-2020-10673
CVE-2020-35491
CVE-2018-5968
CVE-2020-35490
CVE-2020-25649
SEVERE Vulnerabilities (2)
CVE-2018-1000873
OSSINDEX-c28e-71f9-6db3