Track activity during build/tests execution in CircleCI container


#1

Track activity during build/tests execution in CircleCI container.

I would like to track activity during build/tests execution in CircleCI container via file which is generated during the process and keeps track of build/tests activity.

For e.g.

  • CircleCI starts configurations according to yml instructions
  • Deploys container
  • Checks-out code
  • Starts the build/tests (X file is created which keeps track of build/tests process)
  • In progress… (how can i see X file content to track the progress here ?)
  • In progress… (how can i see X file content to track the progress here ?)
  • Execution completes
  • Store artifacts
  • Passed (i can see X file content at the end in Artifacts tab)

After checks-out code, i can get container IP address and also tried SSH but it doesn’t allow to ssh in it which seems obvious. For e.g.

CircleCi container public ip address

CONTAINER_IP_ADDRESS=$(wget -qO- http://checkip.amazonaws.com)
echo $CONTAINER_IP_ADDRESS

Is there any way to get the particular file contain during the execution or i need to wait till execution completes and stores artifacts? Can CircleCI add facility to see box content before storing artifact?


#2

This has been cross-posted to Stack Overflow.


#3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.