diff --git a/ci/Jenkinsfile.macos b/ci/Jenkinsfile.macos index bfe80d4367..a088c8ef98 100644 --- a/ci/Jenkinsfile.macos +++ b/ci/Jenkinsfile.macos @@ -67,7 +67,8 @@ pipeline { MAKEFLAGS = "-j4 V=${params.VERBOSE}" /* WARNING: Qt 5.15.8 installed via Brew. */ QTDIR = '/opt/homebrew/opt/qt@5' - PATH = "${env.QTDIR}/bin:${env.PATH}" + /* Enforce Go version installed infra-role-golang. */ + PATH = "${env.QTDIR}/bin:/usr/local/go/bin:${env.PATH}" /* Avoid weird bugs caused by stale cache. */ QML_DISABLE_DISK_CACHE = "true" /* Control output the filename */