jenkins you have requested strict checking ssh git server issue

Jenkins sometimes a little bit strange but it works at is.

you have addes a new ssh key and you got following error “you have requested strict checking”

Under configuration “Global Security” scroll down and choose what you need

look a the screen snipet, this config works well.

https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-masters/host-key-verification-for-ssh-agents

https://issues.jenkins.io/browse/JENKINS-43062

suse tumbleweed remove package

zypper remove package

will not work you got an error like this

In case ‘exmaple’ is not a typo it’s probably not a built-in command, but provided as a subcommand or plug-in (see ‘zypper help subcommand’).
In this case a specific package providing the subcommand needs to be installed first. Those packages are often named ‘zypper-exmaple’ or ‘zypper-exmaple’.

solution is

zypper remove -u package

Compile Apache Tomcat

how to install manually
https://www.tecmint.com/install-apache-tomcat-on-debian-10/

but we want to compile itself and build a deb package

we need java and ant

apt-get install ant

Choose your version as source code https://github.com/apache/tomcat/tags in our example we use 9.0.64

extract the folder and you can run /usr/bin/ant in the extraced tomcat folder after a frew seconds you can find your compiled tomcat under the folder /output/build

apt build-dep tomcat9

dpkg-buildpackage -rfakeroot -b -uc -us

#!/bin/bash -xe
#
# sudo gem install fpm
# sudo apt-get install curl
# # Put this script in a folder called tomcat-packaging
# ./mkdeb.sh 7.0.40
# ./mkdeb.sh 6.0.37
#
VERSION=$1
VERSION_=${VERSION//./}
MAJOR=${VERSION:0:1}
rm -rf ./usr/local/*
mkdir -p ./usr/local/share/
pushd ./usr/local/share/
curl "http://mirror.catn.com/pub/apache/tomcat/tomcat-${MAJOR}/v${VERSION}/bin/apache-tomcat-${VERSION}.tar.gz" | tar -xz
popd
cd ..
rm -f *.deb
fpm -n tomcat${VERSION_} \
-v ${VERSION}-0custom1 \
-d default-jre \
-a all \
–vendor apache \
–license 'Apache Version 2.0' \
-C tomcat-packaging/ \
-m "DSI <dsi@custom.com>" \
-t deb \
-s dir \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/web.xml \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/context.xml \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/catalina.policy \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/catalina.properties \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/tomcat-users.xml \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/logging.properties \
–config-files usr/local/share/apache-tomcat-${VERSION}/conf/server.xml \
–description "Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies." \
–url 'http://tomcat.apache.org/' \
usr
# Add these?
# –pre-install ./tomcat.preinstall \
# –post-install ./tomcat.postinstall \
view raw tomcat-mkdeb.sh hosted with ❤ by GitHub