forked from singh-preeti/Practice-github-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.java
More file actions
20 lines (16 loc) · 639 Bytes
/
app.java
File metadata and controls
20 lines (16 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.slf4j.*;
@SpringBootApplication
public class AmazonJenkinsDemoApplication implements CommandLineRunner {
public static final Logger Logger= LoggerFactory.getLogger(AmazonJenkinsDemoApplication.class);
public static void main(String[] args) {
Logger.info("its a CI pipeline job");
SpringApplication.run(AmazonJenkinsDemoApplication.class, args);
}
@Override
public void run(String... args) throws Exception {
Logger.info("second log");
}
}