diff --git a/Jenkinsfile b/Jenkinsfile index dac8052b..c46f875c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { sh 'mkdir -p output' sh 'mv ../*.deb ../*.build ../*.buildinfo ../*.changes output' - stash includes: 'output/*.deb', name: 'packages' + stash includes: 'output/*.deb', name: 'debPackage' } } stage('Reprepro') { @@ -57,7 +57,10 @@ pipeline { remote.identityFile = '/home/jenkins/.ssh/id_ed25519' remote.allowAnyHosts = true } + + unstash 'debPackage' sh 'ls output' + sshPut([ remote: remote, from: "$debFile",