-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLOUD-869 Enhance Jenkinsfile to skip builds for specified non-trigge…
…r files (#1901) * Enhance Jenkinsfile to skip builds for specified non-trigger files * Add logic to determine non-trigger files in Jenkins pipeline * Fix logic to determine non-trigger files in Jenkins pipeline * Refactor Jenkinsfile to comment out non-trigger files determination logic * Add non-trigger-files.txt to changeset in Jenkinsfile * Refactor Jenkinsfile to restore non-trigger files determination logic and update non-trigger-files.txt * Enhance non-trigger files logic in Jenkinsfile to use regex for exclusion and improve logging * Implement non-trigger files determination logic in Jenkinsfile with regex support and logging * Replace non-trigger-files.txt with .e2eignore for file exclusion in Jenkinsfile * Add checkE2EIgnoreFiles function to validate changed files against .e2eignore * Remove .e2eignore and Jenkinsfile from exclusion list in .e2eignore * improved readability and consistency * Refactor Jenkinsfile to improve handling of e2eignore files and streamline pipeline execution logic * Add onlyIgnoredFiles flag to Jenkinsfile for enhanced e2eignore handling * Fix variable declaration for onlyIgnoredFiles in checkE2EIgnoreFiles function * testing the new behavior of skipping builds for non-trigger files * Refactor Jenkinsfile to enhance build logic and streamline post-build actions * Update .e2eignore to include additional documentation files * debug * avoiding unnecessary test executions for subsequent commits * debug * Refactor Jenkinsfile to improve variable usage and enhance readability * Remove unnecessary debug echo statements from Jenkinsfile to streamline output * Remove unused variable 'changedFiles' from Jenkinsfile to clean up code * debug * Refactor Jenkinsfile to enhance previous build handling and streamline commit processing logic * Remove redundant echo statements for 'onlyIgnoredFiles' in Jenkinsfile to clean up output * Remove 'Jenkinsfile' from .e2eignore to ensure it is included in end-to-end tests * Format code in Jenkinsfile for improved readability in checkE2EIgnoreFiles function * Refactor checkE2EIgnoreFiles function in Jenkinsfile to improve variable naming and streamline previous build handling * debug to see if the job will run the tests * remove unnecessary if-else statement. * Refactor checkE2EIgnoreFiles function in Jenkinsfile to improve variable naming and logic for determining test execution * Refactor logic in checkE2EIgnoreFiles function to simplify test execution determination * resolving conflicts by accepting the target branch * resolving conflicts by accepting the target branch * refactor: update Jenkinsfile for improved readability and consistency * Enhance Jenkins pipeline to support manual builds and improve logging for previous builds * Extract node preparation steps into a function. * Update .e2eignore * Refactor Jenkinsfile to improve e2eignore file handling and streamline build process * Remove unnecessary blank line. * Fix paths in Jenkinsfile for docker tag file and golicense command * remove unnecessary debug flag
- Loading branch information
Showing
2 changed files
with
160 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.github/** | ||
docs/** | ||
code-of-conduct.md | ||
CONTRIBUTING.md | ||
README.md | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
operator.png | ||
kubernetes.svg | ||
.e2eignore | ||
release_versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters