From e549b2b7fcdbe5429c783af86f02565807dbeb18 Mon Sep 17 00:00:00 2001 From: Marc Mattmueller Date: Tue, 12 Oct 2021 11:45:53 +0200 Subject: [PATCH] jenkins: removed updating the source revisions BugzID: 75209 Signed-off-by: Marc Mattmueller --- Jenkinsfile_RamdiskImages | 5 ----- Jenkinsfile_mmcImages | 5 ----- Jenkinsfile_sdk | 5 ----- 3 files changed, 15 deletions(-) diff --git a/Jenkinsfile_RamdiskImages b/Jenkinsfile_RamdiskImages index 481376e..f694c04 100644 --- a/Jenkinsfile_RamdiskImages +++ b/Jenkinsfile_RamdiskImages @@ -58,11 +58,6 @@ pipeline { // Prepare Build Environment env.YOCTO_DEPLOYS = "${env.BUILD_DEPLOY_DIR}/${params.MACHINE}" yoctocommon.handleSubmodules("${params.RLS_VERSION}") - if(!yoctocommon.isRelease("${params.RLS_VERSION}")) { - // NOTE: for the release the source revisions are handled in update2head - println "updating source revisions for nightly build..." - yoctocommon.updateSourceRevisions() - } version = yoctocommon.getVersionString("${params.RLS_VERSION}", "${params.IMAGE_TYPE}") env.BUILD_VERSION = "${version}" currentBuild.displayName = "${version}-${params.MACHINE}-${params.IMAGE_TYPE}" //replace Bitbake timestamp after building diff --git a/Jenkinsfile_mmcImages b/Jenkinsfile_mmcImages index dba1a94..a8f9348 100644 --- a/Jenkinsfile_mmcImages +++ b/Jenkinsfile_mmcImages @@ -61,11 +61,6 @@ pipeline { // Prepare Build Environment env.YOCTO_DEPLOYS = "${env.BUILD_DEPLOY_DIR}/${params.MACHINE}" yoctocommon.handleSubmodules("${params.RLS_VERSION}") - if(!yoctocommon.isRelease("${params.RLS_VERSION}")) { - // NOTE: for the release the source revisions are handled in update2head - println "updating source revisions for nightly build..." - yoctocommon.updateSourceRevisions() - } version = yoctocommon.getVersionString("${params.RLS_VERSION}", "${params.IMAGE_TYPE}") env.BUILD_VERSION = "${version}" currentBuild.displayName = "${version}-${params.MACHINE}-${params.IMAGE_TYPE}" //replace Bitbake timestamp after building diff --git a/Jenkinsfile_sdk b/Jenkinsfile_sdk index 117b303..7be5d5b 100644 --- a/Jenkinsfile_sdk +++ b/Jenkinsfile_sdk @@ -59,11 +59,6 @@ pipeline { // Prepare Build Environment env.YOCTO_DEPLOYS = "${env.SHARED_BUILD}/tmp/deploy/sdk" yoctocommon.handleSubmodules("${params.RLS_VERSION}") - if(!yoctocommon.isRelease("${params.RLS_VERSION}")) { - // NOTE: for the release the source revisions are handled in update2head - println "updating source revisions for nightly build..." - yoctocommon.updateSourceRevisions() - } cleanLastBuildArtifacts() version = yoctocommon.getVersionString("${params.RLS_VERSION}", "sdk") env.BUILD_VERSION = "${version}"