Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
gitlab-test-cicd
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
朱广松
gitlab-test-cicd
Commits
a7c8e9a3
Commit
a7c8e9a3
authored
Dec 01, 2025
by
zhugs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parents
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
147 行增加
和
0 行删除
+147
-0
.gitignore
+33
-0
pom.xml
+79
-0
src/main/java/com/test/gitlabtestcicd/GitlabTestCicdApplication.java
+21
-0
src/main/resources/application.properties
+1
-0
src/test/java/com/test/gitlabtestcicd/GitlabTestCicdApplicationTests.java
+13
-0
没有找到文件。
.gitignore
0 → 100644
View file @
a7c8e9a3
HELP.md
target/
.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/
pom.xml
0 → 100644
View file @
a7c8e9a3
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
4.0.0
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>
com.test
</groupId>
<artifactId>
gitlab-test-cicd
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
gitlab-test-cicd
</name>
<description>
gitlab-test-cicd
</description>
<url/>
<licenses>
<license/>
</licenses>
<developers>
<developer/>
</developers>
<scm>
<connection/>
<developerConnection/>
<tag/>
<url/>
</scm>
<properties>
<java.version>
25
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-webmvc
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-webmvc-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
src/main/java/com/test/gitlabtestcicd/GitlabTestCicdApplication.java
0 → 100644
View file @
a7c8e9a3
package
com
.
test
.
gitlabtestcicd
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@SpringBootApplication
public
class
GitlabTestCicdApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
GitlabTestCicdApplication
.
class
,
args
);
}
@GetMapping
(
"/hello"
)
public
String
getHello
(){
return
"hello world!"
;
}
}
src/main/resources/application.properties
0 → 100644
View file @
a7c8e9a3
spring.application.name
=
gitlab-test-cicd
src/test/java/com/test/gitlabtestcicd/GitlabTestCicdApplicationTests.java
0 → 100644
View file @
a7c8e9a3
package
com
.
test
.
gitlabtestcicd
;
import
org.junit.jupiter.api.Test
;
import
org.springframework.boot.test.context.SpringBootTest
;
@SpringBootTest
class
GitlabTestCicdApplicationTests
{
@Test
void
contextLoads
()
{
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论