I have 3 steps in my pipeline but the work is same to install git& make command . but I dont wana install gir and make in all steps I want to use that command in 2nd & 3rd step . How Can I achieve that?
Hey @Shrey
Each step in the pipeline is using a new container, even if the same image, so you can't install in step #1 and expect the dependency to exist in step #2.
To solve this issue, you can:
Based on past experience, #2 is usually the simplest and fastest solution to such issues.
Hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.