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

This commit is contained in:
2021-10-20 00:30:21 +02:00
parent 95aa8eed7d
commit caf2a04c19

11
Jenkinsfile vendored
View File

@@ -1,10 +1,5 @@
pipeline { pipeline {
agent { agent { dockerfile true }
docker {
label 'docker'
image 'node:lts-alpine3.14'
}
}
stages { stages {
stage('Init') { stage('Init') {
steps { steps {
@@ -13,6 +8,10 @@ pipeline {
} }
stage('Build') { stage('Build') {
steps { steps {
script {
def dockerHome = tool 'docker'
env.PATH = "${dockerHome}/bin:${env.PATH}"
}
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}" echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
echo 'Building..' echo 'Building..'
sh 'docker info' sh 'docker info'