Fixed fileRename syntax
This commit is contained in:
Родитель
9e17bf6fa8
Коммит
2b7db2c108
|
@ -27,14 +27,12 @@ pipeline {
|
||||||
s3Upload(file:'libchromiumcontent.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/osx/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent.tar.bz2", acl:'PublicRead')
|
s3Upload(file:'libchromiumcontent.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/osx/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent.tar.bz2", acl:'PublicRead')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fileOperations {
|
fileOperations([fileRenameOperation(destination: 'libchromiumcontent-osx.tar.bz2', source: 'libchromiumcontent.tar.bz2')])
|
||||||
fileRenameOperation('libchromiumcontent.tar.bz2', 'libchromiumcontent-osx.tar.bz2')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archive 'libchromiumcontent.*'
|
archive 'libchromiumcontent-osx.tar.bz2'
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,14 +61,12 @@ pipeline {
|
||||||
s3Upload(file:'libchromiumcontent-static.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/osx/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent-static.tar.bz2", acl:'PublicRead')
|
s3Upload(file:'libchromiumcontent-static.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/osx/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent-static.tar.bz2", acl:'PublicRead')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fileOperations {
|
fileOperations([fileRenameOperation(destination: 'libchromiumcontent-static-osx.tar.bz2', source: 'libchromiumcontent-static.tar.bz2')])
|
||||||
fileRenameOperation('libchromiumcontent-static.tar.bz2', 'libchromiumcontent-osx-static.tar.bz2')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archive 'libchromiumcontent-static.*'
|
archive 'libchromiumcontent-static-osx.tar.bz2'
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -100,14 +96,12 @@ pipeline {
|
||||||
s3Upload(file:'libchromiumcontent.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/mas/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent.tar.bz2", acl:'PublicRead')
|
s3Upload(file:'libchromiumcontent.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/mas/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent.tar.bz2", acl:'PublicRead')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fileOperations {
|
fileOperations([fileRenameOperation(destination: 'libchromiumcontent-mas.tar.bz2', source: 'libchromiumcontent.tar.bz2')])
|
||||||
fileRenameOperation('libchromiumcontent.tar.bz2', 'libchromiumcontent-mas.tar.bz2')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archive 'libchromiumcontent.*'
|
archive 'libchromiumcontent-mas.tar.bz2'
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -137,14 +131,12 @@ pipeline {
|
||||||
s3Upload(file:'libchromiumcontent-static.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/mas/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent-static.tar.bz2", acl:'PublicRead')
|
s3Upload(file:'libchromiumcontent-static.tar.bz2', bucket:"${LIBCC_BUCKET}", path:"libchromiumcontent/mas/${env.TARGET_ARCH}/${GIT_COMMIT}/libchromiumcontent-static.tar.bz2", acl:'PublicRead')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fileOperations {
|
fileOperations([fileRenameOperation(destination: 'libchromiumcontent-mas-static.tar.bz2', source: 'libchromiumcontent-static.tar.bz2')])
|
||||||
fileRenameOperation('libchromiumcontent-static.tar.bz2', 'libchromiumcontent-mas-static.tar.bz2')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archive 'libchromiumcontent-static.*'
|
archive 'libchromiumcontent-mas-static.tar.bz2'
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче