Skip to content

Cherry-pick 3.4 performCleanup in release.JenkinsFile to clean the .npmrc file from the correct folder#3048

Open
IvkoniB wants to merge 1 commit into
3.4from
Cherry-pick-3.4-cherry-pick-Change-performCleanup-to-delete-from-e2e-tests-folder
Open

Cherry-pick 3.4 performCleanup in release.JenkinsFile to clean the .npmrc file from the correct folder#3048
IvkoniB wants to merge 1 commit into
3.4from
Cherry-pick-3.4-cherry-pick-Change-performCleanup-to-delete-from-e2e-tests-folder

Conversation

@IvkoniB

@IvkoniB IvkoniB commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

Updated performCleanup step in release.JenkinsFile to remove the .npmrc file from the correct directory. The cleanup path was corrected from cypress-test to e2e-tests.

Why

.npmrc credentials file was not being removed as part of the final release step because it was pointing to the wrong folder. This left sensitive credentials behind after pipeline execution and made the cleanup step ineffective.

How

Adjusted cleanup logic in release.JenkinsFile so that performCleanup targets the e2e-tests directory instead of cypress-test, ensuring the .npmrc file is properly removed during the final stage of the pipeline.

Testing

Have not tested due to unnecessary potential version collision with artifacts and metadata

Screenshots

N/A

Checklist

  • Branch name
  • Target branch
  • Commit messages
  • Squash commits
  • MR name
  • MR Description
  • Tests
  • Browser support verified

(cherry picked from commit bcf56cf)

…he correct folder (#3043)

## What

Updated `performCleanup` step in `release.JenkinsFile` to remove the
`.npmrc` file from the correct directory. The cleanup path was corrected
from `cypress-test` to `e2e-tests`.

## Why

`.npmrc` credentials file was not being removed as part of the final
release step because it was pointing to the wrong folder. This left
sensitive credentials behind after pipeline execution and made the
cleanup step ineffective.

## How

Adjusted cleanup logic in `release.JenkinsFile` so that `performCleanup`
targets the `e2e-tests` directory instead of `cypress-test`, ensuring
the `.npmrc` file is properly removed during the final stage of the
pipeline.

## Testing

Have not tested due to unnecessary potential version collision with
artifacts and metadata

## Screenshots
N/A

## Checklist
- [x] Branch name
- [x] Target branch
- [x] Commit messages
- [x] Squash commits
- [x] MR name
- [x] MR Description
- [ ] Tests
- [ ] Browser support verified

(cherry picked from commit bcf56cf)
@IvkoniB IvkoniB self-assigned this Jul 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

@IvkoniB IvkoniB changed the title performCleanup in release.JenkinsFile to clean the .npmrc file from the correct folder Cherry-pick 3.4 performCleanup in release.JenkinsFile to clean the .npmrc file from the correct folder Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants