Skip to content

Commit

Permalink
Removing Jenkins switching to Github Action for CI/CD (#1698)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhachicha authored Mar 18, 2024
1 parent 8240053 commit 0fb9fc1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 787 deletions.
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

0 comments on commit 0fb9fc1

Please sign in to comment.