Merge 'master' into 'amd-master'
Change-Id: I7d962d774862c272ef50023c8cb7db7bd9464948
[ROCm/hip commit: 616e267a07]
Этот коммит содержится в:
поставляемый
+6
-4
@@ -292,6 +292,7 @@ String hcc_integration_testing( String inside_args, String job, String build_con
|
|||||||
// Attempt to make unique docker image names for each build, to support concurrent builds
|
// Attempt to make unique docker image names for each build, to support concurrent builds
|
||||||
// Mangle docker org name with upstream build info
|
// Mangle docker org name with upstream build info
|
||||||
String testing_org_name = 'hcc-test-' + get_upstream_build_project( ).replaceAll('/','-') + '-' + get_upstream_build_num( )
|
String testing_org_name = 'hcc-test-' + get_upstream_build_project( ).replaceAll('/','-') + '-' + get_upstream_build_num( )
|
||||||
|
// String testing_org_name = 'hcc-test-artifacts-download'
|
||||||
|
|
||||||
// Tag image name with this build number
|
// Tag image name with this build number
|
||||||
String hcc_test_image_name = "hcc:${env.BUILD_NUMBER}"
|
String hcc_test_image_name = "hcc:${env.BUILD_NUMBER}"
|
||||||
@@ -303,13 +304,14 @@ String hcc_integration_testing( String inside_args, String job, String build_con
|
|||||||
deleteDir( )
|
deleteDir( )
|
||||||
|
|
||||||
// This invokes 'copy artifact plugin' to copy archived files from upstream build
|
// This invokes 'copy artifact plugin' to copy archived files from upstream build
|
||||||
step([$class: 'CopyArtifact', filter: 'archive/**/*.deb, docker/dockerfile-*',
|
step([$class: 'CopyArtifact', filter: 'build/**/*.deb, docker/dockerfile-hcc-lc-*',
|
||||||
fingerprintArtifacts: true, projectName: get_upstream_build_project( ), flatten: true,
|
fingerprintArtifacts: true, projectName: get_upstream_build_project( ), flatten: true,
|
||||||
selector: [$class: 'TriggeredBuildSelector', allowUpstreamDependencies: false, fallbackToLastSuccessful: false, upstreamFilterStrategy: 'UseGlobalSetting'],
|
selector: [$class: 'TriggeredBuildSelector', allowUpstreamDependencies: false, fallbackToLastSuccessful: false, upstreamFilterStrategy: 'UseGlobalSetting'],
|
||||||
target: '.' ])
|
target: '.' ])
|
||||||
// // The following 'copy artifact' is supposed to copy direct from workspace, but it doesn't seem to work across machines
|
// step([$class: 'CopyArtifact', filter: 'build/**/*.deb, docker/dockerfile-hcc-lc-*',
|
||||||
// step( [$class: 'CopyArtifact', filter: '**', fingerprintArtifacts: true, flatten: true,
|
// fingerprintArtifacts: true, projectName: 'kknox/hcc/test-artifact-download', flatten: true,
|
||||||
// projectName: "${params.upstream_hcc}", selector: [$class: 'WorkspaceSelector'], target: 'integration-testing'] )
|
// selector: [$class: 'LastCompletedBuildSelector'],
|
||||||
|
// target: '.' ])
|
||||||
|
|
||||||
docker.build( "${testing_org_name}/${hcc_test_image_name}", "-f dockerfile-hcc-lc-ubuntu-16.04 ." )
|
docker.build( "${testing_org_name}/${hcc_test_image_name}", "-f dockerfile-hcc-lc-ubuntu-16.04 ." )
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user