Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to publish nexus job using metaservlet api. i read the documentation and fill the paramater like this:
{
"actionName": "associatePreGeneratedJob",
"active": true,
"artifactoryArtifactId": "test",
"artifactoryGroupId": "org.example",
"artifactoryJobVersionSuffix": "0.2.0-20170516.043751-1",
"artifactoryRepository": "release",
"artifactoryVersion": "0.2.0-SNAPSHOT",
"authPass": "xxxxxxxxxxxxxxxxxxxxxx",
"authUser": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"contextName": "Default",
"description": "task1's description",
"executionServerName": "serv1",
"filePath": "'/home/talend/generatedJob.zip'",
"importType": "Nexus",
"logLevel": "Info",
"nexusArtifactId": "test",
"nexusGroupId": "org.example",
"nexusJobVersionSuffix": "1.0.0-20170516.043751-1",
"nexusRepository": "snapshots",
"nexusVersion": "0.1.0-SNAPSHOT",
"onUnknownStateJob": "WAIT",
"pauseOnError": false,
"runAsUser": "OS_User",
"taskName": "task1",
"taskType": "Artifact",
"timeout": 3600
}
but response from server like this:
{
"error": "No value present",
"returnCode": 1
}
fyi, i published job to nexus repository. how to deploy it into TAC?what's wrong with method using metaservlet API?
Hello,
See the metaserverlt API command in the below document for deploying job in TAC.
https://help.talend.com/r/en-US/8.0/administration-center-metaservlet-api/metaservlet-commands
https://help.talend.com/r/en-US/8.0/administration-center-user-guide/parameters-and-actions-in-metaservlet
Thanks
Hello,
See the metaserverlt API command in the below document for deploying job in TAC.
https://help.talend.com/r/en-US/8.0/administration-center-metaservlet-api/metaservlet-commands
https://help.talend.com/r/en-US/8.0/administration-center-user-guide/parameters-and-actions-in-metaservlet
Thanks