diff --git a/Jenkinsfile b/Jenkinsfile index 597d8221f878d7050c109e4924c69f680c63ff31..f0a1efd336ab241066546064d51eb5d8021fbac2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,10 +32,7 @@ sysroot_url_prefix = "https://images.apertis.org/" + (production ? "" : "test/${ // SSH complains loudly if the current user is not in the user database, so fake that def withSshAgent(credentials, command) { sshagent(credentials: [ credentials, ] ) { - env.NSS_WRAPPER_PASSWD = "/tmp/passwd" - env.NSS_WRAPPER_GROUP = '/dev/null' - sh(script: 'echo docker:x:$(id -u):$(id -g):docker gecos:/tmp:/bin/false > ${NSS_WRAPPER_PASSWD}') - sh(script: "export LD_PRELOAD=libnss_wrapper.so; ${command}") + sh(script: "${command}") } }