2023-11-22 11:37:31 -05:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
stage('bun') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'oven/bun:1-debian'
|
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2023-11-22 11:54:29 -05:00
|
|
|
sh 'bun test --coverage'
|
2023-11-22 11:37:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('deno') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2024-06-26 15:46:08 -04:00
|
|
|
image 'rust:alpine'
|
2023-11-22 11:37:31 -05:00
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2023-11-22 12:00:24 -05:00
|
|
|
sh 'apk add just'
|
2024-06-26 15:46:08 -04:00
|
|
|
sh 'apk add deno'
|
2023-11-22 11:37:31 -05:00
|
|
|
sh 'just deno-test'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|