Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Could you please indicate on which talend build version you got this issue?
We have a known jira issue about creating Artifact Task with Metaservlet API.
Best regards
Sabrina
Also per the documentation you are missing the parameter nexusJobVersionSuffix .
"nexusJobVersionSuffix": "1.0.0-20170516.043751-1",
Hi,
I have the same issue. Is this issue resolved?
This should work and I made it work without the suffix like previously stated with this command format, you will have to update the json string to include your parameters:
{"authUser":"user@company.com","authPass":"********","targetConductor":"JOBCONDUCTOR","taskName":"taskname","description":"description","active":true,"nexusRepository":"nexusRepo","nexusGroupId":"org.talend.job.test","nexusArtifactId":"testjob","nexusVersion":"3.0.241-446","onUnknownStateJob":"WAIT","contextName":"Default","logLevel":"Error","execStatisticsEnabled":"true","pauseOnError":"false","timeout":"0","executionServerName":"serv1","runAsUser":"svc.talend","actionName":"associatePreGeneratedJob","importType":"Nexus"}