mirror of
https://github.com/status-im/dappconnect-sdks.git
synced 2025-01-12 17:54:21 +00:00
jenkinsfile: revert check for changed files (#622)
Signed-off-by: markoburcul <marko@status.im>
This commit is contained in:
parent
7f611bd199
commit
51d61895a4
25
apps/connector/Jenkinsfile
vendored
25
apps/connector/Jenkinsfile
vendored
@ -30,25 +30,14 @@ pipeline {
|
||||
|
||||
stages {
|
||||
stage('Check Changed Files') {
|
||||
steps {
|
||||
script {
|
||||
// Get the list of changed files
|
||||
def changedFiles = sh(
|
||||
script: "git diff --name-only origin/main...HEAD",
|
||||
returnStdout: true
|
||||
).trim()
|
||||
|
||||
// Check if the changes are relevant
|
||||
def isRelevant = changedFiles.split('\n').any { file ->
|
||||
file.startsWith('apps/connector/')
|
||||
}
|
||||
|
||||
// If no relevant changes, skip the build
|
||||
if (isRelevant) {
|
||||
changesDetected = true
|
||||
}
|
||||
}
|
||||
when {
|
||||
changeset pattern: "apps/connector/**", comparator: "GLOB"
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
changesDetected = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user