0

I try to find the windows equivalent of the next linux command:

Highest_Tool_Version=`svn ls --username ${CREDENTIAL_NAME} --password ${CREDENTIAL_PW} --non-interactive http://<domain>/Tool/tags | sort -V | tail -n 1`

Maybe not needed to tell, but the function is: return one, the last, tag. We use this for checking out files.

At this moment we have Jenkins running on a Linux master. But now we also have a Jenkins Windows Master, so I need this command for a windows environment.

With regards,

Nico

bahrep
  • 29,961
  • 12
  • 103
  • 150
user2363969
  • 105
  • 1
  • 10

1 Answers1

0

You are not looking for a Windows equivalent of svn ls. svn list is a Subversion client command (svn.exe) and you need to install svn.exe on your Windows machine.

What you are looking for is:

BTW, you could also use Bash on Windows, but AFAIK it does not work in non-interactive mode.

bahrep
  • 29,961
  • 12
  • 103
  • 150