Commit fbf91609 authored by wentao.suo's avatar wentao.suo

fff

parent 6c95f49c
import org.qg.docker.*
def call(body) {
echo body
def config = [:]
def env = body.env
......@@ -30,18 +30,14 @@ import org.qg.docker.*
node {
try {
dir (systemName) {
timestamps {
agent {
docker { image '192.168.4.36/baseimg/jenkins-slave:latest' }
}
stage('Debug') {
//_stage.debug()
echo "i'm in docker"
}
}
}
agent {
docker { image '192.168.4.36/baseimg/jenkins-slave:latest' }
}
stage('Debug') {
//_stage.debug()
echo "i'm in docker"
}
} catch (err) {
if (imageTag) {
_stage.clean_images(imageTag)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment