Commit 1ea75355 authored by yuxunhui's avatar yuxunhui

no message

parent 71ce3705
......@@ -5,23 +5,23 @@ pipeline {
agent any
environment{
hello= 'hello'
environment {
hello = 'hello'
world="""${sh(returnStatus:true,
script:'"world"')}
"""
world = """${sh(returnStatus: true,
script: '"world"')}
"""
}
stages {
stage('echo'){
steps{
script{
def singlyQuoted='hello'
def doublyQuoted="world"
echo 'hello mr. ${singlyQuoted}'
stage('echo') {
steps {
script {
def singlyQuoted = 'hello'
def doublyQuoted = "world"
echo "hello mr. ${singlyQuoted}"
echo "i said hello mr. ${doublyQuoted}"
}
echo "${hello}"
......@@ -30,10 +30,10 @@ pipeline {
}
}
stage('read environment'){
steps{
stage('read environment') {
steps {
echo "${env.BUILD_ID}"
echo '---------------------------'
echo "---------------------------"
// echo ${env.BUILD_ID}
}
}
......@@ -59,7 +59,7 @@ pipeline {
stage('deploy') {
steps {
echo 'deploy...'
echo "${version}_${env.BUILD_ID}deploy..."
}
}
......
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