Is there any way to use output file using bash to be available as input to build.xml? #26950
-
I am running the below command; steps: I want this Diff.txt file as an input for Build.xml in the same project. I have a command " <loadfile property=“textFile” srcfile="./DownloadDiff.txt" /> in build.xml to fetch the file. But unfortunately its not working. Please Help" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Whether the build step is in the same job with “checkout” and “Get Git Id and diff files”? If not in the same job, you need to use artifacts or cache to share the files between jobs or workflow runs. If the problem still exists, please share your repository with us, so that we can check more detailed configurations of the workflow and the build settings in your repository to analyze the root cause. |
Beta Was this translation helpful? Give feedback.
-
I have used the upload and download artifact approach. But it seems like taking much space. |
Beta Was this translation helpful? Give feedback.
@nitssnatha ,
Whether the build step is in the same job with “checkout” and “Get Git Id and diff files”?
If not in the same job, you need to use artifacts or cache to share the files between jobs or workflow runs.
If the problem still exists, please share your repository with us, so that we can check more detailed configurations of the workflow and the build settings in your repository to analyze the root cause.