mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Add version to the .update file name
This commit is contained in:
@@ -13,7 +13,7 @@ pipeline {
|
||||
echo '*** Grabbing artifact from Build - TrueNAS SCALE (Incremental) ***'
|
||||
copyArtifacts filter: '**/*.update', fingerprintArtifacts: true, flatten: true, projectName: 'Build - TrueNAS SCALE (Incremental)', selector: lastSuccessful(), target: 'upload/files'
|
||||
copyArtifacts filter: '**/*.json', fingerprintArtifacts: true, flatten: true, projectName: 'Build - TrueNAS SCALE (Incremental)', selector: lastSuccessful(), target: 'upload/files'
|
||||
sh 'scp upload/files/manifest.json upload/files/TrueNAS-SCALE.update scale@update-master.freenas.org:/tank/www/scale/TrueNAS-SCALE-Angelfish-Nightlies/'
|
||||
sh 'scp upload/files/manifest.json upload/files/TrueNAS-SCALE-*.update scale@update-master.freenas.org:/tank/www/scale/TrueNAS-SCALE-Angelfish-Nightlies/'
|
||||
sh 'rm -rf upload/files'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ pipeline {
|
||||
}
|
||||
stage('Upload') {
|
||||
steps {
|
||||
sh 'scp ${BDIR}/tmp/release/manifest.json ${BDIR}/tmp/release/TrueNAS-SCALE.update scale@update-master.freenas.org:/tank/www/scale/TrueNAS-SCALE-Angelfish-Nightlies/'
|
||||
sh 'scp ${BDIR}/tmp/release/manifest.json ${BDIR}/tmp/release/TrueNAS-SCALE-*.update scale@update-master.freenas.org:/tank/www/scale/TrueNAS-SCALE-Angelfish-Nightlies/'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user