I want to get the Artifact name, but I dont know ?
where can I get it?or Artifact name is a variable ?
Hello @Qau Marco,
Can you be more specific about when you want the artifact names to be identifiable?
Is that during a build run? From the results? Or maybe in the configuration? Via API? SQL?
Perhaps you need to elaborate on your issue a bit more so we can get there.
Thank you,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
thank you for answer。
In my deploy task。
setup 1. (auto created)
setup 2. (auto created)
Destination path : /tmp
setup 3.
unzip /tmp/ ${name}.jar
I want to know the Artifact ${name } in setup 2 for me to unzip it .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Qau Marco
When configuring a Job's build artifact, in a Plan, you are expected to use an Ant File Copy pattern to match the desired file.
The "artifact name" will depend on the Copy Pattern you have used to create the artifact. If the Ant regex matches multiple files, they will be included as part of that artifact as individual files.
Once you add an Artifact Download task to your Deployment environment, it will download any files that match that Artifact regex and put them in your work directory. You need to verify the Copy pattern you have used on your Build and unzip the file(s) accordingly.
Best regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.