> Am 03.06.2022 um 00:34 schrieb Simon Matthews <[email protected]>:
>
> I have now got this to build and run in Jenkins (I installed the latest
> version of Docker and the docker-compose-plugin so that I could use the
> scripts without modification),
Good to see. I need to spend some time to investigate why docker compose does
not work in the same way as docker-compose.
> however, when I modify the analysis-model (to add a parser) and run
> ./bin/go.sh in the analysis-model directory, the script seems to be missing a
> step.
>
> The script has:
> ...
> echo Copying module analysis-model version ${version} to
> analysis-model-api-plugin Jenkins plugin
>
> cd ../analysis-model-api-plugin || { echo "Wrong directory"; exit 1; }
>
> exec ./go.sh $version
> ...
>
> Looking at the first and second second go.sh, neither appear to actually copy
> any files from the file "analysis-model-api.jar" (or any
> "analysis-model-*SNAPSHOT.jar" file) to the JENKINS_HOME directory.
>
The first go.sh calls mvn install that installs the jar in your local maven
repository.
The second go.sh packages the jar from the local maven repository as Jenkins
JPI file and deploys it to JENKINS_HOME using the deploy.sh command
> Note that the documentation refers to running "go.sh" in the analysis-model
> directory, but the only "go.sh" file in this directory is actually
> "./bin/go.sh".
Thanks for spotting. I forgot to update the documentation after reorganizing
the scripts. Should be fixed now by
https://github.com/uhafner/warnings-ng-plugin-devenv/commit/e6040034dfb7cffa1e761b12c0e007264380db8b
>
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/5fbb2fb1-f9de-4b83-b8e9-84650fcd5ca0n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/jenkinsci-dev/5fbb2fb1-f9de-4b83-b8e9-84650fcd5ca0n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/AFC836AB-FE55-42CD-A0B2-B75F6A3413BB%40gmail.com.