Tweak Jenkins setup

This commit is contained in:
Timothy Warren 2023-11-22 12:00:24 -05:00
parent 74e595462d
commit 1198311628

7
Jenkinsfile vendored
View File

@ -15,15 +15,12 @@ pipeline {
stage('deno') {
agent {
docker {
image 'denoland/deno'
image 'denoland/deno:alpine'
args '-u root --privileged'
}
}
steps {
sh 'wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null'
sh 'echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list'
sh 'apt update'
sh 'apt install -y just'
sh 'apk add just'
sh 'just deno-test'
}
}