Changeset 14074


Ignore:
Timestamp:
Nov 15, 2019 10:25:53 AM (4 weeks ago)
Author:
aramle
Message:

#5877 Correcting typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BaseDockerImages/branches/dev-2379/Jenkinsfile

    r14073 r14074  
    2121
    2222def buildBaseImage(image_name, repo_name, platform, platform_version, gcc_install_type, python_version="2") {
    23     return docker.build("${repo_name}/$image_name", "--no-cache --pull --build-arg DOCKER_LINUX_DIST=$platform --build-arg DOCKER_DIST_TAG=$platform_version --build-arg GCC_INSTALL_TYPE=$gcc_install_type --build-arg ENABLE_PYTHON="yes" --build-arg PYTHON_VERSION=$python_version.")
     23    return docker.build("${repo_name}/$image_name", "--no-cache --pull --build-arg DOCKER_LINUX_DIST=$platform --build-arg DOCKER_DIST_TAG=$platform_version --build-arg GCC_INSTALL_TYPE=$gcc_install_type --build-arg ENABLE_PYTHON=\"yes\" --build-arg PYTHON_VERSION=$python_version .")
    2424}
    2525
     
    7272    }
    7373   
    74     imageName = "ubuntu_base"
     74    imageName = "ubuntu_py3_base"
    7575    platformVersion = "18.04"
    7676    pushTag = "18.04"
     77    python_version="3"
    7778   
    7879    stage ("Building ${imageName} ${platformVersion}") {
    79         //checkout scm
    80         //def dockerImageRef = buildBaseImage("${imageName}", "${repoName}", "ubuntu", "${platformVersion}", "UBUNTU_DEFAULT")
    81         //pushImage(dockerImageRef, "${repoName}", "${imageName}", "${pushTag}")
     80        checkout scm
     81        def dockerImageRef = buildBaseImage("${imageName}", "${repoName}", "ubuntu", "${platformVersion}", "UBUNTU_DEFAULT")
     82        pushImage(dockerImageRef, "${repoName}", "${imageName}", "${pushTag}")K
    8283    }
    8384   
Note: See TracChangeset for help on using the changeset viewer.