-
-
Notifications
You must be signed in to change notification settings - Fork 335
Added script to clean up test lib directory #6492
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
Added script to clean up test lib directory #6492
Conversation
| node { | ||
| def repo = params.ADOPTOPENJDK_REPO | ||
| def branch = params.ADOPTOPENJDK_BRANCH | ||
| def dependencyDir = params.DEPENDENCY_DIR ? params.DEPENDENCY_DIR : 'externalDependency' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def dependencyDir = params.DEPENDENCY_DIR ?: 'externalDependency'
| } | ||
|
|
||
| def platformMap = [ | ||
| 'amac' : '(ci.role.test||ci.role.test.fips)&&hw.arch.aarch64&&(sw.os.osx||sw.os.mac)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you fix the indentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
| @@ -0,0 +1,60 @@ | |||
| node { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we use node in the original script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No lan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the node is not required, then we should not add it.
|
This is the initial check-in for the script from the job config to git repo. |
|
@Amrutha-Kanhirathingal please add |
bba0ff1 to
2d5dd41
Compare
bded437 to
d5cbc9e
Compare
| 'amac' : '(ci.role.test||ci.role.test.fips)&&hw.arch.aarch64&&(sw.os.osx||sw.os.mac)', | ||
| 'xmac' : '(ci.role.test||ci.role.test.fips)&&hw.arch.x86&&sw.os.mac', | ||
| 'xlinux' : '(ci.role.test||ci.role.test.fips)&&hw.arch.x86&&sw.os.linux', | ||
| 'plinux' : '(ci.role.test||ci.role.test.fips)&&hw.arch.ppc64le&&sw.os.linux', | ||
| 'zlinux' : '(ci.role.test||ci.role.test.fips)&&hw.arch.s390x&&sw.os.linux', | ||
| 'alinux' : '(ci.role.test||ci.role.test.fips)&&hw.arch.aarch64&&sw.os.linux', | ||
| 'win' : '(ci.role.test||ci.role.test.fips)&&hw.arch.x86&&sw.os.windows', | ||
| 'aix' : '(ci.role.test||ci.role.test.fips)&&hw.arch.ppc64&&sw.os.aix' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have indentation.
related: runtimes/automation/issues/166 Signed-off-by:Amrutha Kanhirathingal <Amrutha.Kanhirathingal@ibm.com>
d5cbc9e to
1989029
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added script to clean up test lib directory (externalDependencyDir/testDependencyDir)