Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 201 Bytes
pipeline {
agent any
environment {
REPO_NAME = "${env.JOB_NAME.split('/')[1]}"
}
stages {
stage('Build') {
steps {
sh 'docker build -t $REPO_NAME .'
}
}
}
}
You can’t perform that action at this time.