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

[RKOTLIN-825] Removing Jenkins switching to Github Action for CI/CD #1698

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@

### Internal

- None.
- Deprecated Jenkins and switching to Github Action ([JIRA]https://jira.mongodb.org/browse/RKOTLIN-825).


## 1.14.0 (2024-03-08)

Expand Down
780 changes: 0 additions & 780 deletions Jenkinsfile

This file was deleted.

2 changes: 1 addition & 1 deletion benchmarks/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// For CI buils, the packages are expected to have
// been built and deployed to a local filesystem
// maven repo.
if (System.getenv("JENKINS_HOME") == null && System.getenv("CI") == null) {
if (System.getenv("CI") == null) {
includeBuild("../packages")
}

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private fun findHostOs(): OperatingSystem {
val HOST_OS: OperatingSystem = findHostOs()

object Realm {
val ciBuild = (System.getenv("JENKINS_HOME") != null || System.getenv("CI") != null)
val ciBuild = (System.getenv("CI") != null)
const val version = "1.15.0-SNAPSHOT"
const val group = "io.realm.kotlin"
const val projectUrl = "https://realm.io"
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/realm-lint.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ allprojects {

reports {
html.enabled = true // observe findings in your browser with structure and code snippets
xml.enabled = false // checkstyle like format mainly for integrations like Jenkins
xml.enabled = false // checkstyle like format mainly for integrations like GHA
txt.enabled = false // similar to the console output, contains issue signature to manually edit baseline files
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/kmm-sample/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// been built and deployed to a local filesystem
// maven repo. We cannot reference `Realm.ciBuild`
// from buildSrc here.
if (System.getenv("JENKINS_HOME") == null && System.getenv("CI") == null) {
if (System.getenv("CI") == null) {
includeBuild("../../packages")
}

Expand Down
2 changes: 1 addition & 1 deletion examples/realm-java-compatibility/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// been built and deployed to a local filesystem
// maven repo. We cannot reference `Realm.ciBuild`
// from buildSrc here.
if (System.getenv("JENKINS_HOME") == null && System.getenv("CI") == null) {
if (System.getenv("CI") == null) {
includeBuild("../../packages")
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cinterop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ val copyJVMSharedLibs: TaskProvider<Task> by tasks.registering {
* Consolidate shared CMake flags used across all configurations
*/
fun getSharedCMakeFlags(buildType: BuildType, ccache: Boolean = true): Array<String> {
// Any change to CMAKE properties here, should be reflected in /JenkinsFile, specifically
// Any change to CMAKE properties here, should be reflected in GHA(.github/workflows/pr.yml), specifically
// the `build_jvm_linux` and `build_jvm_windows` functions.
val args = mutableListOf<String>()
if (ccache) {
Expand Down
Loading