Skip to content
Merged
Show file tree
Hide file tree
Changes from 181 commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
2136a47
Update 4.x branch for new release (#976)
BraisVQ Feb 21, 2023
8640294
restore antora config
BraisVQ Feb 21, 2023
e30681b
Removed preview flag
BraisVQ Feb 27, 2023
f9aef74
update index.adoc - remove page latest flag
tbugfinder Feb 28, 2023
59ab2a1
4.x Memory leak cleanup code - for component pipeline (#980)
clemensutschig Mar 21, 2023
ef7a097
Cherry pick on 4.x branch of PRs #982 and #984 (#985)
BraisVQ Mar 21, 2023
c6c6908
Fix/levadoc templates config (#1000)
jorge-romero May 4, 2023
befbc61
Release branch update for v4.3.0 (#1014)
BraisVQ Jul 3, 2023
eb75e02
Prepare 4.x branch for release 4.3.1 (#1019)
BraisVQ Jul 13, 2023
767a864
Prepare release branch for release 4.3.2 (#1039)
BraisVQ Oct 2, 2023
bb5dc58
Merge code from master (#1058)
BraisVQ Nov 7, 2023
239b7c9
Prepare release 4.3.4 (#1073)
BraisVQ Feb 20, 2024
e71d18a
release 4.4.0 (#1095)
BraisVQ Apr 22, 2024
c354ed8
Prepare release 4.5.0 (#1127)
BraisVQ Jun 7, 2024
40bb7f1
Prepare release 4.5.1 (#1131)
BraisVQ Jun 19, 2024
b30f6f1
Release 4.5.2 (#1134)
BraisVQ Jun 25, 2024
6e6638a
Release 4.5.3 (#1137)
BraisVQ Jul 8, 2024
5073b38
Release 4.5.4 (#1142)
BraisVQ Jul 17, 2024
a30abee
Release 4.5.5 (#1149)
BraisVQ Aug 26, 2024
4a13ee4
Prepare release 4.5.6 (#1155)
BraisVQ Sep 16, 2024
c04ab47
Prepare release4.6.0 (#1169)
BraisVQ Oct 24, 2024
9b0437e
Prepare release 4.7.0 (#1190)
BraisVQ Jan 27, 2025
7656052
Remove release manager pipeline param releaseStatusJiraIssueKey
Mar 28, 2025
b87e9e3
Update change log and fix codeNarc findings
Mar 28, 2025
5863bcd
Fix tests
Mar 28, 2025
66e118d
Fix tests
Mar 28, 2025
a07083f
Fix tests
Mar 28, 2025
1f595ae
fixes
Mar 28, 2025
2d77e13
Pull request #1: Testing
Mar 31, 2025
e6bd3bb
Pull request #2: Testing
Mar 31, 2025
6228145
Prepare release 4.8.0 (#1208)
BraisVQ Apr 11, 2025
d903a6d
Prepare release 4.8.1 (#1215)
BraisVQ May 13, 2025
6f0f5d1
upload to nexus xunit
alexboering Jun 4, 2025
706c36e
Prepare release 4.8.2 (#1218)
BraisVQ Jun 4, 2025
0d34fbb
Merge branch 'master_ods'
Jun 25, 2025
0702051
Pull request #4: Master duplicate
Jun 25, 2025
ba4dfb3
upload to nexus xunit and jenkins logs
alexboering Jun 4, 2025
d94e868
Merge branch '4.x' of https://github.com/opendevstack/ods-jenkins-sha…
alexboering Jul 4, 2025
46bb983
removed warn from the log
Jul 14, 2025
45fcdfc
added logs
Jul 14, 2025
ed89c6f
Added tests and little refactor in FinalizeStage
Jul 14, 2025
07de237
added tests
Jul 15, 2025
1e16ea1
Merge branch 'master' into feature/upload-logs-and-xunit-to-nexus
Jul 15, 2025
845d0d1
Updated CHANGELOG.md
Jul 15, 2025
a1b2801
fixed codeNarc level 3 rules violations
Jul 15, 2025
2b33a48
fixed last codeNarc violation
Jul 15, 2025
c72b54d
Decreased prio 3 codenarc violations rules to 300
Jul 15, 2025
42f2e27
Refactor to remove code duplications. Fix to write all jenkins log.
Jul 16, 2025
e550128
updated code to fix dependency error during the build
Jul 16, 2025
884c8aa
updated code to fix dependency error during the build
Jul 16, 2025
27fdca9
fixed a codeNarc violation
Jul 16, 2025
3d4d67a
removed a failed test
Jul 16, 2025
1b1b141
Trying to clean before push jenkins logs to nexus
Jul 17, 2025
d62a862
Updated FinalizeStage to push test xml files to nexus in case of foun…
Jul 17, 2025
f3a4468
little refactor
Jul 17, 2025
0927a3e
changed log level
Jul 17, 2025
4d4a549
moved uploadJenkinsLogToNexus before to ClassLoaderCleaner().clean
Jul 17, 2025
9e54965
added logs
Jul 17, 2025
0dd8c40
fix error in componentPipeline
Jul 17, 2025
bb5e943
added logs in odsOrchestrationPipeline
Jul 17, 2025
0ee1562
fixed typo
Jul 17, 2025
9c9b057
updated asset names
Jul 17, 2025
513536b
fixed jenkins log file name in odsOrchestrationPipeline
Jul 17, 2025
121a98c
changed jenkins log file name
Jul 18, 2025
715829d
refactor in OdsComponentPipeline
Jul 18, 2025
160c158
trying to fix the jenkins_log upload from the odsComponentPipeline
Jul 18, 2025
7c1c9f5
fixed error calling getJenkinsLogDirectory
Jul 18, 2025
4b96636
revert
Jul 18, 2025
48bf5d3
name refactor
Jul 18, 2025
4c1e702
upload xunit zip file from component pipeline
Jul 18, 2025
186acd0
removed to test the xunit upload in component pipeline
Jul 18, 2025
fb69a2f
adding logs
Jul 18, 2025
e1105e1
adding logs
Jul 18, 2025
8f81399
adding logs
Jul 18, 2025
49dba0e
adding logs
Jul 18, 2025
69656b6
adding logs
Jul 18, 2025
7c3c879
adding logs
Jul 18, 2025
3f8a509
test fileExists
Jul 18, 2025
10c3bde
Trying to upload tcr data to nexus
Jul 21, 2025
0f5b136
removed push tcr data to nexus feature
Jul 21, 2025
00c0ed1
added logs
Jul 21, 2025
332277a
fixed directory
Jul 21, 2025
a51298a
moved upload xunit files from FinalizeStage to odsOrchestrationPipeline
Jul 21, 2025
aef3ddd
added logger param
Jul 21, 2025
0c56391
trying to fix testDir
Jul 22, 2025
f57b8cd
trying to fix testDir
Jul 22, 2025
5ff42c8
trying to fix testDir, adding node block
Jul 22, 2025
54d0984
uploadTestReportToNexus fixed nexus property and check if testDir exists
Jul 22, 2025
858585f
added xunit upload in odsComponentPipeline
Jul 22, 2025
1765778
refactor and codeNarc
Jul 22, 2025
95f93cf
more logs
alexboering Jul 22, 2025
2664045
more logs 2
alexboering Jul 22, 2025
868b814
more logs 3
alexboering Jul 22, 2025
86be830
more logs 3
alexboering Jul 22, 2025
bb09788
more logs 4
alexboering Jul 22, 2025
8d7985e
more logs 5
alexboering Jul 22, 2025
819879a
codeNarc
Jul 23, 2025
cd5a10e
Merge branch 'feature/upload-logs-and-xunit-to-nexus' of https://bitb…
Jul 23, 2025
90f49bb
added pipeline result to the log uploaded to nexus
Jul 23, 2025
0358201
fixed codeNarc added issues
Jul 23, 2025
542bd16
removed duplicated code
Jul 23, 2025
b5a2562
removed upload test to nexus in componentPipeline
Jul 23, 2025
4395d32
fixed typo
Jul 23, 2025
6cc85aa
change filename
alexboering Jul 28, 2025
c2a3d0c
fixed conflict
alexboering Jul 28, 2025
f58b75f
fixed conflict 2
alexboering Jul 28, 2025
1c8242c
fix: update date formatting in uploadJenkinsLogToNexus method
jorge-romero Jul 30, 2025
6f5588d
fix: update date handling in uploadJenkinsLogToNexus method
jorge-romero Jul 30, 2025
8c0aa9e
fix: update date formatting in uploadJenkinsLogToNexus method
jorge-romero Jul 30, 2025
40ed7b4
fix: update log file naming format in uploadJenkinsLogToNexus and upl…
jorge-romero Jul 30, 2025
ad9eae1
Fix codenarc errors
jorge-romero Jul 30, 2025
c6e8d5a
Add Tests for NexusService new methods
jorge-romero Jul 30, 2025
ec9ed04
Add Tests for JenkinsService
jorge-romero Jul 30, 2025
384ed5d
try to fix
jorge-romero Jul 30, 2025
574d088
fix
jorge-romero Jul 30, 2025
bfb4710
fix
jorge-romero Jul 30, 2025
c38c307
fix
jorge-romero Aug 1, 2025
488781e
Fix date formatting in artifact storage paths for Aqua and Sonar stages
jorge-romero Aug 1, 2025
9629450
Fix date formatting in artifact storage paths for Aqua and Sonar stages
jorge-romero Aug 1, 2025
d30399e
Add check to skip log upload if build was not executed
jorge-romero Aug 1, 2025
ad52386
Fix date formatting in log upload path to include seconds
jorge-romero Aug 4, 2025
4eb91d4
Fix date formatting in artifact storage paths to include seconds for …
jorge-romero Aug 4, 2025
8e551a4
Fix date formatting in artifact storage paths to use underscores inst…
jorge-romero Aug 4, 2025
4c3f71e
Fix date formatting in test report and Jenkins log upload paths to us…
jorge-romero Aug 4, 2025
9fa6410
remove extra character in xunit file name
jorge-romero Aug 5, 2025
535e033
Prepare release 4.9.0 (#1226)
BraisVQ Aug 6, 2025
1ea309c
CodeNarc fixes
jorge-romero Aug 6, 2025
540944e
Add buildTime to context configuration and mock NexusService in ScanW…
jorge-romero Aug 6, 2025
4d776f7
Merge remote-tracking branch 'ods/master' into feature/upload-logs-an…
jorge-romero Aug 6, 2025
bdff7e6
Prepare release 4.9.1 (#1229)
BraisVQ Aug 11, 2025
0074883
release 4.9.2 (#1232)
BraisVQ Sep 8, 2025
e84268a
Fixed some PR comments
Sep 9, 2025
bb28833
fixed PR comments
Sep 9, 2025
60ca1d3
fixed PR comments
Sep 9, 2025
ce921c7
removed unused import, updated NexusService to fix PR comments, remov…
Sep 9, 2025
8af2659
Fixed CodeNarc errors
Sep 9, 2025
c914740
fixed PR comment related with ScanWithSonarStageSpec.groovy
Sep 9, 2025
c601d45
Revert "Fixed CodeNarc errors"
Sep 9, 2025
6faf270
Revert "removed unused import, updated NexusService to fix PR comment…
Sep 9, 2025
f17f402
Revert "fixed PR comment related with ScanWithSonarStageSpec.groovy"
Sep 9, 2025
d5f91a4
Upload component pipeline logs to nexus
Sep 9, 2025
f9e8b35
Fixed codeNarc issues
Sep 9, 2025
6d84cfa
removed unused import
Sep 10, 2025
3e5dfdc
Removed unused methods in NexusService
Sep 10, 2025
705dc79
removed unused imports
Sep 10, 2025
67d4d5a
fixed PR comment
Sep 10, 2025
f2978a8
fixed error getting workspace path
Sep 10, 2025
9d2fad8
added missed import
Sep 10, 2025
757e0c9
added fixed for check file exists with nio
Sep 10, 2025
793e9e9
trying to fix nio usage
Sep 10, 2025
bb7e862
fixed error signature not found
Sep 10, 2025
b3dbe60
removed unnecessary node block and cleaned logs in odsOrchestrationPi…
Sep 12, 2025
83255b2
Surrounded uploadTestReportToNexus with node block with master parame…
Sep 19, 2025
514b5f4
Fixed a codeNarc error
Sep 19, 2025
77d746c
Address PR comments.
Sep 23, 2025
95107b1
Address PR comments.
Sep 24, 2025
af4bd53
Release 4.9.3 (#1234)
BraisVQ Sep 30, 2025
740a18f
Prepare release 4.9.4 (#1237)
BraisVQ Oct 7, 2025
db4820b
Prepare release 4.10.0 (#1239)
BraisVQ Oct 14, 2025
53a6fa0
Now the default value for cdUserCredentialsId is .CD_USER_CREDENTIALS…
BraisVQ Oct 14, 2025
f571efe
Prepare release 4.10.2 (#1243)
BraisVQ Oct 16, 2025
bd066d6
Merge branch '4.x' of https://github.com/opendevstack/ods-jenkins-sha…
Nov 7, 2025
bd97495
Prepare release 4.11 (#1246)
BraisVQ Dec 3, 2025
b4c5f5f
Merge branch 'master' of https://github.com/opendevstack/ods-jenkins-…
Dec 4, 2025
c1f7967
Fix message for missing preview-branch.
Dec 4, 2025
8c32db2
Fix message for missing preview-branch.
Dec 4, 2025
70ab8ba
Fix message for missing preview-branch.
Dec 4, 2025
1a16e2c
Fix message for missing preview-branch.
Dec 4, 2025
e6221c1
Merge branch '4.x' of https://github.com/opendevstack/ods-jenkins-sha…
Dec 5, 2025
3ef0097
Fix pipeline to fail on error.
Dec 9, 2025
bc8622b
Merge branch '4.x' into EDPC-4046_fail_pipeline_for_missing_deploy_ve…
Dec 9, 2025
abccc46
Fix pipeline to fail on error.
Dec 9, 2025
e451a92
Run cleanup in every scenario.
Dec 10, 2025
7411a45
Update changelog.
Dec 10, 2025
09c1b41
Update changelog.
Dec 10, 2025
8c63cd8
Update changelog.
Dec 10, 2025
a3983f8
Merge branch 'EDPC-4046_fail_pipeline_for_missing_deploy_version' int…
Dec 10, 2025
9d9184f
Update error message for missing preview branch.
Dec 10, 2025
5f103b1
Add changelog entry.
Dec 11, 2025
a84caae
Merge branch 'master' of https://github.com/opendevstack/ods-jenkins-…
Dec 11, 2025
d616b22
Merge branch 'master' into EDPC-4001_preview-branch-message-fix
Dec 11, 2025
762d768
Add cause exception.
Dec 11, 2025
4e4c7ce
Add cause exception.
Dec 11, 2025
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Changed

### Fixed
* Log correct error message for wrong preview-branch value ([#1249](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1249))
* Fail the pipeline when no version specified for a deploy to Q, P ([#1248](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1248))
* Fix Tailor deployment drifts for D, Q envs ([#1055](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1055))

Expand Down
13 changes: 11 additions & 2 deletions src/org/ods/orchestration/util/MROPipelineUtil.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,17 @@ class MROPipelineUtil extends PipelineUtil {
this.logger.info("Since in WIP and no release branch exists (${this.project.gitReleaseBranch})" +
"${repo.'preview-branch' ? ' and preview-branch has been configured' : ''}, " +
"checking out branch ${repo.'preview-branch' ? repo.'preview-branch' : repo.defaultBranch} for repo ${repo.id}")
scmResult.scm = checkoutBranchInRepoDir(repo, repo.'preview-branch' ? repo.'preview-branch' : repo.defaultBranch)
scmResult.scmBranch = repo.'preview-branch' ? repo.'preview-branch' : repo.defaultBranch
try {
scmResult.scm = checkoutBranchInRepoDir(repo, repo.'preview-branch' ? repo.'preview-branch' : repo.defaultBranch)
scmResult.scmBranch = repo.'preview-branch' ? repo.'preview-branch' : repo.defaultBranch
} catch (ex) {
if (repo.'preview-branch') {
def errorMessage = "The preview branch configured for repository " +
"\"${repo.name ? repo.name : GitUtil.buildFullRepoName(project.getKey(), repo.id)} (preview-branch: ${repo.'preview-branch'})\" could not be found."
throw new RuntimeException(errorMessage)
}
throw ex
}
}
}
return scmResult
Expand Down