-
Notifications
You must be signed in to change notification settings - Fork 0
ExportJob
Erwan KOFFI edited this page Oct 11, 2017
·
4 revisions
This task allows you to export jobs from Data Fabric into a zip file.
The task can be launched with the command gradle exportJob
.
The configuration job allows to export multiple jobs at the same time.
Once your saagie
object is available on your project with the server
correctly set up,
you need to fill the jobs list which will be exported.
saagie {
server {...}
jobs {[
{
id = <job_id>
idFile = <file_name>
}
]}
packaging {
exportFile = ''
currentOnly = true
}
}
The job export works with any job type.
-
id (mandatory)
- The job id on Data Fabric to export. If provided, will override idFile's id.
- type: int
- default: 0
-
idFile (mandatory)
- This property allow you to the job which id is into the provided file.
The complete path has to be provided and write rights on file and directory must be granted.
If
id
property is set it will override this value. - type: string
- default:
- This property allow you to the job which id is into the provided file.
The complete path has to be provided and write rights on file and directory must be granted.
If
-
exportFile
- The name of the archive that will be created. The file name will be
exportFile
.zip. If the target property is set, the file will be created in this folder. - type: string
- default:
- The name of the archive that will be created. The file name will be
-
currentOnly
- By default only the current used version is saved. If all versions are to be exported, set this flag to false.
- type: boolean
- default: true
saagie {
server {...}
jobs {[
{
id = 666
}
]}
packaging {
exportFile = 'my-cool-archive'
}
}
saagie {
server {...}
jobs {[
{
id = 666
},
{
idFile = './my-id-file.id'
}
]}
packaging {
exportFile = 'my-cool-archive'
}
}
- List jobs
- Create job (Examples)
- Update job (Examples)
- Export job (Examples)
- Export all jobs (Examples)
- Import job (Examples)
- Import all jobs (Examples)
- Delete Job (Examples)
- Create variable (Examples)
- Update variable (Examples)
- Export variable (Examples)
- Export all variables (Examples)
- Import variables (Examples)
- Run job (Examples)
- Stop job (Examples)