Skip to content
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

pr1 #5

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pipeline {
if (isNotificationNecessary()) {
mineRepository()
emailext attachLog: true, body: email_content(), subject: email_subject(), to: '[email protected]'
slackSend(channel: "#jenkins", message: "${custom_msg(currentBuild.currentResult)}")
// slackSend(channel: "#jenkins", message: "${custom_msg(currentBuild.currentResult)}")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pipeline {
jacoco sourcePattern: '**/src/main/kotlin'
mineRepository()
emailext attachLog: true, body: email_content(), subject: email_subject(), to: '[email protected]'
slackSend channel: "#jenkins", message: "${custom_msg(currentBuild.currentResult)}"
//slackSend channel: "#jenkins", message: "${custom_msg(currentBuild.currentResult)}"

}

Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# fastcampus-jenkins
# fastcampus-jenkins
# fastcampus-jenkins!!!!12



14 changes: 7 additions & 7 deletions projects/spring-app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
// import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType

plugins {
id("org.springframework.boot") version "2.7.12"
id("io.spring.dependency-management") version "1.0.15.RELEASE"
id("org.jlleitschuh.gradle.ktlint") version "11.3.2"
kotlin("jvm") version "1.6.21"
kotlin("plugin.spring") version "1.6.21"
// jacoco
jacoco
}

group = "com.fastcampus"
Expand Down Expand Up @@ -37,8 +37,8 @@ tasks.withType<Test> {
useJUnitPlatform()
}

// configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
// reporters {
// reporter(ReporterType.CHECKSTYLE)
// }
// }
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
reporters {
reporter(ReporterType.CHECKSTYLE)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
triggers {
issueCommentTrigger('.*(test this|build this|deploy this).*')
}

- PR 에 커멘트 입력시 빌드 시작 여부 확인

* PR Commit 메시지가 deploy this 일때 배포되도록 수정
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ def isPr() {

* main 에 직접 커밋, 빌드 확인
* PR 생성후, 빌드 확인
- 커멘트 추가, 빌드 미동작 확인
- 커멘트 추가, 빌드 미동작 확인