dockerfile test.
Some checks failed
internetmastercz/test/pipeline/head There was a failure building this commit

This commit is contained in:
2021-10-20 00:17:38 +02:00
parent 8edd9c214a
commit 93efe034d5
2 changed files with 1 additions and 13 deletions

View File

@@ -1,3 +1 @@
FROM node:14-alpine FROM node:14-alpine
RUN apk add -U subversion

12
Jenkinsfile vendored
View File

@@ -1,17 +1,7 @@
pipeline { pipeline {
agent { agent { dockerfile true }
label 'docker'
}
stages { stages {
stage('Init') { stage('Init') {
agent {
docker {
// Set both label and image
label 'docker'
image 'node:lts-alpine3.14'
args '--name docker-node' // list any args
}
}
steps { steps {
sh 'node --version' sh 'node --version'
} }