[JIRA] (JENKINS-59922) Publish should use p4 reconcile -t to detect filetype changes
Title: Message Title Karl Wirth commented on JENKINS-59922 Re: Publish should use p4 reconcile -t to detect filetype changes Updating to highlight this. Please discuss at next sprint planning meeting. Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202721.1571927316000.20311.1588340100165%40Atlassian.JIRA.
[JIRA] (JENKINS-59922) Publish should use p4 reconcile -t to detect filetype changes
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-59922 Publish should use p4 reconcile -t to detect filetype changes Change By: Karl Wirth Labels: P4_A P4_VERIFY Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202721.1571927316000.20310.1588340040069%40Atlassian.JIRA.
[JIRA] (JENKINS-59922) Publish should use p4 reconcile -t to detect filetype changes
Title: Message Title Karl Wirth created an issue Jenkins / JENKINS-59922 Publish should use p4 reconcile -t to detect filetype changes Issue Type: Improvement Assignee: Unassigned Components: p4-plugin Created: 2019-10-24 14:28 Environment: P4-Plugin 1.10.5 Priority: Major Reporter: Karl Wirth When a file changes from being a symlink to a text file (using the same name) P4jenkins wont detect it properly because 'p4 reconcile' is not using the '-t' flag. This causes problems later in the job: P4 Task: reconcile files to changelist. ... p4 revert -k //jenkins-Windows10-SymlinkEdgeCases_WindowsOnly-9/... +... p4 sync -k //jenkins-Windows10-SymlinkEdgeCases_WindowsOnly-9/... +... p4 reconcile -e -a -f //jenkins-Windows10-SymlinkEdgeCases_WindowsOnly-9/.___ +... p4 opened -Cjenkins-Windows10-SymlinkEdgeCases_WindowsOnly-9 //jenkins-Win___ +duration: (24ms) P4 Task: publish files to Perforce. ... p4 change -i +... p4 change -o 2047 +... pending change: 2047 ... p4 reopen -c2047 //jenkins-Windows10-SymlinkEdgeCases_WindowsOnly-9/... +... p4 change -o 2047 +... p4 opened -Cjenkins-Windows10-SymlinkEdgeCases_WindowsOnly-9 //jenkins-Win___ +... ... edit //depot/SymlinkEdgeCases/Windows/SymLinks/windows_file_symlink ... submitting files ... p4 describe -s 2047 +... p4 fixes -c2047 +... p4 submit -i + Unable to publish workspace: com.perforce.p4java.exception.P4JavaException: com.perforce.p4java.exception.P4JavaException: hudson.AbortException: P4JAVA: Error(s): Client side operation(s) failed. Command aborted. Build step 'Perforce: Publish assets' marked build as failure Finished: