Hello, exercise 8 is marked as red, even though everything works fine. The pipeline is successful and the image is tagged.
Successful pipeline:
Pipeline:
pipeline {
agent {
label {
label 'master'
customWorkspace "${JENKINS_HOME}/${BUILD_NUMBER}/"
}
}
environment {
Go111MODULE='on'
}
stages {
stage ('Clone'){
steps {
git 'https://github.com/kodekloudhub/go-webapp-sample.git'
}
}
stage('Build Docker image') {
steps {
script {
sh 'docker build -t my-docker-image:latest .'
}
}
}
stage('Tag the mage') {
steps {
script {
sh 'docker tag my-docker-image:latest adminturneddevops/go-webapp-sample'
}
}
}
}
}
In addition, the checks take really long time and I almost ran out of time.