Merge branch 'develop'.
Some checks failed
RealYHD/audioshowkit/pipeline/head There was a failure building this commit
ydeng/audioshowkit/pipeline/head There was a failure building this commit

This commit is contained in:
2022-11-30 03:56:06 +00:00
4 changed files with 20 additions and 14478 deletions

15
Jenkinsfile vendored
View File

@@ -1,19 +1,12 @@
pipeline {
agent any
environment {
PATH = "/home/jenkins/.local/share/fnm:${PATH}"
}
stages {
stage("install") {
steps {
sh 'curl -fsSL https://fnm.vercel.app/install | bash'
sh 'fnm install'
sh '''
echo 'eval "$(fnm env --use-on-cd)"' >> ~/.bashrc
source ~/.bashrc
fnm use
npm install
'''
sh 'mamba env update --file environment.yml'
sh 'echo "mamba activate webdev" >> ~/.bashrc'
sh 'node --version && npm --version'
sh 'npm install'
}
}
stage("test") {