#!/usr/bin/env groovy | |
pipeline_worknode = "10.235.74.121" | |
pipeline { | |
agent { | |
node { | |
label pipeline_worknode | |
} | |
} | |
options { | |
timestamps() | |
timeout(time: 1, unit: 'HOURS') | |
} | |
stages { | |
stage("prepare") { | |
steps { | |
sh 'echo prepare' | |
sh "printenv" | |
} | |
} | |
stage("check") { | |
steps { | |
sh 'echo check' | |
} | |
} | |
} | |
} |