Skip to content

Commit

Permalink
fix: Forcing all test cases to run for java
Browse files Browse the repository at this point in the history
  • Loading branch information
rajc242 committed Nov 12, 2024
1 parent f0d31bb commit 2d949e8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions java/.ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ EOF
}
//Deploy one time so that build is copied to GCS location
stage('JDBC TO BQ'){
when {
expression {
// Check if there are any changes in Java files in the last commit
return sh(
script: 'git diff --name-only HEAD~1 | grep -q ".java"',
returnStatus: true
) == 0
}
}
// when {
// expression {
// // Check if there are any changes in Java files in the last commit
// return sh(
// script: 'git diff --name-only HEAD~1 | grep -q ".java"',
// returnStatus: true
// ) == 0
// }
// }
steps {
retry(count: stageRetryCount) {
sh '''
Expand Down

0 comments on commit 2d949e8

Please sign in to comment.