-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change path to fix windows log #5692
change path to fix windows log #5692
Conversation
Signed-off-by: anandrkskd <[email protected]>
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Is it #5681 that this PR will fix? |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dharmit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I guess it worked for me 😸 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm sending these comments a little late
@@ -20,7 +20,7 @@ echo "RESULT: $RESULT" | |||
# save log | |||
source .ibm/pipelines/functions.sh | |||
ibmcloud login --apikey "${API_KEY}" -r "${IBM_REGION}" | |||
sshpass -p $WINDOWS_PASSWORD scp -o StrictHostKeyChecking=no Administrator@$WINDOWS_IP:/tmp/${LOGFILE} /tmp/${LOGFILE} | |||
sshpass -p $WINDOWS_PASSWORD scp -o StrictHostKeyChecking=no Administrator@$WINDOWS_IP:~/AppData/Local/Temp/${LOGFILE} /tmp/${LOGFILE} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use the TEMP
environment variable value instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I can see the use of /tmp in other places in the script, can you update them also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, this script is running on the Linux side, right?
Signed-off-by: anandrkskd <[email protected]>
Signed-off-by: anandrkskd [email protected]
What type of PR is this:
/kind tests
What does this PR do / why we need it:
This PR will fix the broken link to the logs for the windows CI tests.
Which issue(s) this PR fixes:
Fixes #5680
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: