mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
20 lines
974 B
Plaintext
20 lines
974 B
Plaintext
pipeline {
|
|
agent {
|
|
node {
|
|
label 'SCALE-Build'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Upload') {
|
|
steps {
|
|
echo '*** Grabbing artifact from Build - TrueNAS SCALE (Full - Nightly ISO) ***'
|
|
copyArtifacts filter: '**/*.iso', fingerprintArtifacts: true, flatten: true, projectName: 'Build - TrueNAS SCALE (Full - Nightly ISO)', selector: lastSuccessful(), target: 'upload/files'
|
|
copyArtifacts filter: '**/*.sha256', fingerprintArtifacts: true, flatten: true, projectName: 'Build - TrueNAS SCALE (Full - Nightly ISO)', selector: lastSuccessful(), target: 'upload/files'
|
|
sh 'ssh jenkins@staging.sys.ixsystems.net mkdir -p /zdata/download.sys.truenas.net/truenas-scale-electriceel-nightly/ || true'
|
|
sh 'scp upload/files/TrueNAS-SCALE*.iso upload/files/TrueNAS-SCALE*.iso.sha256 jenkins@staging.sys.ixsystems.net:/zdata/download.sys.truenas.net/truenas-scale-electriceel-nightly/'
|
|
sh 'rm -rf upload/files'
|
|
}
|
|
}
|
|
}
|
|
}
|