Can we register flows individually instead registe...
# ask-community
d
Can we register flows individually instead registering all the flows at once
k
Most definitely. How are you registering your flows?
d
currently we are registering the flow with following commands which will register all the flows
Copy code
prefect register --project *****  --path "**/*" —-force
k
You can make your path an individual flow instead
d
you mean just the flow name should be ok
k
ah sorry. the individual filename
👍 1
gratitude thank you 1
d
@Kevin Kho when we are trying to execute the flows from Jenkins the job failing with the following error can you please assist
Copy code
File "/home/ec2-user/.local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='***************', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7feebf212710>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Build step 'Execute shell' marked build as failure                                                                           which: no prefect in (/usr/local/bin:/usr/bin:/opt/puppetlabs/bin)
Just checking version
/tmp/jenkins.sh: line 82: prefect: command not found
k
If your host like a Prefect Server?
d
we are trying to register flows from the docker instance
k
The
prefect command not found
maybe you can check this
d
prefect is installed and checked the version on the docker instance and jenkins
k
How do you check the version? And yes even if installed this can happen if the Path is not set right as seen in that doc
d
Having issue while registering flows through Jenkins and i see the following error
Copy code
Unauthorized. Invalid Prefect Cloud API key.
k
Maybe your key expired?