Hi,
If I run Jenkinsfile for debian Docker container, it would work fine, it
could call inside() without error, but it could not run inside() for armhf
Docker container. Any insight what was going on for armhf docker container?
Some online comments said because armhf did not support sh, it could only
support bash, but I could not make it work even change the following
inside():
arm.inside() {
sh '''#!/bin/bash -l
echo "hello"
}'''
The Jenkings log:
...
Jenkins seems to be running inside container
.
debian_build-GKBECTLK5VFZTEERVIZTJXC7I72XPCA26MJCHUVG63SOLTV6KNUA] Running
shell script
Error response from daemon: Container
86aab2c121c676bfa21cc80a1128a6418d9c22d866378787ea4e75de3685fc84 is not running
process apparently never started in
/var/jenkins_home/workspace/debian_build-GKBECTLK5VFZTEERVIZTJXC7I72XPCA26MJCHUVG63SOLTV6KNUA@tmp/durable-aff57d54[Pipeline]
}$ docker stop --time=1
86aab2c121c676bfa21cc80a1128a6418d9c22d866378787ea4e75de3685fc84
$ docker rm -f
86aab2c121c676bfa21cc80a1128a6418d9c22d866378787ea4e75de3685fc84[Pipeline] //
withDockerContainer[Pipeline] echoFailed in build stage
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c57f500b-f3bc-4b5e-97e4-1b5d0edf6f7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.