Hi P.O.,
Would it be possible to see the downloaddocs.bat script? Perhaps there
is something in the environment that is different while running the
script as opposed to running the command directly. Unfortunately I can
not try to duplicate this problem as I don't have wget installed but if
I were you I would 1) try to download from a different url and then 2)
update the wget executable to see if either helps to isolate/fix the
problem. HTH.
Gil
On 1/17/2025 3:37 PM, ooRexx wrote:
In order to be able to switch programmatically between build versions
(at the time of a release) I have written a script that can parse the
xml configuration files for Jenkins on the controller and change them.
I am now at the stage where this works for all Linux, Unix and macOS
platforms. Also the upload scripts and the documentation build can be
switched programmatically (with some limitations, for later).
Switching on Windows does not work yet because the documentation is
built with a script, with the path to the documentation hard coded. I
have changed this manually from 4.X to 5.0 to 5.1beta but it is not
ideal to have to do these things on the various Win platforms (10 in
total) so I wanted to move the download of the documentation from the
script to the command line of Jenkins, as for all other platforms. In
doing so I have failed to move the WGET download commands for the
documentation from the downloaddocs.bat script to the command line on
Jenkins. This is an example of what I get (I added the —verbose to see
what is going on):
jenkins@PO-XPC-FH97
C:\Users\jenkins\workspace\ooRexx-windows64-build\oorexxDocs>wget
--no-check-certificate --verbose --timestamping --no-if-modified-since
https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.1.0/rexxref.pdf
--2025-01-17 18:13:30--
https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.1.0/rexxref.pdf
Resolving sourceforge.net (sourceforge.net)... 104.18.13.149,
104.18.12.149
Connecting to sourceforge.net (sourceforge.net)|104.18.13.149|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2025-01-17 18:13:30 ERROR 404: Not Found.
When I copy the url and paste it into a browser it works and the
download starts, only from Jenkins this seems not to work. I am
bewildered. From what I see the command is exactly the same when
running from the bat file.
Another option would be to add the built version (5.1.0beta, 5.1.0
etc) to the command line of the existing script. I am not comfortable
to do this so maybe if Erich could give me a hand I would be grateful.
There are still some things to solve but with the switching
possibility the work will be considerable less painful.
I will restore the 5.1.0beta now, in a couple of hours everything
should be back to normal
Hälsningar/Regards/Grüsse,
ooRexx
oor...@jonases.se
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
--
Gil Barmwater
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel