diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index 95107af..2b4d365 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -35,10 +35,12 @@ pipeline { stage('Check'){ steps { withGithubNotify(context: "Check") { - dir("${BASE_DIR}"){ - withGoEnv(){ - sh(label: 'mage notice', script: 'mage notice') - sh(label: 'mage check', script: 'mage check') + withMageEnv(){ + dir("${BASE_DIR}"){ + withGoEnv(){ + cmd(label: 'mage notice', script: 'mage notice') + cmd(label: 'mage check', script: 'mage check') + } } } }