ı有一个yaml文件,我需要如果真的消息发送yaml文件将是succesful.else yaml文件将失败
ı希望,如果响应消息为真,则yaml文件成功,否则yaml文件将失败
variables: NUGET_PATH: 'C:\Tools\Nuget\nuget.exe' MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64\msbuild.exe' SOLUTION_PATH: 'Textbox_ComboBox.sln' stages: - build - job1 - job2 before_script: - "cd Source" build_job: stage: build except: - schedules script: - '& "$env:NUGET_PATH" restore' - '& "$env:MSBUILD_PATH" "$env:SOLUTION_PATH" /nologo /t:Rebuild /p:Configuration=Debug' job1: stage: job1 script: - 'curl adress1' - - if [ "$message" == "SAP transfer started. Please check in db" ]; then exit 0; else exit 1; fi job2: stage: trigger_SAP_service when: delayed start_in: 5 minutes only: - schedules