Commit 03f1e6cc authored by wentao.suo's avatar wentao.suo

fff

parent c09ec6c8
......@@ -27,20 +27,34 @@ import org.qg.docker.*
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config
body()*/
pipeline {
agent {
docker { image '192.168.4.36/baseimg/jenkins-slave' }
}
stages {
stage('Test') {
sh 'java -version'
}
}
}
node {
/*node {
try {
stage('Debug') {
//_stage.debug()
//_stage.debug()
echo "i'm in docker"
}
} catch (err) {
/*if (imageTag) {
if (imageTag) {
_stage.clean_images(imageTag)
}
curr*/entBuild.result = 'FAILED'
currentBuild.result = 'FAILED'
throw err
}
}
}*/
}
\ No newline at end of file
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