generated from gCubeCI/Pipeline-Docker-Template
removed unused vars, add new stage
This commit is contained in:
parent
72347be1a7
commit
d5aff9fe1d
|
@ -20,7 +20,7 @@ pipeline {
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('clone and exec') {
|
stage('Deploy from system') {
|
||||||
when{
|
when{
|
||||||
allOf{
|
allOf{
|
||||||
triggeredBy 'TimeTrigger'
|
triggeredBy 'TimeTrigger'
|
||||||
|
@ -31,7 +31,7 @@ pipeline {
|
||||||
echo 'Deploy from system properly triggered'
|
echo 'Deploy from system properly triggered'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Planning new deploy') {
|
stage('Add new pending deploy ') {
|
||||||
when{
|
when{
|
||||||
environment name: 'IS_CRON', value: 'True'
|
environment name: 'IS_CRON', value: 'True'
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,14 @@ pipeline {
|
||||||
echo 'New deploy of ${job} appended to the deploy file'
|
echo 'New deploy of ${job} appended to the deploy file'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Deploy from job ') {
|
||||||
|
when{
|
||||||
|
environment name: 'IS_CRON', value: 'False'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
echo 'New deploy of ${job} appended to the deploy file'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
@ -46,8 +54,8 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
sh '''
|
sh '''
|
||||||
echo ' jobs currently appended:'
|
echo ' jobs currently appended:'
|
||||||
cat ./${ACTION_DEPLOY_FILE}.csv
|
|
||||||
'''
|
'''
|
||||||
|
//cat ./${ACTION_DEPLOY_FILE}.csv
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
|
|
Loading…
Reference in New Issue