From 8eb165b9a87f5321b0429f6dd4a4176a12e837f3 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Wed, 30 Nov 2022 02:18:47 +0000 Subject: [PATCH] Updated Jenkinsfile. Replaced Conda with Mamba. --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fe49b73..5f8d6da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,26 +3,26 @@ pipeline { stages { stage("install") { steps { - sh 'conda env create -f environment.yml' - sh 'conda activate webdev && npm install' + sh 'mamba env create -f environment.yml' + sh 'mamba activate webdev && npm install' } } stage("test") { steps { - sh 'conda activate webdev && npm run test:junit' + sh 'mamba activate webdev && npm run test:junit' junit 'junit/*.xml' } } stage("build") { steps { - sh 'conda activate webdev && npm run build:prod' + sh 'mamba activate webdev && npm run build:prod' fingerprint "dist/**" archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false } } stage("generate docs") { steps { - sh 'conda activate webdev && npm run docs' + sh 'mamba activate webdev && npm run docs' publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: '']) } }