Update 'Jenkinsfile1'
This commit is contained in:
parent
7603e15e80
commit
03dcb3a287
17
Jenkinsfile1
17
Jenkinsfile1
@ -1,16 +1,13 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters{
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Preparation') {
|
||||
properties([
|
||||
parameters([
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR')
|
||||
])
|
||||
])
|
||||
}
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
echo 'Checking out...'
|
||||
|
Loading…
Reference in New Issue
Block a user