Hi am working on creating a descriptive pipeline which has 4 simple stages. Each stage steps is to invoke a powershell file with arguments.
pipeline{
agent none
stages{
stage("demo1"){
steps{
powershell returnStatus: true, script: ".\\file1.ps1 ${p1} ${p2} ${p3} ${p4} ${p5}"
}
}
stage("demo2"){
steps{
powershell returnStatus: true, script: ".\\file2.ps1 ${p1} ${p2} ${p3}"
}
}
stage("demo3"){
steps{
powershell returnStatus: true, script: ".\\file3.ps1 ${p1} ${p2} ${p3}"
}
}
stage("demo4"){
steps{
powershell returnStatus: true, script: ".\\file4.ps1 ${p1} ${p2} ${p3}"
}
}
}
}
The pipeline starts successfully and completes 1st stage and moves to second stage. Once the second stage steps is completed, it is not further moving to the third step. In console output i am seeing a refresh symbol and the job status says in progress. Until i abort the job the still loading.
Please help me in resolving the issue and what is the resolution for this.