rebuilt script structure#2
rebuilt script structure#2
This commit is contained in:
parent
b2f83de4f6
commit
54ffeb1172
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -83,14 +83,6 @@ def printDebug(msg)
|
|||||||
|
|
||||||
printDebug(currentBuild.id.toString())
|
printDebug(currentBuild.id.toString())
|
||||||
printDebug(JOB_NAME)
|
printDebug(JOB_NAME)
|
||||||
if(verbose)
|
|
||||||
{
|
|
||||||
verbose_str = ' V=sc'
|
|
||||||
}
|
|
||||||
if(single_core)
|
|
||||||
{
|
|
||||||
core_count_str = '1'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
node('test')
|
node('test')
|
||||||
@ -114,6 +106,7 @@ node('test')
|
|||||||
post_build()
|
post_build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def checkout()
|
def checkout()
|
||||||
@ -195,4 +188,10 @@ node('test')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def notify()
|
||||||
|
{
|
||||||
|
def body_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}:<br>Check console output at ${BUILD_URL} to view the results."
|
||||||
|
def subject_text = "${JOB_NAME} - Build # ${BUILD_NUMBER} - ${currentBuild.currentResult}!"
|
||||||
|
|
||||||
|
emailext body: body_text, subject: subject_text, to: 'psychowoife@gmail.com'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user