Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract the obfuscation change logs from build #14993

Merged
merged 1 commit into from
May 10, 2022

Conversation

gregorycernera
Copy link

@gregorycernera gregorycernera commented May 3, 2022

Signed-off-by: Gregory-Cernera gregory.cernera@ibm.com

Features/changes

  • Extract any files that match the pattern ObfuscateLog*.txt to Artifactory
  • Add the file's Artifactory links to the Jenkins description for easy download.

Reason for changes

  • With the addition of the obfuscation in the build process, we need to be able to grab the change log files for future reference (i.e., customer cases).

@gregorycernera
Copy link
Author

FYI @joransiu @keithc-ca @pshipton

@DanHeidinga
Copy link
Member

As someone not aware of what this is for, it feels like a very IBM-specific change to be making to the OpenJ9 project. Is there a better way to factor this that keeps it either more broadly applicable or hosts it inside IBM?

fyi @pshipton

@pshipton
Copy link
Member

pshipton commented May 3, 2022

It's collecting obfuscation logs. Perhaps it can be made more generic, to look for all files with a certain name pattern, rather than the IBM specific files.

@gregorycernera gregorycernera changed the title Extract the Zelix change logs for IBMZSecurity and IBMJCECCA Extract the Zelix change logs from build May 5, 2022
buildenv/jenkins/common/build.groovy Outdated Show resolved Hide resolved
buildenv/jenkins/common/build.groovy Outdated Show resolved Hide resolved
@gregorycernera
Copy link
Author

Also the tests if (!zelixFiles.isEmpty()) are redundant (here and above): the for loops will just execute zero times if that list is empty.

Fixed

@keithc-ca
Copy link
Contributor

@DanHeidinga Has the generalization of this addressed your concerns?

@keithc-ca
Copy link
Contributor

@DanHeidinga Has the generalization of this addressed your concerns?

@DanHeidinga?

@DanHeidinga
Copy link
Member

Sorry @keithc-ca - I missed the original poke on this. Yes, the changes make this more general. Thanks for addressing this!

@keithc-ca
Copy link
Contributor

@gregorycernera I think the commit message and the description of this pull request should be updated to refer to "obfuscation log" rather than "Zelix logs" to match the result.

@gregorycernera gregorycernera changed the title Extract the Zelix change logs from build Extract the obfuscation change logs from build May 10, 2022
@gregorycernera
Copy link
Author

@gregorycernera I think the commit message and the description of this pull request should be updated to refer to "obfuscation log" rather than "Zelix logs" to match the result.

okay hang on, my commits got messed up. I'm fixing and rebasing now, I'll let you know when it's good to go @keithc-ca

Signed-off-by: Gregory-Cernera <gregory.cernera@ibm.com>
@gregorycernera
Copy link
Author

@keithc-ca, we're good to go 👍

@keithc-ca keithc-ca merged commit 7202b60 into eclipse-openj9:master May 10, 2022
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.

5 participants