Try and work out where milestone and input live.

This commit is contained in:
Endolf 2018-05-25 20:06:03 +01:00
parent 544e00cd5c
commit 8ba4395c2d

8
Jenkinsfile vendored
View file

@ -87,6 +87,7 @@ pipeline {
}
when { branch 'master' }
steps {
milestone
unstash 'windows-natives'
unstash 'osx-natives'
unstash 'linux-natives'
@ -102,9 +103,8 @@ pipeline {
}
}
}
stage('Release') {
}
timeout(time:5, unit:'DAYS') {
milestone()
input {
message: "Do you wish to release?"
ok: "Release"
@ -113,12 +113,14 @@ pipeline {
message: "Are you sure, this cannot be undone?"
ok: "Release"
}
milestone()
}
stages{
stage('Release') {
agent {
label "linux"
}
steps {
milestone
unstash 'windows-natives'
unstash 'osx-natives'
unstash 'linux-natives'