#584 Jenkinsfile: install mock-core-configs
Merged 3 years ago by lholecek. Opened 3 years ago by qwan.

file modified
+1 -1
@@ -62,7 +62,7 @@ 

      sh """

      ${installDepsCmd}

      sudo dnf -y install python3-flake8 python3-pylint python3-sphinx \

-         python3-sphinxcontrib-httpdomain python3-pytest-cov

+         python3-sphinxcontrib-httpdomain python3-pytest-cov mock-core-configs

      """

      /* Needed to get the latest /etc/mock/fedora-28-x86_64.cfg */

      sh 'sudo dnf -y update mock-core-configs'

In cases of mock-core-configs is not installed by default on system,
'dnf -y update mock-core-configs' results in error and Jenkins job
fails, so we install mock-core-configs first, if it has been installed
already, it doesn't matter (and 'dnf update' can update it).

Pull-Request has been merged by lholecek

3 years ago
Metadata