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