Commit 368d68f3 authored by wentao.suo's avatar wentao.suo

fff

parent e936c96b
import org.qg.docker.*
pipeline { def call(body) {
checkout scm
agent {
docker { image '192.168.4.36/baseimg/jenkins-slave:latest' }
}
stage('Debug') {
//_stage.debug()
echo "i'm in docker"
}
}
/*import org.qg.docker.**/
/*def call(body) {
def config = [:] def config = [:]
...@@ -45,9 +30,6 @@ pipeline { ...@@ -45,9 +30,6 @@ pipeline {
node { node {
try { try {
agent {
docker { image '192.168.4.36/baseimg/jenkins-slave:latest' }
}
stage('Debug') { stage('Debug') {
//_stage.debug() //_stage.debug()
...@@ -61,4 +43,4 @@ pipeline { ...@@ -61,4 +43,4 @@ pipeline {
throw err throw err
} }
} }
}*/ }
\ No newline at end of file \ 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