feature/Feature-1 #4

Merged
jakub merged 39 commits from feature/Feature-1 into master 2021-10-20 15:40:59 +00:00
Showing only changes of commit caf2a04c19 - Show all commits

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'