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