Skip to content

Commit 1564a0f

Browse files
committed
Again.
1 parent 50f758a commit 1564a0f

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Jenkinsfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ pipeline {
6868
sh '.jenkins/scripts/setup_agent.sh'
6969
echo "Create a shared Python 3.12 env & build+install DRAGONS"
7070
sh '''
71-
echo "[$PATH]"
72-
which tox
73-
which flock
74-
{ flock --exclusive --timeout 900 /tmp/jenkins_conda.lock -c "echo success"; } 2>&1
75-
echo "got here"
71+
LOCK_FILE="/tmp/jenkins_conda.lock"
72+
echo "before"
73+
(
74+
echo "subshell"
75+
)>"$LOCK_FILE"
76+
echo "after"
7677
'''
7778
}
7879
post {

0 commit comments

Comments
 (0)