Is there anyway I can setup a taskless job within my stage? Basically I am having this job pull the repository and then creating an artifact off of the entire directory, the that artifact is then shared to the next stage. But it fails with a "No tasks to execute in job" Error. Is there a way I can specify an empty task? Or no task at all?
The simplest way is to create a script task. In the configuration, mark the task as Inline. I think you'll need a script body, use something like:
echo Task completed
And you should be all set.
perfect! that works flawlessly. Thanks again for your Help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no problem ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.