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