scroll/Jenkinsfile

29 lines
389 B
Groovy

pipeline {
agent none
stages {
stage('bun') {
agent {
docker {
image 'oven/bun:1-debian'
args '-u root --privileged'
}
}
steps {
sh 'bun test --coverage'
}
}
stage('deno') {
agent {
docker {
image 'denoland/deno:alpine'
args '-u root --privileged'
}
}
steps {
sh 'apk add just'
sh 'just deno-test'
}
}
}
}