You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hey guys,
I have this problem. We have several projects, which have a script, which starts the build process of the project. This script is called build.sh (builds are made on Linux). Some of these build scripts need some parameter.
As I do not want always write ./build.sh Paramter1 Parameter2, I wrote a managed script, which does it for me, so I only have to add the parameters. So the managed linux script start the build script.
2) Trying to catch SIGTERM signal in the build.sh script. That also did not work.
3) Both, trying to catch SIGTERM in managed script and in build.sh script.
4) Trying to read the log of the job, with the help of Jenkins TextFinder plugin. I searched in the log for something like this 'java.lang.InterruptedException', and as far as I could see, the plugin found this text, but didn't change the state of the job to unstable or success.
5) Do you have some other ideas which might help me to solve this problem?